* Stephen Eilert <[email protected]> [121115 04:19]: > Hello again, > > I have tried compiling a scheme program, using both csc -e and csc > -embedded in order to tell it not to generate a main() function, but it > does it anyway. I was trying to generated a mainless .c file to embed > inside another app. > > -DC_EMBEDDED does the trick, though. Was the option removed from csc?
As I understand it, csc will invoke the linker with your scheme code *and* your c files. So you would have to provide the main() function there: csc -embedded t.scm main.c --> t executable. To help you further there I would need to know more about your problem. HTH, Christian -- In the world, there is nothing more submissive and weak than water. Yet for attacking that which is hard and strong, nothing can surpass it. --- Lao Tzu _______________________________________________ Chicken-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/chicken-users
