Re: [Chicken-users] Compiling a file into both .dll and .o

2007-02-02 Thread Ian Oversby
Hi guys, Thanks for the info. (define-extension ...) does exactly what I'm looking for. Cheers, Ian From: "felix winkelmann" <[EMAIL PROTECTED]> To: "Ian Oversby" <[EMAIL PROTECTED]> CC: chicken-users@nongnu.org Subject: Re: [Chicken-users] Compiling a

Re: [Chicken-users] Compiling a file into both .dll and .o

2007-02-01 Thread felix winkelmann
On 2/1/07, Ian Oversby <[EMAIL PROTECTED]> wrote: Hi, I have two scheme files that I wish to compile into a single executable. One of the files has embedded C code and is the library. The other file uses functions defined in the library. I've added the following declaration to the top of the l

Re: [Chicken-users] Compiling a file into both .dll and .o

2007-02-01 Thread John Cowan
Ian Oversby scripsit: > In addition, I would like to be able to load the library into csi and > test it interactively. > Unfortunately, with the unit declaration at the top, it doesn't seem to > compile > correctly with the -dynamic -dll flags. Is there some way I can get the > same file to >

[Chicken-users] Compiling a file into both .dll and .o

2007-02-01 Thread Ian Oversby
Hi, I have two scheme files that I wish to compile into a single executable. One of the files has embedded C code and is the library. The other file uses functions defined in the library. I've added the following declaration to the top of the library: (declare (unit win32_lib)) And this o