chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] chicken-config -emb-libs


From: Felix Winkelmann
Subject: Re: [Chicken-users] chicken-config -emb-libs
Date: Tue, 08 Jul 2003 08:51:39 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.0) Gecko/20020530

Bruce Hoult wrote:
On Mon, 2003-07-07 at 18:51, Felix Winkelmann wrote:

Bruce Hoult wrote:

A makefile I've inherited puts the following on the linker command line:

`chicken-config -emb-libs -extra-libs`

chicken-config complains about an unknown flag.

Is -emb-libs an old name for -embedded, or something else entirely?
(possibly not needed any more?)


Do I need to put `chicken-config -embedded` into CFLAGS (it's not,
there's only -cflags)??  I see it produces -DC_EMBEDDED


Right. If a file is compiled with `-embedded' (or -shared),
then no `main()' is generated.


Right.  And what about linking?  What did -emb-libs do, and is it no
longer required, or has it been replaced by something else?


-emb-libs linked with a special version of the runtime-system that
did not contain any `main()' procedure. Now the main() is generated
in the compiled file itself (if needed). So we have one library
less to build.


cheers,
felix





reply via email to

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