[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#126125: gcc: Hardly any cross-compilers available



* Matthias Klose (doko@cs.tu-berlin.de) wrote:

> you may want to look at the toolchain-source package. The idea is,
> that a specific cross compiler "source-depends" on this package and
> builds one cross compiler. However the package is not up to date
> (gcc-3.0, old binutils).

It would be nice if such a cross building package would use the main
binutils and gcc-3 packages; that way they couldn't get out of sync
(although hmm how do you version number the result?!).


My current method of building cross tools is described here:
http://www.treblig.org/daveG/crossHacks.html

This actually uses the contents (forcibly extracted) of the current
gcc-2.95 source package.

The problem is that cross compiling does tend to bring the bugs out of
the woodwork very effectively! Using that to cross to Alpha produces an
internal compiler error during the build. (Mind you other, gcc-3.x
versions produce a compiler which produces a kernel that *almost*
boots...building native works fine).

The other thing is that there are a lot of architecture specific patches
in the 2.95 source package; is there a reason that the patches aren't
applied all the time (rather than on a per-architecture basis) - I'd
prefer to use one code base.

I'd also love to see a way to build the compiler test suite for the
target side using the cross compiler.

(Crossing from x86)

Dave
 ---------------- Have a happy GNU millennium! ----------------------   
/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM, SPARC and HP-PA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/



Reply to: