On Fri, 1 Jan 1999, Philip Blundell wrote:

> >   Compiled with: arm-linux-gcc -o fp fp.cpp -static
> 
> Why are you using static binaries?  This is never a good idea except in very 
> special cases.

No kidding!  
My special case is that I have only about 500 kb for all application
binaries in my system.  So it turns to be a single statically linked 
binary since dynamic libraries, even stripped, are much too big.

> Anyway, it seems that there is some bug that stops your program working with 
> -static.  I tried it on both the Acorn emulator under 2.0 and NWFPE under 2.1 
> and the results were the same.  Without -static it worked as expected with 
> both versions.  I'd be surprised if the emulator was at fault; the bug is 
> probably in the C runtime somewhere.

Already got wrong fp results too, but didn't care since I had more
important bugs to cure...  May -static screw up threads too?  



Nicolas Pitre, B. ing.
[EMAIL PROTECTED]


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to