[gambit-list] Compiling Gambit programs under Windows...
Alex Sandro Queiroz e Silva
asandroq at gmail.com
Fri Mar 28 07:52:53 EDT 2008
Hallo,
Philippos Apolinarius wrote:
>
> This gives me test.c test_.c. The manual says that I should compile
> these files, but do not tell how to do it for Windows (there are
> examples for Mac OS-X, and Linux). I tried:
>
> gcc -lgambc -lm test.c test_.c
>
> I get a large number of errors, and that is all.
>
You compilations errors are probably due to a missing gambit.h,
and the linker errors due to a missing libgambc.a. You should add the
directory where those files are to the search path of the compiler:
gcc -Ic:\Gambit-C\v4.2.5\include test.c test_.c -Lc:\Gambit-C\v4.2.5\lib
-lgambc
-alex
More information about the Gambit-list
mailing list