Re: Help with egg definitions

2021-12-20 Thread Evan Hanson
Hi Robert, On 2021-12-19 15:10, foggy wrote: > I have my program split up using `(declare (unit ...))` and `(declare (uses > ...))` (no includes), and compile the program by passing all the source > files to csc. Is this the wrong way to go about splitting things up? Based on the above, I

Re: Help with egg definitions

2021-12-20 Thread foggy
Hello Vasilij, Got it, thank you very much for the clarification and suggestion! Robert Coffey On Mon, Dec 20, 2021 at 2:48 PM Vasilij Schneidermann wrote: > Hello Robert, > > > I'm trying to figure out how to create the egg definition for a program > > with multiple compilation units. Could

Re: Help with egg definitions

2021-12-20 Thread Vasilij Schneidermann
Hello Robert, > I'm trying to figure out how to create the egg definition for a program > with multiple compilation units. Could someone link me to an example of > such a definition, or somehow help me with this? From what I can tell, eggs merely allow you to split a project into several

Re: Help with egg definitions

2021-12-19 Thread foggy
Hello Mario, Thanks for the tip but this doesn't seem to work for the way I have things set up. When I add only the list of source dependencies to the egg file, I get errors stating "undefined reference to C_UNIT-NAME_toplevel", and when I add includes of the other source files to the main file,

Re: Help with egg definitions

2021-12-19 Thread Mario Domenech Goulart
Hi Robert, On Sun, 19 Dec 2021 01:37:30 -0330 foggy wrote: > I'm trying to figure out how to create the egg definition for a > program with multiple compilation units. Could someone link me to an > example of such a definition, or somehow help me with this? > > I'm currently just using `csc -o

Help with egg definitions

2021-12-18 Thread foggy
Hello, I'm trying to figure out how to create the egg definition for a program with multiple compilation units. Could someone link me to an example of such a definition, or somehow help me with this? I'm currently just using `csc -o PROGRAM src/*.scm` in a makefile, and would like to replace