Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Toolchain question
@ 2002-02-21 12:32 Jan-Benedict Glaw
  0 siblings, 0 replies; 10+ messages in thread
From: Jan-Benedict Glaw @ 2002-02-21 12:32 UTC (permalink / raw)
  To: linux-mips

[-- Attachment #1: Type: text/plain, Size: 399 bytes --]

Hi!

I'm to build a new toolchain and looked around. There's still the
cross-all-20010423.tar package on oss.sgi.com. Is it still
recommened to use this, or am I better off using a current
CVS co of binutils and gcc?

MfG, JBG

-- 
Jan-Benedict Glaw   .   jbglaw@lug-owl.de   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Toolchain question
@ 2002-03-17 20:34 Jan-Benedict Glaw
  2002-03-18 15:42 ` Johannes Stezenbach
  0 siblings, 1 reply; 10+ messages in thread
From: Jan-Benedict Glaw @ 2002-03-17 20:34 UTC (permalink / raw)
  To: SGI MIPS list

[-- Attachment #1: Type: text/plain, Size: 533 bytes --]

Hi!

Which cross compiler and binutils are currently known to be good for
kernel compilation? I'm (for both LE and BE) currently still using
this gcc-3.0 snapshot from the simple/crossdev "package". It's a
bit old, but working quite good.

What compiler/binutils are currently advisable? Current CVS from
binutils, current gcc 3.0 branch from CVS?

MfG, JBG

-- 
Jan-Benedict Glaw   .   jbglaw@lug-owl.de   .   +49-172-7608481
	 -- New APT-Proxy written in shell script --
	   http://lug-owl.de/~jbglaw/software/ap2/

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Toolchain question
  2002-03-17 20:34 Toolchain question Jan-Benedict Glaw
@ 2002-03-18 15:42 ` Johannes Stezenbach
  2002-03-18 15:47   ` Geert Uytterhoeven
  0 siblings, 1 reply; 10+ messages in thread
From: Johannes Stezenbach @ 2002-03-18 15:42 UTC (permalink / raw)
  To: Jan-Benedict Glaw; +Cc: SGI MIPS list

On Sun, Mar 17, 2002 at 09:34:06PM +0100, Jan-Benedict Glaw wrote:
> 
> Which cross compiler and binutils are currently known to be good for
> kernel compilation? I'm (for both LE and BE) currently still using
> this gcc-3.0 snapshot from the simple/crossdev "package". It's a
> bit old, but working quite good.
> 
> What compiler/binutils are currently advisable? Current CVS from
> binutils, current gcc 3.0 branch from CVS?

I'm using binutils-2.12.90.0.1 and gcc-2.95.4-debian, which
was recommended here. Read the the thread on "gcc include strangeness"
around Feb. 11 for details.


Regards,
Johannes

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Toolchain question
  2002-03-18 15:42 ` Johannes Stezenbach
@ 2002-03-18 15:47   ` Geert Uytterhoeven
  2002-03-18 16:02     ` Johannes Stezenbach
  0 siblings, 1 reply; 10+ messages in thread
From: Geert Uytterhoeven @ 2002-03-18 15:47 UTC (permalink / raw)
  To: Johannes Stezenbach; +Cc: Jan-Benedict Glaw, SGI MIPS list

On Mon, 18 Mar 2002, Johannes Stezenbach wrote:
> On Sun, Mar 17, 2002 at 09:34:06PM +0100, Jan-Benedict Glaw wrote:
> > Which cross compiler and binutils are currently known to be good for
> > kernel compilation? I'm (for both LE and BE) currently still using
> > this gcc-3.0 snapshot from the simple/crossdev "package". It's a
> > bit old, but working quite good.
> > 
> > What compiler/binutils are currently advisable? Current CVS from
> > binutils, current gcc 3.0 branch from CVS?
> 
> I'm using binutils-2.12.90.0.1 and gcc-2.95.4-debian, which
> was recommended here. Read the the thread on "gcc include strangeness"
> around Feb. 11 for details.

Are you compiling natively, or did you create a cross-compiler using the
gcc-2.95.4-debian sources?

In the latter case, I'm interested in the magic you used to build the
cross-compiler, since I can't seem to build a cross-compiler for any arch using
those sources (2.95.2 was fine).

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Toolchain question
  2002-03-18 15:47   ` Geert Uytterhoeven
@ 2002-03-18 16:02     ` Johannes Stezenbach
  0 siblings, 0 replies; 10+ messages in thread
From: Johannes Stezenbach @ 2002-03-18 16:02 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Jan-Benedict Glaw, SGI MIPS list

On Mon, Mar 18, 2002 at 04:47:13PM +0100, Geert Uytterhoeven wrote:
> On Mon, 18 Mar 2002, Johannes Stezenbach wrote:
> > I'm using binutils-2.12.90.0.1 and gcc-2.95.4-debian, which
> > was recommended here. Read the the thread on "gcc include strangeness"
> > around Feb. 11 for details.
> 
> Are you compiling natively, or did you create a cross-compiler using the
> gcc-2.95.4-debian sources?
> 
> In the latter case, I'm interested in the magic you used to build the
> cross-compiler, since I can't seem to build a cross-compiler for any arch using
> those sources (2.95.2 was fine).

I built a cross compiler. After 'apt-get source gcc-2.95' I did:
(The instructions in debian/README.cross did not work for me.)

- edit debian/rules.def so that
      TARGETS=mips
    (README.cross mentions you have to do this)
- run
  $ debian/rules patch
- now you have a patched source tree for mips in src-mips, which
  configures and builds fine.


HTH,
Johannes

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Toolchain question
@ 2005-04-11 10:13 Mile Davidovic
  2005-04-11 10:13 ` Mile Davidovic
  2005-04-11 13:38 ` Ralf Baechle
  0 siblings, 2 replies; 10+ messages in thread
From: Mile Davidovic @ 2005-04-11 10:13 UTC (permalink / raw)
  To: 'Linux/MIPS Development'

Hello all
I would like to port board (with MIPS 4kec) to latest linux 2.6 kernel.
Using porting guide 
from (http://www.linux-mips.org/wiki/index.php/Porting) I successfully made
console and
serial driver. But problem appears with first printk (in start_kernel) I got
exception.  

I used toolchain which uclibc buildroot script produced (gcc-3.4.2,
binutils-2.15.91.0.2),
and I am not sure is this correct combination.

From 
http://www.linux-mips.org/wiki/index.php/Toolchains I saw that next
recommendations:
1. SDE MIPS - unfortunately this is 2.9x compiler.
2. Mr. Rozycki offer only mipsel toolchain
3. Mr. Kegel's crosstool but from
http://kegel.com/crosstool/crosstool-0.31/buildlogs/ it seems that 
this toolchain is not good for MIPS.
4. Toolchain from ucLibc, I tried but I have trouble with.

So my question: which toolchains I have to use? 

Best regards Mile

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Toolchain question
  2005-04-11 10:13 Mile Davidovic
@ 2005-04-11 10:13 ` Mile Davidovic
  2005-04-11 13:38 ` Ralf Baechle
  1 sibling, 0 replies; 10+ messages in thread
From: Mile Davidovic @ 2005-04-11 10:13 UTC (permalink / raw)
  To: 'Linux/MIPS Development'

Hello all
I would like to port board (with MIPS 4kec) to latest linux 2.6 kernel.
Using porting guide 
from (http://www.linux-mips.org/wiki/index.php/Porting) I successfully made
console and
serial driver. But problem appears with first printk (in start_kernel) I got
exception.  

I used toolchain which uclibc buildroot script produced (gcc-3.4.2,
binutils-2.15.91.0.2),
and I am not sure is this correct combination.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Toolchain question
  2005-04-11 10:13 Mile Davidovic
  2005-04-11 10:13 ` Mile Davidovic
@ 2005-04-11 13:38 ` Ralf Baechle
  1 sibling, 0 replies; 10+ messages in thread
From: Ralf Baechle @ 2005-04-11 13:38 UTC (permalink / raw)
  To: Mile Davidovic; +Cc: 'Linux/MIPS Development'

On Mon, Apr 11, 2005 at 12:13:50PM +0200, Mile Davidovic wrote:
> From:	"Mile Davidovic" <mile.davidovic@micronasnit.com>
> To:	"'Linux/MIPS Development'" <linux-mips@linux-mips.org>
> Subject: Toolchain question
> Date:	Mon, 11 Apr 2005 12:13:50 +0200
> Content-Type: text/plain;
> 	charset="iso-8859-2"
> 
> Hello all
> I would like to port board (with MIPS 4kec) to latest linux 2.6 kernel.
> Using porting guide 
> from (http://www.linux-mips.org/wiki/index.php/Porting) I successfully made
> console and
> serial driver. But problem appears with first printk (in start_kernel) I got
> exception.  
> 
> I used toolchain which uclibc buildroot script produced (gcc-3.4.2,
> binutils-2.15.91.0.2),
> and I am not sure is this correct combination.
> 
> >From 
> http://www.linux-mips.org/wiki/index.php/Toolchains I saw that next
> recommendations:
> 1. SDE MIPS - unfortunately this is 2.9x compiler.

Which should be perfectly find for the kernel.  And no, SDE isn't really
a 2.96-based compiler with _vastly_ improved code generation for MIPS
processors.

Less than a week ago SDE 5 was released which is based on gcc 3.4 and
similarly contains a large number of mostly MIPS-specific improvments.

> 2. Mr. Rozycki offer only mipsel toolchain

Recompiling is easy.

> 3. Mr. Kegel's crosstool but from
> http://kegel.com/crosstool/crosstool-0.31/buildlogs/ it seems that 
> this toolchain is not good for MIPS.

Plenty of success reports to this list contradict it.

> 4. Toolchain from ucLibc, I tried but I have trouble with.

No idea about this one.

> So my question: which toolchains I have to use? 

Since you have problems with all of these you may want to describe those ...

  Ralf

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: Toolchain question
@ 2005-04-12  4:59 Nori, Soma Sekhar
  2005-04-12 12:07 ` Ralf Baechle
  0 siblings, 1 reply; 10+ messages in thread
From: Nori, Soma Sekhar @ 2005-04-12  4:59 UTC (permalink / raw)
  To: Ralf Baechle, Mile Davidovic; +Cc: Linux/MIPS Development

> 
> Less than a week ago SDE 5 was released which is based on gcc 3.4 and
> similarly contains a large number of mostly MIPS-specific improvments.
> 
>   Ralf

Can you let know where I can get it from? The mips.com ftp site informs
The latest SDE as 5.03.06
(ftp://ftp.mips.com/pub/tools/software/sde-for-linux/sdelinux-mipsel-lat
est/) 
which linux-mips.org
(http://www.linux-mips.org/wiki/index.php/Toolchains) informs is based
on gcc 2.96

-
Sekhar Nori.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: Toolchain question
  2005-04-12  4:59 Nori, Soma Sekhar
@ 2005-04-12 12:07 ` Ralf Baechle
  0 siblings, 0 replies; 10+ messages in thread
From: Ralf Baechle @ 2005-04-12 12:07 UTC (permalink / raw)
  To: Nori, Soma Sekhar; +Cc: Mile Davidovic, Linux/MIPS Development

On Tue, Apr 12, 2005 at 10:29:09AM +0530, Nori, Soma Sekhar wrote:

> > Less than a week ago SDE 5 was released which is based on gcc 3.4 and
> > similarly contains a large number of mostly MIPS-specific improvments.
> > 
> >   Ralf
> 
> Can you let know where I can get it from? The mips.com ftp site informs
> The latest SDE as 5.03.06
> (ftp://ftp.mips.com/pub/tools/software/sde-for-linux/sdelinux-mipsel-lat
> est/) 
> which linux-mips.org
> (http://www.linux-mips.org/wiki/index.php/Toolchains) informs is based
> on gcc 2.96

Little correction here - the release I meant was SDE 6.02 and it was only
a MIPS internal release, so will soon be available to the general audience.

  Ralf

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2005-04-12 12:07 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-03-17 20:34 Toolchain question Jan-Benedict Glaw
2002-03-18 15:42 ` Johannes Stezenbach
2002-03-18 15:47   ` Geert Uytterhoeven
2002-03-18 16:02     ` Johannes Stezenbach
  -- strict thread matches above, loose matches on Subject: below --
2005-04-12  4:59 Nori, Soma Sekhar
2005-04-12 12:07 ` Ralf Baechle
2005-04-11 10:13 Mile Davidovic
2005-04-11 10:13 ` Mile Davidovic
2005-04-11 13:38 ` Ralf Baechle
2002-02-21 12:32 Jan-Benedict Glaw

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox