[gambit-list] failure building r6gambit
Marc Feeley
feeley at iro.umontreal.ca
Mon Nov 29 14:17:55 EST 2010
It will also help to do
% export GAMBC_CC_VERBOSE=1
at the shell so that subsequent invocations of gsc will report which programs are being executed by gsc (actually those executed by the gambc-cc.bat script executed by gsc):
% gsc -exe foo.scm
gcc -no-cpp-precomp -Wno-unused -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fno-move-loop-invariants -fPIC -fno-common -mieee-fp -D___SINGLE_HOST -I"/usr/local/Gambit-C/include" -c -o "foo.o" foo.c
gcc -no-cpp-precomp -Wno-unused -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fno-move-loop-invariants -fPIC -fno-common -mieee-fp -D___SINGLE_HOST -I"/usr/local/Gambit-C/include" -c -o "foo_.o" foo_.c
gcc -no-cpp-precomp -Wno-unused -O1 -fno-math-errno -fschedule-insns2 -fno-trapping-math -fno-strict-aliasing -fwrapv -fomit-frame-pointer -fno-move-loop-invariants -fPIC -fno-common -mieee-fp -D___SINGLE_HOST -I"/usr/local/Gambit-C/include" -o "foo" foo.o foo_.o "/usr/local/Gambit-C/lib/libgambc.a"
Marc
On 2010-11-29, at 1:52 PM, Bradley Lucier wrote:
> On Mon, 2010-11-29 at 10:07 -0500, Jeremie Lasalle Ratelle wrote:
>> http://ubuntuforums.org/showthread.php?t=540541
>
> and now I'm getting
>
> heine:~/Downloads/r6gambit> gsc-script -i compile
> generating r6rs.
> creating stage
> compiling /home/lucier/Downloads/r6gambit/srfi-1-min.scm
> compiling /home/lucier/Downloads/r6gambit/srfi-99.scm
> compiling /home/lucier/Downloads/r6gambit/error.scm
> compiling /home/lucier/Downloads/r6gambit/srfi-69.scm
> compiling /home/lucier/Downloads/r6gambit/uri.scm
> compiling /home/lucier/Downloads/r6gambit/catalog.scm
> compiling /home/lucier/Downloads/r6gambit/compat-gambit.scm
> compiling /home/lucier/Downloads/r6gambit/runtime.scm
> compiling /home/lucier/Downloads/r6gambit/srfi-66.scm
> loading stage...
> create play
> compiling /tmp/r6rs-expand-1291054286/core.exp
> compiling /tmp/r6rs-expand-1291054286/expander.exp
> compiling /home/lucier/Downloads/r6gambit/primitives.scm
> linking (/tmp/r6rs-expand-1291054286/srfi-1-min /tmp/r6rs-expand-1291054286/srfi-99 /tmp/r6rs-expand-1291054286/error /tmp/r6rs-expand-1291054286/srfi-69 /tmp/r6rs-expand-1291054286/uri /tmp/r6rs-expand-1291054286/catalog /tmp/r6rs-expand-1291054286/compat-gambit /tmp/r6rs-expand-1291054286/runtime /tmp/r6rs-expand-1291054286/srfi-66 /tmp/r6rs-expand-1291054286/core /tmp/r6rs-expand-1291054286/expander /tmp/r6rs-expand-1291054286/primitives)
> generating-library ...
> collect2: cannot find 'ld'
> done
> heine:~/Downloads/r6gambit> gsc-script -i compile
> generating r6rs.
> creating stage
> compiling /home/lucier/Downloads/r6gambit/srfi-1-min.scm
> compiling /home/lucier/Downloads/r6gambit/srfi-99.scm
> compiling /home/lucier/Downloads/r6gambit/error.scm
> compiling /home/lucier/Downloads/r6gambit/srfi-69.scm
> compiling /home/lucier/Downloads/r6gambit/uri.scm
> compiling /home/lucier/Downloads/r6gambit/catalog.scm
> compiling /home/lucier/Downloads/r6gambit/compat-gambit.scm
> compiling /home/lucier/Downloads/r6gambit/runtime.scm
> compiling /home/lucier/Downloads/r6gambit/srfi-66.scm
> loading stage...
> create play
> compiling /tmp/r6rs-expand-1291054742/core.exp
> compiling /tmp/r6rs-expand-1291054742/expander.exp
> compiling /home/lucier/Downloads/r6gambit/primitives.scm
> linking (/tmp/r6rs-expand-1291054742/srfi-1-min /tmp/r6rs-expand-1291054742/srfi-99 /tmp/r6rs-expand-1291054742/error /tmp/r6rs-expand-1291054742/srfi-69 /tmp/r6rs-expand-1291054742/uri /tmp/r6rs-expand-1291054742/catalog /tmp/r6rs-expand-1291054742/compat-gambit /tmp/r6rs-expand-1291054742/runtime /tmp/r6rs-expand-1291054742/srfi-66 /tmp/r6rs-expand-1291054742/core /tmp/r6rs-expand-1291054742/expander /tmp/r6rs-expand-1291054742/primitives)
> generating-library ...
> collect2: cannot find 'ld'
> done
> heine:~/Downloads/r6gambit> which ld
> /usr/bin/ld
>
> I'm on Ubuntu 10.04; reinstalling binutils doesn't help.
>
> It would be helpful if the compile process at least echoed the commands
> it was trying to execute, so we could see what's going on ... (which is
> why I like make).
>
> Brad
>
> Brad
>
> _______________________________________________
> Gambit-list mailing list
> Gambit-list at iro.umontreal.ca
> https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list
More information about the Gambit-list
mailing list