chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] chicken-static is not really static


From: felix winkelmann
Subject: Re: [Chicken-users] chicken-static is not really static
Date: Wed, 12 Jan 2005 07:55:22 +0100

On Tue, 11 Jan 2005 16:53:01 +0300, Andrey Fomichev <address@hidden> wrote:
> Hello!
> 
> I noticed that chicken-static in my system (RedHat Linux) is not really
> static.
> It differs from chicken in a way that it does not depend on chicken shared
> libraries (like libchicken.so.0), but it still depends on system libraries.
> So, I'm having problems running chicken-static on Debian Linux.

Yes, the -static versions of chicken and csi that are built during
installation are static in the sense that they don't depend on the
chicken runtime libraries. 

> Is there any way to make chicken-static standalone executable?
> 

I take it you are trying to build a completely static version of the
compiler to move it do a different linux system, yes?

Here is what works on my SuSe system. Since you have an older
Chicken version, some object files are probably not needed. Execute
the following in your chicken build directory:

$ gcc -static -o my-chicken-static chicken.o support.o batch-driver.o
partition.o c-backend.o c-platform.o compiler.o optimizer.o easyffi.o
.libs/libchicken.a .libs/libstuffed-chicken.a .libs/libsrfi-chicken.a
-lm -lpcre


cheers,
felix




reply via email to

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