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] Add m68k-uclinux target


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.  


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