chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] (load ...)


From: Alejandro Forero Cuervo
Subject: Re: [Chicken-hackers] (load ...)
Date: Thu, 7 Jun 2007 16:54:34 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

> So, in the case of compiling two files, one having (declare (uses x))
> and the other (declare (unit x)) and compiling with two separate
> commands (as in the manual), how does Chicken share the knoweldge about
> what functions to call in unit x?
> 
> like:
> 
> csc -c foo.scm
> csc -c bar.scm
> csc bar.o scm.o -o a.out 
> 
> How does the user of x know the name of the function in unix to invoke to
> the linker gets it right?

I must admit I fail to understand your question.

I also fail to see any relation between this and your previous
question.  In this example you are not using load at all, AFAICT.  In
this case both files get compiled and linked in a.out.

Thanks.

Alejo.
http://azul.freaks-unidos.net/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]