All of lore.kernel.org
 help / color / mirror / Atom feed
* where I can find a crosscompiler for BCM1255
@ 2006-06-02  7:16 richard
  2006-06-02 19:01 ` James E Wilson
  0 siblings, 1 reply; 5+ messages in thread
From: richard @ 2006-06-02  7:16 UTC (permalink / raw)
  To: linux-mips

Hi all,

I want to compile linux-2.6.15 on BCM1255 board, I download crosscompilers(sb1-elf-,mips-linux-) from broadcom website, but error occurs when compiling
Do the compilers work for linux compiling? or I should download other versions of compiler for the kernel? And where?
Thanks.

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

* Re: where I can find a crosscompiler for BCM1255
  2006-06-02  7:16 richard
@ 2006-06-02 19:01 ` James E Wilson
  0 siblings, 0 replies; 5+ messages in thread
From: James E Wilson @ 2006-06-02 19:01 UTC (permalink / raw)
  To: richard; +Cc: linux-mips

On Fri, 2006-06-02 at 00:16, richard wrote:
> I download crosscompilers(sb1-elf-,mips-linux-) from broadcom website, but error occurs when compiling

We can't help you unless you specify exactly what the error was, and
exactly what command you typed that generated the error.  If this was a
kernel compilation problem, you may need to specify the kernel
configuration used.

By the way, there is a default kernel config that you should start with,
and then modify as necessary.  It is in arch/mips/configs in the
sb1250-swarm_defconfigs file.

> Do the compilers work for linux compiling?

The sb1-elf toolchain will not work for compiling linux.  The mips-linux
toolchain will work for compiling linux.  However, because of
interdependencies between the linux kernel and gcc, certain gcc versions
may be required for compiling certain linux kernel versions.

>  or I should download other versions of compiler for the kernel? And where?

There is some useful info in the wiki about this.
    http://www.linux-mips.org/wiki/Toolchains
You can always start with FSF releases if you are willing to build the
toolchains yourself.
-- 
Jim Wilson, GNU Tools Support, http://www.specifix.com

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

* re: where I can find a crosscompiler for BCM1255
@ 2006-06-09 17:24 Jonathan Day
  2006-06-10  0:38 ` Jim Gifford
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Day @ 2006-06-09 17:24 UTC (permalink / raw)
  To: linux-mips

I have built cross-compilers for the Broadcom BCM1250
using the instructions and patches on the "Linux From
Scratch" website. You need to look for the
cross-compiler version of their guide, then select
"browse online" and finally "mips64" to get to the
instructions/patches for building for the 64-bit MIPS
platforms.

Do NOT use their kernel or kernel patches - use the
version in the git repository on linux-mips.

I personally use the binutils from CVS, rather than
the version they have on their website, but there are
no guarantees that their alterations to their MIPS
code has fixed bugs or added them. This is NOT a
well-tested or well-supported platform, even by (or
especially by, in Broadcom's case) the manufacturers.

I have the C, C++ and GFortran compilers working. It
would appear to be much harder to get ADA to work. I
have not tried Objective C or Objective C++.

(GFortran is buggy, but efforts to get G95 to compile
correctly are so far proving very frustrating. It
compiles natively and cross-compiles just fine, but
fails to generate valid code on the Broadcom 1250. The
compiler does work, as I have got it to work just fine
on ix86 systems and it is the recommended Fortran 95
compiler by many organizations I've talked to.
Obviously, if you don't have to worry about Fortran,
this is a non-issue. For those who do, coaxing G95 to
behave with GCC 4.1.x will be an interesting problem.)


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

* Re: where I can find a crosscompiler for BCM1255
  2006-06-09 17:24 where I can find a crosscompiler for BCM1255 Jonathan Day
@ 2006-06-10  0:38 ` Jim Gifford
  2006-06-12 17:13   ` Jonathan Day
  0 siblings, 1 reply; 5+ messages in thread
From: Jim Gifford @ 2006-06-10  0:38 UTC (permalink / raw)
  To: Jonathan Day; +Cc: linux-mips

Jonathan Day wrote:
> I have built cross-compilers for the Broadcom BCM1250
> using the instructions and patches on the "Linux From
> Scratch" website. You need to look for the
> cross-compiler version of their guide, then select
> "browse online" and finally "mips64" to get to the
> instructions/patches for building for the 64-bit MIPS
> platforms.
>
> Do NOT use their kernel or kernel patches - use the
> version in the git repository on linux-mips.
>
>   

Johnathan, I'm on of the developers of CLFS, did you  run into a problem 
with the patches? The patch is diff  kernel.org and linux-mips.org 
kernels. Just curious, if we missed something let me know.

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

* Re: where I can find a crosscompiler for BCM1255
  2006-06-10  0:38 ` Jim Gifford
@ 2006-06-12 17:13   ` Jonathan Day
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Day @ 2006-06-12 17:13 UTC (permalink / raw)
  To: Jim Gifford; +Cc: linux-mips



--- Jim Gifford <maillist@jg555.com> wrote:

> Jonathan Day wrote:
> > I have built cross-compilers for the Broadcom
> BCM1250
> > using the instructions and patches on the "Linux
> From
> > Scratch" website. You need to look for the
> > cross-compiler version of their guide, then select
> > "browse online" and finally "mips64" to get to the
> > instructions/patches for building for the 64-bit
> MIPS
> > platforms.
> >
> > Do NOT use their kernel or kernel patches - use
> the
> > version in the git repository on linux-mips.
> >
> >   
> 
> Johnathan, I'm on of the developers of CLFS, did you
>  run into a problem 
> with the patches? The patch is diff  kernel.org and
> linux-mips.org 
> kernels. Just curious, if we missed something let me
> know.

No, the patches are fine. The problem is "Rapid
Development Syndrome" - no matter how fast the patches
are updated, critical bugfixes will likely work their
way into the git repository before the next patch
update. This isn't a big issue for 99.99% of the tools
- there, updates are as likely to cause problems as
fix them, so the delay is actually beneficial.

(Now, -configuring- the Linux kernel can be
interesting, as I've yet to get dialog to function
correctly...)

Jonathan


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

end of thread, other threads:[~2006-06-12 17:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-09 17:24 where I can find a crosscompiler for BCM1255 Jonathan Day
2006-06-10  0:38 ` Jim Gifford
2006-06-12 17:13   ` Jonathan Day
  -- strict thread matches above, loose matches on Subject: below --
2006-06-02  7:16 richard
2006-06-02 19:01 ` James E Wilson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.