This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [patch] compileflags for libgcc


Richard Zidlicky wrote:
+TARGET_LIBGCC2_CFLAGS = -Dmc68060 -D__mc68060__

This just looks weird. I don't follow the logic that it only effects 68060 libraries. It will effect all libraries because it is an unconditional change to TARGET_LIBGCC2_CFLAGS.


The usual solution to this problem for an embedded target is to multilib, but that is probably inconvenient for a linux target.

If you just want one multilib, then probably you should be using the -m68020-60 option, which should emit code suitable for all targets from the 020 to the 060.
--
Jim Wilson, GNU Tools Support, http://www.SpecifixInc.com



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