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

Re: [MiNT] [PATCH] Removing 020/v4e suffixes + math-68881.h



Alan Hourihane wrote:
This has broken the GCC build.

Oh. I forgot that issue.
There are actually 2 things.

1) math-68881.h
This file is provided by GCC in <math-68881.h> and was also provided by the MiNTLib in <bits/math-68881.h>. All the references to the latter should be changed to the former, since that file has been removed from the MiNTLib. Note that GCC's math-68881.h actually lives in $prefix/lib/gcc/m68k-atari-mint/4.5.2/include
Right fix: remove "bits/" in math.h

2) math.h
I have fixed math.h 2 times in my PML package (for those inline defines). First to use the correct math-68881.h, second to not use it at all (to prefer -ffast-math when requested). Since the MiNTLib provides a math.h for its internal compilation, that one should be updated accordingly. If that one could be completely removed, that would be even better.

--
Vincent Rivière