RE: Recommended toolchain

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

 



I had to patch va-mips.h to #include <asm/sgidefs.h> rather than
<sgidefs.h>.

The current errors are:

- warnings about struct flock64 not being declared (it's defined in
asm-mips64/fcntl.h but not asm-mips/fcntl.h)

- compilation stops because loops_per_sec is undeclared as far as
asm-mips/delay.h is concerned (although it seems fine in
asm-mips64/delay.h).

This seems to imply that the mips architecture (as opposed to mips64) isn't
being maintained. Is this the case? Should I be using mips64 - but what
would be the point on an embedded CPU?

Thanks,
Phil

-----Original Message-----
From: Erik Mullinix [mailto:Hesp@rainworks.org]
Sent: 21 March 2001 12:12
To: Phil Thompson; linux-mips@oss.sgi.com
Subject: Re: Recommended toolchain


What Error's are you getting?
Hesp
----- Original Message -----
From: "Phil Thompson" <Phil.Thompson@pace.co.uk>
To: <linux-mips@oss.sgi.com>
Sent: Wednesday, March 21, 2001 9:00 AM
Subject: RE: Recommended toolchain


> So, going back to the original question, what are the recommended
versions -
> particularly if you are building 2.4.x kernels?
>
> Are the recomendations in the HOWTO out of date? I had to patch va-mips.h
> from the egcs RPM and more fixes seem to be needed before I get a kernel
> that compiles.
>
> Thanks,
> Phil
>
> -----Original Message-----
> From: Ralf Baechle [mailto:ralf@oss.sgi.com]
> Sent: 20 March 2001 20:37
> To: Karel van Houten
> Cc: simong@oz.agile.tv; linux-mips@oss.sgi.com
> Subject: Re: Recommended toolchain
>
>
> On Tue, Mar 20, 2001 at 09:12:02PM +0100, Karel van Houten wrote:
>
> > You wrote:
> > > Recently I've been working with various version mixes of the gnu tool
> > > chain for a mipsel-linux target and settled on a patchy binutils
> > > 2.8.1/egcs 1.1.2/glibc 2.0.6 setup. However this lacks the
functionality
> > > that I would get from a newer toolchain for use with the linux 2.4
> > > kernel. As a result, I was wondering if someone could recommend the
> > > latest "stable"/recommended toolchain for a mipsel-linux target.
> >
> > Well, I'm currently using:
> > binutils 2.10.1
> > gcc 2.95.3 (with Maciej's patches)
> > glibc 2.2.2 (compiled with above toolchain).
> >
> > This toolchain works for native compiles on my mipsel box.
> > One drawback: I can't compile any kernels with this setup,
> > For kernel compiles I use 2.8.1/egcs-2.90.27/glibc-2.0.6.
>
> You MUST use minimum egcs-2.91.66 (1.1.2); older compilers WILL
misscompile
> kernels.
>
>   Ralf
>


[Index of Archives]     [Linux MIPS Home]     [LKML Archive]     [Linux ARM Kernel]     [Linux ARM]     [Linux]     [Git]     [Yosemite News]     [Linux SCSI]     [Linux Hams]

  Powered by Linux