[gambit-list] gsc gets a linker error with -exe
Dan Wilckens
dwilckens at gmx.com
Wed Sep 25 20:58:31 EDT 2013
Hi,
I have a scheme program I'm trying to compile with Gambit-C in
MinGW/MSYS under Windows. If I do
gsc -exe "filename"
the c file is output and gcc compiles fine-until it gets an error in the
linker stage:( after successfully compiling DansScheme1.o and
DansScheme1_.o and attempting to link them)
C:\...lib/libgambc.a(os_base.o):os_base.c:(.text+0x737):undefined
reference to 'gai_strerrorA'
If I just compile with gsc -c "filename" it puts out a .c file no
problem. What should I be looking for? If you need more details let me
know. This is version 4.7.0 using Windows Vista with the prebuilt
binaries. Any help would be much appreciated.Thanks,
Dan
More information about the Gambit-list
mailing list