This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Problem building g++ 4.1.1 on Cygwin


I'm trying to build a 4.1.1 on cygwin that will let me use the -mno-cygwin argument. I looked and looked on the web for the runes and finally heard somewhere in a dark alley that I should try something like the below. I first ran Cygwin setup, and everything is up to date.

Any help would be greatly appreciated!

Thanks

Dave Yost

Z% uname -a
CYGWIN_NT-5.1 daveyost599f 1.5.23(0.156/4/2) 2006-12-19 10:52 i686 Cygwin
Z% cd /usr/local/src/packages
Z% for x in ../downloads/gcc-core-4.1.1.tar.bz2 ../downloads/gcc-g++-4.1.1.tar.bz2
for> bunzip2 < $x | tar xf -
Z% cd gcc-4.1.1
Z% ./configure \
--prefix=/usr/local \
--enable-version-specific-runtime-libs \
--disable-nls \
--host=i686-pc-cygwin \
--target=i686-pc-mingw32
...
Z% make
...
make[2]: Entering directory `/usr/local/src/packages/gcc-4.1.1/host-i686-pc-cygwin/gcc'
TARGET_CPU_DEFAULT="" \
HEADERS="auto-host.h ansidecl.h config/i386/xm-cygwin.h" DEFINES="" \
/bin/sh ../.././gcc/mkconfig.sh config.h
...
chmod a+r include/limits.h
rm -f include/READMEcp ../.././gcc/../fixincludes/README-fixinc include/README
chmod a+r include/README
echo timestamp > stmp-int-hdrsmake[2]: *** No rule to make target `/usr/local/bin/i686-pc-mingw32-as.exe', needed by `stamp-as'. Stop.
make[2]: Leaving directory `/usr/local/src/packages/gcc-4.1.1/host-i686-pc-cygwin/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/usr/local/src/packages/gcc-4.1.1'
make: *** [all] Error 2



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]