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

See the CrossGCC FAQ for lots more information.


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: Building toolchain with Cirrus Logic MaverickCrunch support


On Fri, 21 Jan 2005 13:58:04 +0000, Simon Poole
<simon.armlinux@themalago.net> wrote:
> Grant Likely wrote:
> > I used those flags with crosstool and it built a compiler that seems
> > to support crunch instructions.  ie. "arm-ep9312-linux-gnu-gcc hello.c
> > -o hello" will build an executable with crunch support.  No extra
> > flags are needed when calling the crosscompiler.
> >
> 
> I stuck these flags into our nightly crosstool build and the build
> failed with "undefined reference to `__divdf3'" (previously reported
> here?: http://gcc.gnu.org/ml/gcc/2004-06/msg01867.html)
> 
> Manfred and Grant, did you apply any extra patches to get your build
> working?  Which gcc did you use?
> 
> (crosstool-0.28-rc37, gcc-3.4.3, glibc-2.3.3, binutils-2.15)

Just as you say except I used gcc-3.4.2;
crosstool-0.28-rc37
gcc-3.4.2
glibc-2.3.3
binutils-2.15

It shouldn't matter; but I'm using 2.6.8.1 linux headers instead of 2.4.21.

No extra patches other than crosstool's patches...

Hmm, that might be it; there is a nolibfloat patch in
patches/gcc-3.4.2.  If your using gcc-3.4.3 there is no corresponding
patches directory.  I think that means that no patches at all are
being applied to gcc.  Try it again with gcc-3.4.2...

[time passes]

Okay, I just confirmed it.  One of the patches in /patches/gcc-3.4.2
is required to get it to compile, but I don't know which; left as an
exercise to the reader. :-)  (I tried the nolibfloat patch on it's
own, but that's not it.)

Cheers,
g.

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


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