unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
* fix for version 1.6.4 gc_os_dep-orig.c
@ 2003-10-17  6:35 Robert D. Skeels
  2003-11-13  0:16 ` Marius Vollmer
  0 siblings, 1 reply; 2+ messages in thread
From: Robert D. Skeels @ 2003-10-17  6:35 UTC (permalink / raw)


--- /Users/Shared/src/guile-1.6.4/libguile/gc_os_dep-orig.c    Thu Oct 16
23:24:42 2003
+++ /Users/Shared/src/guile-1.6.4/libguile/gc_os_dep.c    Thu Oct 16
22:31:31 2003
@@ -376,7 +376,7 @@
 /* Note that SGI IRIX is treated identically to RISCOS.            */
 /* SYSV on an M68K actually means A/UX.                    */
 /* The distinction in these cases is usually the stack starting address */
-# ifndef mach_type_known
+# ifdef mach_type_known
     --> unknown machine type
 # endif
             /* Mapping is: M68K       ==> Motorola 680X0    */



Caught showstopper during make on MacOSX 10.2.8, the following patch to
./libguile/gc_os_dep.c fixes it, but the above is the diff -u your project
requests.

379c379
< # ifndef mach_type_known
---
> # ifdef mach_type_known

BTW, OSX only builds static './configure --disable-shared' and make check
fails, although guile installs and runs.


((lambda (args) (display args)) "
    Robert D. Skeels
     athene@earthlink.net")



_______________________________________________
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: fix for version 1.6.4 gc_os_dep-orig.c
  2003-10-17  6:35 fix for version 1.6.4 gc_os_dep-orig.c Robert D. Skeels
@ 2003-11-13  0:16 ` Marius Vollmer
  0 siblings, 0 replies; 2+ messages in thread
From: Marius Vollmer @ 2003-11-13  0:16 UTC (permalink / raw)
  Cc: bug-guile

"Robert D. Skeels" <athene@earthlink.net> writes:

> -# ifndef mach_type_known
> +# ifdef mach_type_known
>      --> unknown machine type
>  # endif

That's not a fix, that's a bug! ;)

When your machine type is unknown, we need to add it to gc_os_dep.c.

An alternative would be to make scm_init_guile fail when the machine
type is unknown.  I'll do this.

-- 
GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3  331E FAF8 226A D5D4 E405


_______________________________________________
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:[~2003-11-13  0:16 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-17  6:35 fix for version 1.6.4 gc_os_dep-orig.c Robert D. Skeels
2003-11-13  0:16 ` Marius Vollmer

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).