[gambit-list] Problem: gambit on my Mac
Siegfried Gonzi
siegfried.gonzi at gmx.at
Sun Dec 16 13:38:47 EST 2007
Hello: What does the following mean:
s.scm
==
(define a 23)
==
bash-3.2$ gsc -link s.scm
bash-3.2$ uname -srmp
Darwin 9.0.0 i386 i386
bash-3.2$ gcc s.c -lgambc
Undefined symbols:
"_main", referenced from:
start in crt1.10.5.o
"____G_a", referenced from:
____G_a$non_lazy_ptr in ccfcyxlK.o
"____G__20_s", referenced from:
____G__20_s$non_lazy_ptr in ccfcyxlK.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
My system: Mac OSX Leopard (10.5). My .bashr has all the paths and I also set symbolic links for libgamc.a and gambit.h.
I cannot install Bigloo right now on Leopard and for this time I would like to give Gambit-C a try. All I want to do producing an a.out (e.g. Bigloo):
==
bigloo s.scm
a.out
==
Thanks, Siegfried Gonzi
PS: I compiled gambc-v4_1_1 from sources.
--
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
More information about the Gambit-list
mailing list