cross compiler sparc m68k

Fritz, Wolfgang Wolfgang.Fritz@datentechnik.com
Mon Feb 11 07:32:00 GMT 2002



> -----Original Message-----
> From: Peter Barada [mailto:pbarada@mail.wm.sps.mot.com]
> Sent: Monday, February 11, 2002 4:12 PM
> To: wolfgang.fritz@gmx.net
> Cc: crossgcc@sources.redhat.com
> Subject: Re: cross compiler sparc m68k
> 
> 
> 
> >Do not use newer binutils with gcc-2.95.3. There are 
> problems at least
> >for the m68000 target, which has to be used for 68302 processors.
> 
> What problems does binutils-2.11.* have with 68000?
> 
I got assembler error messages when it tried to assemble assembler code
generated by gcc. 
For me this code looked OK. I remember vaguely a message in this list
which mentioned that binutils 2.11.* are for gcc-3.x and not always
backwards compatible.

> >The scripts from Bill Gatliff work out of the box for a C 
> only compiler
> >but need some tweaks for a C++ compiler. I have them in the 
> company so
> >you may contact me next week if you run into problems.
> 
> If you have a build script that creates a C++ compiler configured for
> m68k-elf, I'd be much appreciative.  I've been trying to put one
> together for a while and haven't had any luck, again failing 
> in libiberty.

I've only built a crosscompiler for m68k-coff. I had to add
--with-newlib to the configure for gcc to make the c++ compiler build.
I've not tested c++ up to now.

I did not use the script directly but splitted it into parts to generate
RPM packages for Linux. I can send you the RPM *.spec files if you want,
but with the --with-newlib Bill's scripts should work.

One remark: I was not able to build newlib-1.10.0 the "Bill Gatliff"
way. It stops with the same error message as the libiberty build.

Wolfgang
> 
> -- 
> Peter Barada                                   
> Peter.Barada@motorola.com
> Wizard                                         781-852-2768 (direct)
> WaveMark Solutions(wholly owned by Motorola)   781-270-0193 (fax)
> 
> ------
> Want more information?  See the CrossGCC FAQ, 
> http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to 
> crossgcc-unsubscribe@sources.redhat.com
> 
> 

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list