[PATCH] Add m68k-uclinux target

Andreas Schwab schwab@suse.de
Tue Sep 16 08:23:00 GMT 2003


Bernardo Innocenti <bernie@develer.com> writes:

> Christoph Hellwig wrote:
>
>> [...]
>> Are you sure it should really be m68k-unknown-uclinux and not
>> m68k-unknown-linux-uclibc?
>> [...]
>
> Out of curiosity, I tried configuring for m68k-uclinux-uclibc
> or m68k-unknown-uclinux-uclibc and I had a great deal of fun
> trying to figure out what I'm supposed to do in config.sub
> and gcc/config.gcc to get it to work.

I think you have to change this part of config.sub:

# Separate what the user gave into CPU-COMPANY and OS or KERNEL-OS (if any).
# Here we must recognize all the valid KERNEL-OS combinations.
maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
case $maybe_os in
  nto-qnx* | linux-gnu* | freebsd*-gnu* | netbsd*-gnu* | storm-chaos* | os2-emx* | rtmk-nova*)

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, Deutschherrnstr. 15-19, D-90429 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."



More information about the Gcc-patches mailing list