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

Re: [MiNT] Gcc 4.4.3 Linking problems (libmath)



Am Mittwoch, den 26.05.2010, 11:26 +0200 schrieb Vincent Rivière
<vincent.riviere@freesbee.fr>:
> Ole Loots wrote:
>> I passed /usr/lib/libm.a directly to the cc invoke ( cc foobar.o
>> /usr/lib/libm.a)
> 
> Please use -lm at the end of the command line instead, as MiKRO already 
> said. It is better because when you will compile for m68020-60 or 
> ColdFire it will automatically pickup the right .a file.

Yes, I was just testing... but why gives -lm other results than passing
/usr/lib/libm.a ...