This is the mail archive of the
mailing list for the Cygwin project.
- To: CygWin32 <email@example.com>, Cross-GCC <firstname.lastname@example.org>
- Subject: Linux->Cygwin->PowerPC.
- From: Brendan Simon <email@example.com>
- Date: Mon, 26 Jul 1999 10:30:05 +1000
- Organization: CTAM Pty Ltd
- Reply-To: firstname.lastname@example.org
I've managed to compile egcs-1.1.2 as a Linux->Cygwin cross-compiler.
It installs and builds executables ok, though I have not tested the
executables on a Windows machine yet.
The next stage is to build a Cygwin->PowerPC cross-compiler using the
above cross-compiler. I gave configure the --target=powerpc-eabi and
--host=i586-cygwin32 options and tried to build binutils-2.9.1. It
succeeded and installed in the correct place with .exe extensions. I
thought great !! but then I thought I would try to execute them on the
linux box and they did. eg powerpc-eabi-ar -V gave me the version
number etc. This is obviously wrong as the cygwin executables shouldn't
run on the Linux host. It seems that the build process is picking up
the native egcs when building binutils, instead of the i586-cygwin32
version of the egcs tools. Yes they are all in my path.
Is there an option I have to specify for configure ?
I thinking setting CC_FOR_TARGET=i586-cygwin32-gcc will work. I guess
all other XXX_FOR_TARGET would need to be setup correctly as well. I
thought that specifying --host=i586-cygwin32 would do all this for me.
Any ideas what I'm doing wrong.
Want to unsubscribe from this list?
Send a message to email@example.com