This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

m68k: m680x0 options are not passed to the assembler


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]