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

Re: [MiNT] SpareMiNT MiNTLib / MiNTBin Conflicts and Outdated PML / Fdlibm



Miro Kropacek wrote:
I can imagine something what is uClibc's libm lacking -- speed :)
After brief look into sources, it's clear it's general purpose libm
for CPUs without FPU

Hehe, look at /usr/lib/gcc/m68k-atari-mint/4.5.0/include/math-68881.h.
This GCC file gets inluded when you #include <math.h>.
If a FPU is present on the target, it doesn't even call libm.a, it inlines calls to the FPU :-)

This reminds you your assumptions about libm.a being unnecessary: if you always compile with -m68020-60, you are probably right: not because of gmp and so on, but because of that include :-)

--
Vincent Rivière