On Thu, Jun 12, 2003 at 12:17:24PM +0200, Patrick N�f wrote:
> Of course, I have made a typo - my example line should have read like 

Ok

> expected. On an aside note: I had to really ***use*** a function from 
> the library that I wanted to statically link against, or gcc would be 
> smart enough to detect my fraud and not do the link at all. The dynamic 

Even worse: you have to use it in a meaningful place (i.e. in a place
that is not optimized out by the compiler), e.g. I've tried using a
function from the libm library [1] in a place where the return value
isn't used and it was removed by the compiler.

Cheers.

[1] on a Linux box because under Mac OS X libm seems to be linked along
    with the system library

-- 
Stefano Zacchiroli  --  Master in Computer Science @ Uni. Bologna, Italy
[EMAIL PROTECTED],debian.org,bononia.it}  -  http://www.bononia.it/zack/
"  I know you believe you understood what you think I said, but I am not
sure you realize that what you heard is not what I meant!  " -- G.Romney


-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to