This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Re: problem configuring cross


John Breen <jab3@hotmail.com> wrote:

> From: Ken Benderly <benderly@vcd.hp.com>
> >I cross compiled the binutils 2.9.1 no problem with -target = 
> >m68k-elf.  But when I try to configure the cross gcc, it comes
> >back with:
> >
> >Configuration m68k-unknown-elf not supported
> 
> Yes, vanilla gcc does not support m68k-elf.  There are some patches at
> 
>     http://home.worldnet.att.net/~jabberwock82/crossgcc/
> 
> Currently, egcs doesn't support it either, but it should soon.

 I dowloaded these patches and compared the resulted configuration to the 
Cygnus one (e.g. those with Cygwin Rel.18). These two were quite different as a 
first look...

 When looking at the available Cygnus config files for 'm68k-elf': 
'config/m68k/m68kelf.h', 'config/m68k/m68020-elf.h', 'config/elfos.h' etc.,
they all said that they are 'freely distributable' using GPL...

 So, why this 'reinventing the wheel' method was needed?  Why not just use the
'CYGNUS LOCAL' configuration settings as the base?  Ok, it's sad that these 
aren't included with gcc or egcs sources and need some spying of Cygnus CDK
sources...

Cheers, Kai

PS. I built my 'i386-elf' and 'm68k-elf' compilers using the Cygnus config
files (some macros must be updated for egcs-1.1 from the gcc-2.7.2 level).
________________________________________________
To get help for the crossgcc list, send mail to
crossgcc-request@cygnus.com with the text 'help'
(without the quotes) in the body of the message.