Skip to contentSkip to conversation

where I can find a crosscompiler for BCM1255

DISCUSSION richard 2 participants 2 messages Jun 2, 2006 MIPS

lore
Share & tools
lore

richard

author
#0 lore raw

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.

#1 lore raw
Quoted 1 line · richard

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.

Quoted 1 line

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.

Quoted 1 line

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.

Signature · 1 line
Jim Wilson, GNU Tools Support, http://www.specifix.com