In Chicken Scheme, can I pass on certain values that will be given to gcc? I would like to pass on the following options to the gcc but I don't know how:
-lX11 -lpthread -lXinerama -lXext -lGL -g -lm -ldl
Thanks to litro I found the the answer. The following worked for me:
csc main.scm lib.o -L "-lX11" -L "-lpthread" -L "-lXinerama" -L "-lXext" -L "-lGL" -L "-g" -L "-lm" -L "-ldl"
or
csc main.scm lib.o -L "-lX11 -lpthread -lXinerama -lXext -lGL -g -lm -ldl"