[Top][All Lists]

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

Re: [Chicken-users] Compiling Chicken-compiled-to-C file.c does not link

From: John Cowan
Subject: Re: [Chicken-users] Compiling Chicken-compiled-to-C file.c does not link
Date: Thu, 12 Jun 2014 11:54:00 -0400
User-agent: Mutt/1.5.20 (2009-06-14)

Christian Kellermann scripsit:

> Maybe
> helps here.

This still refers to autotools, so I suspect it's a bit old.  Someone should
check that the list of .c files needed to statically link Chicken programs
is up to date.

> Of course you would need all dependencies statically built,
> i.e. the required units and extensions.

It's enough, at least the last time I tried this, just to link in their
.c files such as srfi-69.c; you don't need to do a separate static build
into a link archive.

John Cowan        address@hidden
"Your honour puts yourself to much trouble correcting my English and
doubtless the final letter will be much better literature; but it will
go from me Mukherji to him Bannerji, and he Bannerji will understand it a
great deal better as I Mukherji write it than as your honour corrects it."
        --19th-century Indian civil servant to his British superior

reply via email to

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