This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Add m68k-uclinux target
- From: Christoph Hellwig <hch at infradead dot org>
- To: Bernardo Innocenti <bernie at develer dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Richard Henderson <rth at redhat dot com>,Pauli <pauli at moreton dot com dot au>, Gunther Nikl <gni at gecko dot de>,uclinux-dev <uclinux-dev at uclinux dot org>
- Date: Mon, 15 Sep 2003 10:17:55 +0100
- Subject: Re: [PATCH] Add m68k-uclinux target
- References: <3F650703.7020703@develer.com>
On Mon, Sep 15, 2003 at 02:25:39AM +0200, Bernardo Innocenti wrote:
>
> This is the final patch in the ColdFire/uClinux support set.
> It adds the uClinux target definition to GCC and libstdc++.
>
> Unlike the official, 2.95.x based toolchain, GCC 3.4 will
> stop abusing the m68k-elf target and use its own target
> triplet instead (m68k-unknown-uclinux).
>
> The script that builds the full uClinux toolchain ensures
> backwards compatibility by creating a few symbolic links.
Are you sure it should really be m68k-unknown-uclinux and not
m68k-unknown-linux-uclibc? AFAICS the libstdc++ changes are
for uclibc and not for a no-mmu kernel. And given that 'uclinux'
in the kernel context (vs the distro context) is nothing but a
Linux kernel with a single ifdef not set (or a patched kernel with
a single ifdef set for < 2.6) a different target name looks very
strange for me.
And the libcstdc++ changes look right for uclibc on targets with
a mmu aswell, dito for !m68k nommu targets.