Re: Can compiled linux "exe" be run on libc5 distro

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

Thanks

I'll let you know how I go.

-- 
David Jarvis


On 24 Jun 2003 at 14:26, jbrown105 at speedymail.org wrote:

> 
> 
> You would have to link it staticly.
> 
> Edit the emake script that was created, and change the final gcc line:
> 
> gcc file1.o file2.o file3.o /home/euphoria/bin/ecu.a -lm /usr/lib/libncurses.a
> -ldl -lgpm -oprogram
> 
> to this:
> 
> gcc -static file1.o file2.o file3.o /home/euphoria/bin/ecu.a -lm
> /usr/lib/libncurses.a -ldl -lgpm -oprogram
> 
> That will make the executable significantly larger, but allow it to run on
> libc5 linux.
> 
> jbrown
> 
> On Tue, Jun 24, 2003 at 11:36:51AM +1000, davidj at ultrasmart.org wrote:
> > 
> > 
> > Dear members
> > 
> > I would like to run a linux Eu on a distro that uses libc5.
> > 
> > I am aware that running the interpreter in Linux requires a libc6 distro,
> > but if I compile
> > on a libc6 ditro (using ecu.zip, the compiling with GNC C), will this
> > compiled Eu file
> > work on the libc5 distro? Anyone had any experience?
> > 
> > Any suggestions to max chances of getting it right (if it can be done)?
> > 
> > Thanks
> > 
> > -- 
> > David Jarvis
> > 
> > 
> > TOPICA - Start your own email discussion group. FREE!
> > 
> > 
> -- 
>  /"\  ASCII ribbon              | http://www.geocities.com/jbrown1050/
>  \ /  campain against           | Linux User:190064
>   X   HTML in e-mail and        | Linux Machine:84163
>  /*\  news, and unneeded MIME   | http://verify.stanford.edu/evote.html

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

Search



Quick Links

User menu

Not signed in.

Misc Menu