This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: building for cygwin (nearly there)



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


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