Subject: pkg/11187: cross-i386-cygwin32 package doesn't build
To: None <email@example.com>
From: Frederick Bruckman <firstname.lastname@example.org>
Date: 10/10/2000 07:13:10
>Synopsis: cross-i386-cygwin32 package doesn't build
>Arrival-Date: Tue Oct 10 07:13:00 PDT 2000
>Originator: Frederick Bruckman
System: NetBSD fiona.home 1.5.ALPHA2 NetBSD 1.5.ALPHA2 (FIONA) #9:
Fri Sep 22 15:28:04 CDT 2000
In file included from include/syslimits.h:7,
/usr/tmp/pkgsrc/cross/i386-cygwin32/work.i386/egcs-1.1.1/gcc/include/limits.h:117: limits.h: No such file or directory
gmake: *** [libgcc2.a] Error 1
*** Error code 2
The egcs cross build mechanism evidently needs to frob the
host includes for the benefit of the first stage compiler.
This mechanism fails for NetBSD, because the script doesn't
quite understand that NetBSD's sys/syslimits.h is distinct
from limits.h, and it doesn't know about sys/featuretest.h
at all. This problem should probably affect some other cross
targets as well, although this seems to be the only _packaged_
Try to build the package.
I'm able to get it to build by coping sys/syslimits.h and
sys/featuretest.h into the private includes directory. I'm
still at a loss as to what the "right" solution should look
like, and I have no way of testing the resulting binaries.
[The headers for the target system aren't installed by this
package, and my web search on "cygwin32" came up empty.]
Might be worthwile to try this with gcc-2.95.2.