Re: EC Static Compiles...
- Posted by Doug Miller <orkim at kc.rr.com> Oct 15, 2002
- 379 views
On Monday 14 October 2002 5:28 pm, jbrown105 at speedymail.org wrote: > > 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 So far I have tried using the -static flag. However, it seems that becau= se of=20 the lib that EC compiles use, it will not compile statically. I have als= o=20 tried to compile a static version of euphoria off the source code. This = has=20 by far gotten me the best results so far. I am currently trying to get=20 ncurses set up in a chroot in order to test this out. I have a feeling t= hat=20 this approach will work. I'll let you know any further findings. Doug Miller -orkim