This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] compileflags for libgcc
- From: Jim Wilson <wilson at specifixinc dot com>
- To: Richard Zidlicky <rz at linux-m68k dot org>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 09 Jan 2004 19:09:09 -0800
- Subject: Re: [patch] compileflags for libgcc
- References: <20031228175430.GA3893@linux-m68k.org>
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