Will, something seems to be wrong with the timestamps on the files in the distribution. I'll check it out. In the meantime it may help to do:
% touch lib/_kernel.c lib/_gambc.c gsi/_gsi_.c gsc/_gsc_.c % make
The touch may be required of other files too. Once the compiler (gsc/ gsc) is built, you can change the .scm files in the runtime library and they will be recompiled by the Scheme compiler.
Marc
On 20-Apr-06, at 4:14 PM, William D Clinger wrote:
I'm having trouble getting Gambit-C 4.0b17 to build under Solaris on various SunBlade systems. A typical attempt is summarized below.
Will
[gambc40b17]% pwd /proj/will/Apps/Gambit/gambc40b17
[gambc40b17]% which make /arch/gnu/bin/make
[gambc40b17]% ./configure --prefix=/proj/will/Apps/Gambit/
[gambc40b17]% make making all in include make[1]: Entering directory `/proj/will/Apps/Gambit/gambc40b17/ include' make[1]: Leaving directory `/proj/will/Apps/Gambit/gambc40b17/include' making all in lib make[1]: Entering directory `/proj/will/Apps/Gambit/gambc40b17/lib' gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c main.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c setup.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c mem.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c c_intf.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c os.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c os_base.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c os_time.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c os_shell.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c os_files.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c os_dyn.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c os_tty.c gcc -I../include -I. -Wall -W -Wno-unused -O1 -fno-math-errno - fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fomit- frame-pointer -fPIC -fno-common -DHAVE_CONFIG_H -D___PRIMAL - D___LIBRARY -D___GAMBCDIR="/proj/will/Apps/Gambit/" -c os_io.c ../gsc/gsc -:=".." -f -c -check _kernel.scm /bin/sh: ../gsc/gsc: not found make[1]: *** [_kernel.c] Error 1 make[1]: Leaving directory `/proj/will/Apps/Gambit/gambc40b17/lib' make: *** [all-recursive] Error 1
Afficher les réponses par date