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

Re: [MiNT] Gcc 4.4.3 Linking problems, libmath testcase attached...



Miro Kropacek <miro.kropacek@gmail.com> writes:

> Btw, this is not entirely true for C++ code, at least in your newer
> builds -- for example cmath header defines ceilf as alias to built-in
> ceilf function so no -lm is needed for m0n0's example code.

Just because a function is built-in does not mean that it is implemented
by the compiler.  This is especially target-dependent.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."