On Mar 8, 2016, at 1:50 PM, Marc Feeley feeley@iro.umontreal.ca wrote:
So after that, you can build your app with the following commands:
gsc -link -l core/ab.c myapp.scm gcc -o myapp ab.a `gsc -e '(print (path-expand "~~lib/libgambit.a"))'` myapp_.c myapp.c
You probably shouldn't use a bare "gcc" command because it won't have the options Gambit-generated code needs for correctness. Isn't there a gsc command that does the same thing?
Brad