Re: EC Static Compiles...

new topic     » goto parent     » topic index » view thread      » older message » newer message

On  0, Doug Miller <orkim at kc.rr.com> wrote:
> 
> EU Community,
> 
> Is there any way to make static builds using ECU?  Currently, I have yet to 
> come up with a solution.  I'm writing a utility which I will most likely use 
> as a personal backup tool.  However, this will be ran when /usr is not 
> mounted and thus the GPM and NCurses libs are not available.  I *could* 
> surpass this using a staticly linked program using ECU.  However, everything 
> I've tried so far has failed.  Any suggestions, or should I look for another 
> language. :(
> 
> Doug Miller
> -orkim
> 

What have you tried so far? In theory, adding the "-static" flag to gcc
in the emake script SHOULD do the trick, however under Linux a
staticly-linked
program can not dlopen() itself. Maybe Rob links to the libraries via
dlopen()?
If that were the case then you won't be able to staticly link it.

jbrown


--

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu