unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* Guile 1.5.6 build failure on OpenBSD 3.0
@ 2002-04-10 15:11 Dale P. Smith
  2002-04-22 17:34 ` Thien-Thi Nguyen
  0 siblings, 1 reply; 2+ messages in thread
From: Dale P. Smith @ 2002-04-10 15:11 UTC (permalink / raw)


Guile fails to build on OpenBSD 3.0.

It appears that the preprocessor #define i386 isn't defined, while
__i386__ is.  Using __i386__ seems to fix things.  Here is a diff:


--- gc_os_dep.c.old     Wed Apr 10 11:09:36 2002
+++ gc_os_dep.c Wed Apr 10 11:10:07 2002
@@ -254,7 +254,7 @@
 #   define NEXT
 #   define mach_type_known
 # endif
-# if defined(__OpenBSD__) && defined(i386)
+# if defined(__OpenBSD__) && defined(__i386__)
 #   define I386
 #   define OPENBSD
 #   define mach_type_known


-Dale

-- 
Dale P. Smith
Treasurer, Cleveland Linux Users Group http://cleveland.lug.net
Senior Systems Consultant, Altus Technologies Corporation
dsmith@altustech.com
440-746-9000 x339

_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Guile 1.5.6 build failure on OpenBSD 3.0
  2002-04-10 15:11 Guile 1.5.6 build failure on OpenBSD 3.0 Dale P. Smith
@ 2002-04-22 17:34 ` Thien-Thi Nguyen
  0 siblings, 0 replies; 2+ messages in thread
From: Thien-Thi Nguyen @ 2002-04-22 17:34 UTC (permalink / raw)
  Cc: bug-guile

   From: "Dale P. Smith" <dsmith@altustech.com>
   Date: Wed, 10 Apr 2002 11:11:39 -0400

   It appears that the preprocessor #define i386 isn't defined, while
   __i386__ is.  Using __i386__ seems to fix things.  Here is a diff:

thanks for the patch.  before being applied, a few questions:

is this due to a change in openbsd?  (did this work before?)  i'm
concerned that this replacement will break other openbsd versions.
also, which compiler?

thi

_______________________________________________
Bug-guile mailing list
Bug-guile@gnu.org
http://mail.gnu.org/mailman/listinfo/bug-guile


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-04-22 17:34 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-10 15:11 Guile 1.5.6 build failure on OpenBSD 3.0 Dale P. Smith
2002-04-22 17:34 ` Thien-Thi Nguyen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).