GCC-4.0.2 on Cygwin
Brian Dessent
brian@dessent.net
Sun Oct 9 03:10:00 GMT 2005
Brian Rose wrote:
> OK here is where I get all confused. I am building a gcc in order to use
> that gcc to build m68k-elf programs. So when I am building the gcc, my
> target *should* be i686-pc-cygwin, correct? Because this gcc that I am
> building will *run* on my Cygwin PC.
No, you want --target to be m68k-elf for both gcc and binutils.
--target is the machine for which the output of the tool is meant to be
run. --host is the machine on which the tool itself will run. If your
'as' is targeted at i686-pc-cygwin then that's not going to work.
Once you've built and installed binutils, you should have a
'm68k-elf-as' in the path and the gcc configure should find and use it.
You can override this with --with-as I think.
Brian
------
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