[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc 2.95 and Standard C



Okay, I'm calmer now. Really. Promise. Ignore the knife I'm holding at my 
wrists -- it's a twelve-inch Gil Hibbert butterknife, I swear.

>From: Bruce Smith <bruce@armintl.com>
>
>It was the linker complaining, not the compiler.

Oh, duh. On closer inspection it, well, it isn't *obvious* that a linker is 
complaining, but there is a reference to an .o file in the error.

>It's the system library that contain the math functions.
>Separate from libc.

But how am I meant to find out which lib to link to for every piddlin' 
function my widdle heart desires?

(It helps to know where to find them, too -- not in /lib, as libc.so.6 et 
al., but in /usr/lib, as libm.a. I can guess what the 'a' stands for, but 
what is the difference between /lib and /usr/lib (or is there, aside from 
the difference between / and /usr anyway?))

>Armstrong International, Inc.
>Three Rivers, Michigan  49093  USA
>http://www.armstrong-intl.com/

Ah, yes. I know where that is. I drive air packages in 3R Saturdays. :)

And thank you. It worked fine the first time. <blush>
_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at 
http://profiles.msn.com.