On Thu, 19 Jun 2008 15:42:59 +0300, David St-Hilaire sthilaid@iro.umontreal.ca wrote:
Cristian Baboi wrote: To compile in linux and run the program I usually do: dave@david /tmp $ gsc -c -o test.c test.scm dave@david /tmp $ gsc -c -o alt.c alt.scm dave@david /tmp $ gsc -link -o alt_.c test.c alt.c dave@david /tmp $ gcc -I/opt/gambit-c/current/include -o alt.exe test.c alt.c alt_.c -L/opt/gambit-c/current/lib -lgambc -lutil -lm -ldl dave@david /tmp $ ./alt.exe begin Hello World! 13from C 7end
This way I've got 7.6 KB on linux (+ gambit library ) and 2.39 MB on Windows XP (one file wich includes the gambit library)
On Windows, with or without DLL, with or without -D___SINGLE_HOST, I still get: Hello World! from C begin 137end
________ Information from NOD32 ________ This message was checked by NOD32 Antivirus System for Linux Mail Servers. part000.txt - is OK http://www.eset.com