This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FW: GCC Cross Compiler for cygwin
James E Wilson wrote:
Amir Fuhrmann wrote:
../gcc-3.4.3/configure --exec-prefix=/usr/local --program-prefix=ppc-
--with-stabs -with-cpu=603 --target=powerpc-eabi --with-gnu-as=ppc-as
--with-gnu-ld=ppc-ld --enable-languages=c,c++
The suggestion to look at Dan Kegel's crosstool is a good one, but
crosstool only handles cross compilers to linux, and hence isn't
relevant here.
There have been patches to it for building on Cygwin, plus the
occasional success story on Cygwin, IIRC. (Perhaps Dan can comment).
IIRC, there are patches to crosstool for newlib too.
I don't know if the specific combination will work, but one could always
try. At least it's sometimes a better starting point for building a lot
of cross-toolchains.
Eric