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

Re: [MiNT] mintlib release



Frank Naumann wrote:
It would be *much* better to fix the includes and don't use the include-fixed mechanism of the gcc.

I'm not sure to have understood everything, but it seems that since GCC 4.3.0 the file limits.h is put unconditionally in the include-fixed directory:
http://gcc.gnu.org/ml/gcc-patches/2007-02/msg02038.html

Here is the contents of that directory in my cross environment:
$ ls -l /usr/local/cross-mint/lib/gcc/m68k-atari-mint/4.3.0/include-fixed
total 9
-rw-r--r-- 1 vincent cygwin  750 Mar 24 09:00 README
-rw-r--r-- 1 vincent cygwin 2745 Mar 24 09:00 limits.h
-rw-r--r-- 1 vincent cygwin  330 Mar 24 09:00 syslimits.h

The file limits.h seems to have been generated (but not fixed) by gcc.
The file syslimits.h is an internal link to limits.h

So nothing is really fixed.
But the location of the file limits.h has changed, that's why the MiNTLib fails to find it.

So I think that little patch is the right way to do.

--
Vincent Rivière