This is the mail archive of the gcc@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: [ANNOUNCE] GCC 3.3.1 uClinux/ColdFire toolchain (20030725 snapshot)


On Tuesday 29 July 2003 05:51, Dan Kegel wrote:

> Bernardo Innocenti wrote:
> > arm-elf was an easy pick for me since there it has a simulator in gdb
> > and it's being used as the example in the combined tree tutorial ;-)
>
> Right, but -elf target names seem to be reserved for embedded systems
> without an OS.  I'm no expert, though.  Maybe you should take a poll...

I do agree. I think the uClinux people kept using m68k-elf because they
started by porting just the Linux kernel, for which a bare-metal target
was more than appropriate.

Then they decided they didn't want to have two different sets of compilers
and left things as they were when porting the userland ;-)


> > I've built on top of that mess, but before I submit any patches
> > touching the target configuration, I'll have to create the
> > m68k-uclinux-elf myself.
>
> Hmm.  The -elf in that case seems redundant.

Why? Linux supports several binary formats, and uClinux default format
for binaries is "flat", not elf. Actually, the flat format is obtained
by converting elf binaries with the elf2flt utility.

I reckon it's a big hack, but I can understand the uClinux developers:
this solution was much easier than adding support for a new binary
format all over the toolchain and in gdb.

> > I've not yet figured out how to do it all over the toolchain, but
> > looking at config.gcc it appears to be quite straightforward.
>
> One of these days I have to submit patches to allow ppc405-*-*-* and
> ppc750-*-*-*, I'm not really looking forward to it, but I guess now that
> I'm running all the test suites, at least I have a chance of writing
> a patch that doesn't break anything.

When I'll run mine, I will be terrified when opening the log file.
What do you do if you see lots of new failures? Better not knowing :-)

> > I'll start porting those to HEAD when I've shaken out the remaining
> > bugs on the stable branch.
>
> You, sir, are a gentleman and a scholar :-)

Or a coward ;-)

-- 
  // 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]