Compiling setup.exe with the new gcc-2
Christopher Faylor
cgf@redhat.com
Thu Jul 11 08:10:00 GMT 2002
On Thu, Jul 11, 2002 at 05:03:35PM +0200, Pavel Tsekov wrote:
>Hello Nicholas,
>
>Thursday, July 11, 2002, 4:41:05 PM, you wrote:
>>> Which leads me to conclude that the logic for the gcc-2/g++-2 specs no
>>> longer includes /usr/include/w32api in its default search path.
>>> Anyhow, I thought I'd post this for anyone who is trying to compile
>>> setup.exe with the new gcc-2/g++-2. The answer is to include
>>> -I/usr/include/w32api in your CPPFLAGS until this gets cleared up.
>
>NW> Ok,
>
>NW> Strike that, that didn't fix the problem. I'm looking into it now.
>
>windres is part of binutils not the gcc suite. I just hacked my way
>through this by setting --include-dir=/usr/include/w32api.. I guess
>a configure test doesn't get the proper value.
Hmm. AFAIK, I haven't changed anything with the include logic. I changed
things in gcc some time ago so that w32api wasn't included unless you
added a -mwin32 to your command line. So, I don't know why this is
suddenly required.
cgf
More information about the Cygwin-apps
mailing list