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


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.

So far, I've managed to get past config.sub with
--target=m68k-uclinux-uclibc by applying the change below
in addition to the uClinux patch.

Unfortunately, config.gcc seems to get confused about the
machine name because the target tuple contains three parts
without "unknown" in the middle.

If I configure with --target=m68k-unknown-uclinux-uclibc,
other bad things happen in the top-level configure script
because $target happens to be empty (???).

Does anyone know what I'd have to do to get it right?


--- gcc-3.4-20030910.orig/config.sub 2003-06-14 16:08:09.000000000 +0200 +++ gcc-3.4-20030910/config.sub 2003-09-16 05:28:48.000000000 +0200 @@ -1112,16 +1112,17 @@ ;; # First accept the basic system types. # The portable systems comes first. # Each alternative MUST END IN A *, to match a version number. # -sysv* is not here because it comes later, after sysvr4. -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \ | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \ + | -uclibc* \ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \ | -aos* \ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \ | -hiux* | -386bsd* | -netbsd* | -openbsd* | -freebsd* | -riscix* \ | -lynxos* | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \


-- // Bernardo Innocenti - Develer S.r.l., R&D dept. \X/ http://www.develer.com/

Please don't send Word attachments - http://www.gnu.org/philosophy/no-word-attachments.html




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