mit-scheme-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[MIT-Scheme-devel] trying to build for AMD64


From: Mark Nahabedian
Subject: [MIT-Scheme-devel] trying to build for AMD64
Date: Fri, 10 Feb 2006 09:30:32 -0500

I'm trying to build MIT Scheme for use on an AMD64 system running Fedora
Core Linux.

So far I've found I've needed to make the following changes:

    Add -m32 to CFLAGS in scheme-7.7.1/src/microcode/Makefile

    In scheme-7.7.1/src/microcode/config.h, change 8 to 4 in
    #define SIZEOF_UNSIGNED_LONG 4

    cp cmpintmd/i386.h cmpintmd.h
    because cmpintmd.h didn't exist.

    Add to uxtrap.c
    #include "cmpintmd.h"

I have no idea whether these changes are appropriate but each one did
get me further into the build process.

I'm still having trouble though.  My current point of lossage is

gcc -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme\" -
DHAVE_CONFIG_H -I. -I. -I.  -m32 -g -O2 -Wall -I/usr/X11R6/include -c
uxterm.c
gcc -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme\" -
DHAVE_CONFIG_H -I. -I. -I.  -m32 -g -O2 -Wall -I/usr/X11R6/include -c
uxtop.c
gcc -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme\" -
DHAVE_CONFIG_H -I. -I. -I.  -m32 -g -O2 -Wall -I/usr/X11R6/include -c
uxtrap.c
gcc -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme\" -
DHAVE_CONFIG_H -I. -I. -I.  -m32 -g -O2 -Wall -I/usr/X11R6/include -c
uxtty.c
gcc -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme\" -
DHAVE_CONFIG_H -I. -I. -I.  -m32 -g -O2 -Wall -I/usr/X11R6/include -c
uxutil.c
gcc -DMIT_SCHEME -DDEFAULT_LIBRARY_PATH=\"/usr/local/lib/mit-scheme\" -
DHAVE_CONFIG_H -I. -I. -I.  -m32 -g -O2 -Wall -I/usr/X11R6/include -c
pruxdld.c
pruxdld.c:113:2: unterminated argument list invoking macro
"DEFINE_PRIMITIVE"
pruxdld.c:76: error: syntax error at end of input
pruxdld.c:51: warning: 'dld_lookup' defined but not used
make: *** [pruxdld.o] Error 1
exit status: 2


What should I try now?






reply via email to

[Prev in Thread] Current Thread [Next in Thread]