Re: [uClinux-dev] Building m68k-elf

From: Andrew Kohlsmith (akohlsmith@benshaw.com)
Date: Thu Jan 18 2001 - 12:45:10 EST


> Attached is my build instructions. Seems to produce good results,
> and builds with the whole set of libraries (and all languages).
> I have not tested the result compilers thoughly though :-)
> (This is for a gcc-2.95.2 build, BTW)

I have a few questions about your build instructions  (I want to do this
"the hard way" instead of just using a binary toolset):

> 9.  /usr/local/bin/m68k-elf-as -o /usr/local/m68k-elf/lib/crt0.o crt0.S

which crt0.S are you assembling?  I have found the following crt0.S files in
my /opt/uClinux directory:

# find . -name crt0.S | xargs -n 1 ls -l
-rw-r--r--   1 500      users        4987 Mar 30  1996
./uC-libc/sysdeps/m68k/crt/crt0.S
-rw-r--r--   1 500      users         634 Sep  8  1999 ./uC-libc/crt/crt0.S
-rw-r--r--   1 1046     console       450 Dec  2  1999
./linux/arch/ppc/coffboot/crt0.S
-rw-r--r--   1 1046     console      2365 Jan 10  2000
./linux/arch/ppc/treeboot/crt0.S
-rw-r--r--   1 1046     console       450 Jan 12  1998
./linux/arch/ppc/chrpboot/crt0.S

I am assuming it's one of the first two but which?

Also, when compiling GCC for the first time (anticipating its failure
because of there being no libc.a) I get an error about fixinc.sh not
existing.  copying gcc/fixing.sh into m68k-elf/gcc and chmodding it fixes
that but then I get an error from as saying it knows nothing about -c68020.

I can't seem to get past that.  Any pointers?   I *think* it's got something
to do with the specs file but past that I don't know.

Regards,
Andrew

This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:25 EDT