This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: --with-cpu and --with-arch for m68k
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: Anders Montonen <ammonton at cc dot helsinki dot fi>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 26 Jul 2007 19:05:12 +0100
- Subject: Re: --with-cpu and --with-arch for m68k
- References: <54C63137-473D-4EF9-B833-DC8B51B4E32B@cc.helsinki.fi>
Anders Montonen wrote:
Hello, <http://gcc.gnu.org/install/configure.html> says that the
--with-cpu configuration option is "...only supported on some targets,
including ARM, i386, M68k, PowerPC, and SPARC".
<http://gcc.gnu.org/install/specific.html#m68k-x-x> in turn says that
"If you only need the M680x0 libraries, you can omit the ColdFire ones
by passing --with-arch=m68k to configure." However, if I try passing
either option to GCC 4.2.1 I get an error message about the options not
being supported when trying to build GCC ("This target does not support
--with-cpu.", "This target does not support --with-arch.")
The complete configure line is:
../gcc-4.2.1/configure --prefix=/Users/anders/local --target=m68k-elf
--disable-nls --enable-languages="c,c++" --disable-shared
--disable-threads --disable-multilib --disable-mudflap --with-newlib
--with-cpu=m68000 --with-arch=m68k
Is there a bug in the documentation, in GCC or am I misunderstanding
something?
The --with-arch support for m68k was added to mainline, not 4.2. I'm not sure
what version of gcc that web page you cite was derived from.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk