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

[MiNT] math.h with(out) -m68020-60



Hi,

Why can't I compile code that has an "#include <math.h>", unless I enable
the -m68020-60 option ? Without that compiler option I keep getting
messages like:

	undefined reference to `sqrt'

(or `pow', `sin', etcetera.)
When I compile with -m68020-60 there are no problems.

I'm using gcc and the latest libs from Sparemint.

-- 

Martin Tarenskeen