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

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



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.

--
Vincent Rivière