Re: exu not working

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

IIRC, just use the -static flag.

For example:

gcc -static -o counter counter.c

Someone correct me if I'm wrong here.

jbrown

On Sun, Feb 09, 2003 at 01:17:19AM -0000, tubby.toast at ntlworld.com wrote:
> 
> > Hmm ... interesting.
> >
> > I assume your C counter program is a dynamicly linked ELF binary.
> 
> Yes, it is.
> 
> > Do you have any other staticly linked binaries to test out? If not
> > perhaps you could recompile your counter program as a static binary,
> > and see what happens. (I'm guessing this might be an error that only
> applies
> > to staticly linked programs.)
> 
> Can you tell me how to do that?  (Like I say, *very* limited C knowledge)
> 
> chris.
> 
> 
> 
> TOPICA - Start your own email discussion group. FREE!

-- 
 /"\  ASCII ribbon              | 
 \ /  campain against           | Linux User:190064
  X   HTML in e-mail and        | Linux Machine:84163
 /*\  news, and unneeded MIME   |

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

Search



Quick Links

User menu

Not signed in.

Misc Menu