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

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



Martin Tarenskeen <m.tarenskeen@zonnet.nl> writes:

|> 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'

You didn't link in the math library.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."