building for cygwin (nearly there)
Werner Tuchan
32768@gmx.net
Wed Sep 11 02:34:00 GMT 2002
>
>
>I tried both of the following in blank directories.
>
>../${GCCDISTO}/configure --target=$TARGET --prefix=$PREFIX --build=$HOST
>--host=$HOST \
> --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --with-headers
>--with-newlib --verbose \
>--with-local-prefix=${PREFIX}/${TARGET} 2>&1 | tee configure.log
>
>../${GCCDISTO}/configure --target=$TARGET --prefix=$PREFIX --build=$HOST
>--host=$HOST \
> --enable-languages=c,c++ --with-gnu-ld --with-gnu-as --verbose \
>--with-local-prefix=${PREFIX}/${TARGET} 2>&1 | tee configure.log
>
>Anything wrong here?
>
The configuration does not look wrong to me. Except for the --build
switch which seems to be undocumented.
Look if you have the following file:
$TARGET\\lib\gcc-lib\m68k-elf\3.2\include\stdlib.h
Seems like the gcc-lib headers are incompatible with newlib and
libstdc++v3 and must be removed before the second pass.
You'd best delete the $TARGET directory completely and reinstall
binutils and newlib with 'make install'.
The one pass build avoids all this hassle. I don't know why it doesn't
work for you.
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list