m68k: m680x0 options are not passed to the assembler
Ingolf Koch
ingolf@mathematik.uni-jena.de
Wed Mar 11 13:55:00 GMT 1998
Hi,
at least if configured --with-gnu-as, gcc should pass
any -m680X0 options given on the command line to the
assembler. At the moment, the user has to supply for
example an additional -Wa,-m68060 option if -m68060
was given.
This is a problem when C++ code needs to be recompiled
by collect2: The -Wa,-m68060 is not stored in the
template reposition file (as it is not a gcc option and
thus does not appear in COLLECT_GCC_OPTIONS), but the
-m68060 option is. So in most cases the assembler will
see special 68060 commands, but is not in 68060 mode.
AFAIK, this change has been suggested by many people.
Is there any reason speaking against it? IMHO this
change would make compiling for m68k based architectures
reasonably simpler.
Regards
--
Ingolf Koch http://www.minet.uni-jena.de/~ingolf/
FSU Jena, Institut fuer Angewandte Mathematik, 07740 Jena
More information about the Gcc-bugs
mailing list