--with-cpu and --with-arch for m68k
Nathan Sidwell
nathan@codesourcery.com
Thu Jul 26 18:05:00 GMT 2007
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
More information about the Gcc-help
mailing list