chicken-users
[Top][All Lists]
Advanced

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

[Chicken-users] Compile -o option in .setup files


From: Ivan Raikov
Subject: [Chicken-users] Compile -o option in .setup files
Date: Wed, 31 Oct 2007 11:20:46 +0900
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Hi all,

   In some of the eggs I have created, I use a compile command along
the lines of this:


(compile -O -d2 -X easyffi -s -o random-mtzig.so
         random-mtzig.scm randmtzig.c -lchicken -ldl -lm)

The reason of the -o option is that when there are multiple files, the
compiler would sometimes generate the wrong name for the .so
library. But now it turns out that Cygwin users are having trouble
with such compilation commands, because the correct suffix on that
platform is .dll. So is there a way to tell the Chicken compiler the
correct name of the library, without specifying the suffix?

     -Ivan







reply via email to

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