Builded gdc 0.24 - 1 error - some questions

Carlos carlos-smith at sympatico.ca
Wed Sep 3 08:46:43 PDT 2008


Oops, sorry...

: Could you give more information, GCC version, host system, configure
: parameters ...

Hi Mosfet!,

Thanks for responding.

I had to stop working on this project. But, this morning,
after reading your post, i decided to check it again.

I discovered why the script emit this error message:
  ==> constructing ../fixinc.sh for i686-pc-mingw32 to run on 
i686-pc-mingw32
  ==> The directory that should contain system headers does not exist:
  ==>   /usr/include

Somewhere during the build of gcc-3.4.5-core, it must be determined
if the headers of previous version of the compiler must be fixed.
For some machines, the headers must be fixed, for some others, they
are ok and dont need to be fixed.

After the check, there is a script: fixinc.sh which is created
(and contains a simple exit for MingW), because with MingW32
compiler on WinXP, the headers do not need fixing.

The script that determine that run ok and correctly find that there
is nothing to fix.

But, somewhere in the Makefile, after fixinc.sh has been created,
there is a target:
    # Build fixed copies of system files.
    stmp-fixinc: fixinc.sh gsyslimits.h
        ...
        ...
who check for the presence of /usr/include before trying to fix
any headers, whether there is something to fix or not. ( i thing they
sould avoid that).

The problem is, that /usr is mounted on E:/MSys, and there is
no such directory as /usr/include. That's because MSys is just the bare
minimum needed to execute configure. It does not, and should not
contains an include directory.

So, to fix this, knowing that MingW32 do not need fixing ( i did not
understood that when i posted the firts time),
i simply deleted a dozen of lines or so in the Makefile.

Hope i am clear. (My english is not up to the task...)

Carlos




More information about the D.gnu mailing list