Re: [uClinux-dev] Building m68k-elf

From: Greg Ungerer (gerg@moreton.com.au)
Date: Thu Jan 18 2001 - 19:31:01 EST


Hi Andrew,

Andrew Kohlsmith wrote:
> > 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:

The one that was attached to that same email.
Attached again to this one.
It is newer than the uClinuc ones (and includes c++ support).


> 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.

At what point did you get this failure?
Had you already built the compiler (did ~/m68k-elf/gcc/xgcc exist)?


> 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
Greg


------------------------------------------------------------------------
Greg Ungerer  --  Chief Software Wizard           EMAIL:  gerg@lineo.com
Lineo (Integrated Products Group)                 PHONE: +61 7 3435 2888
825 Stanley St,                                   FAX:   +61 7 3891 3630
Woolloongabba, QLD, 4102, Australia               WEB:     www.lineo.com

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