Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-09 Thread Eric Christopher
= Both binutils and glibc's configure scripts will see it as a mips32, because it does not start off with mips64 in the name. Should probably fix the configury to recognize mipsisa64 as a 64-bit target. binutils should already do this for mipsisa64-linux-gnu, but I don't know about current g

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-08 Thread Jonathan Day
Ok, I -think- I've found one problem. Identifying the processor as an SB1 may be producing a confused result. Both binutils and glibc's configure scripts will see it as a mips32, because it does not start off with mips64 in the name. However, GCC's configure scripts expands the name to mipsisa64

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-08 Thread Jonathan Day
Here's the web link to all of the patches needed by the Linux From Scratch group. http://documents.jg555.com/cross-lfs/mips64-64/materials/patches.html I'm doing a build from the binutils, gcc and glibc from CVS, for an initial run. Results so far: Binutils patches cleanly, using the patch on fi

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-08 Thread Ian Lance Taylor
Jonathan Day <[EMAIL PROTECTED]> writes: > I -think- I need a chisel, as well, though. On > producing the bootstrap GCC cross-compiler, trying to > compile with it produces the error that it can't find > crti.o, crtn.o or crt1.o. IIRC, these are produced > when compiling GCC, but the GCC in CVS do

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-08 Thread Daniel Kegel
Jonathan Day wrote: Crosstool, for example, only supports 32-bit MIPS - and even then the build matrix is a pretty shade of red for the most part. [ The build matrix: http://kegel.com/crosstool/current/buildlogs/ ] There are quite a few combinations that build for 32-bit mips with crosstool,

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-08 Thread Jonathan Day
--- Kai Ruottu <[EMAIL PROTECTED]> wrote: > So, Jonathan, if you need to get a knife (glibc) for >producing your own hammer (gcc), just ask someone to >give that knife and produce your own hammer first with >that borrowed knife. And then produce your own knife >using your self-made hammer and late

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-07 Thread Kai Ruottu
Kai Ruottu wrote: How one gets the first toolchain made shouldn't have the importance many people think it has... My opinion (clashing badly with Dan's) is that the first build has no importance at all, if one knows the basics for Linux, for compiling and for other newbie-level things, one easi

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-07 Thread Kai Ruottu
David Daney wrote: Ian Lance Taylor writes: > Jonathan Day <[EMAIL PROTECTED]> writes: > > > My question is simple enough - has anyone built a > > toolchain for a MIPS64-Linux-GNU target? > > Yes, I did, last year. > > But I did it through a tedious iterative process--build the binutils

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-07 Thread David Daney
Andrew Haley wrote: Ian Lance Taylor writes: > Jonathan Day <[EMAIL PROTECTED]> writes: > > > My question is simple enough - has anyone built a > > toolchain for a MIPS64-Linux-GNU target? > > Yes, I did, last year. > > But I did it through a tedious iterative process--build the binut

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-07 Thread Andrew Haley
Ian Lance Taylor writes: > Jonathan Day <[EMAIL PROTECTED]> writes: > > > My question is simple enough - has anyone built a > > toolchain for a MIPS64-Linux-GNU target? > > Yes, I did, last year. > > But I did it through a tedious iterative process--build the binutils, > build the compi

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-07 Thread Ian Lance Taylor
Jonathan Day <[EMAIL PROTECTED]> writes: > My question is simple enough - has anyone built a > toolchain for a MIPS64-Linux-GNU target? Yes, I did, last year. But I did it through a tedious iterative process--build the binutils, build the compiler until it fails building libgcc, install parts of

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-07 Thread Paul Koning
> "Jonathan" == Jonathan Day <[EMAIL PROTECTED]> writes: Jonathan> Hi, I am trying to compile a toolchain for a Broadcom SB1 Jonathan> processor in big-endian mode with a host Operating System Jonathan> of Linux. (The SB1 is a MIPS64, but there is also a Jonathan> specific SB1 target.) So

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-07 Thread Jonathan Day
I don't have a mips64 version of glibc, I'm having to build the entire toolchain from the ground up. (Yuck.) I'm trying to build the entire toolchain as 64-bit native, which is adding to my problems. (Crosstool, for example, only supports 32-bit MIPS - and even then the build matrix is a pretty sh

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-07 Thread Richard Sandiford
Further to Eric's good advice: Do you already have access to a mips64 version of glibc? (You said in your message that you'd tried a native build, but I wasn't sure whether that was using a 32-bit OS or a 64-bit OS) It's tricky to build a toolchain and glibc in tandem (i.e. when neither is avail

Re: Question regarding compiling a toolchain for a Broadcom SB1

2005-09-06 Thread Eric Christopher
I would prefer a recipe to build the toolchain myself from source, but if you happen to know of a site with binaries for the SB1 under Linux, I wouldn't be horribly opposed. For the latter I'd try broadcom, they've been pretty good about shipping tools that are known to work on the board. Tha

Question regarding compiling a toolchain for a Broadcom SB1

2005-09-06 Thread Jonathan Day
Hi, I am trying to compile a toolchain for a Broadcom SB1 processor in big-endian mode with a host Operating System of Linux. (The SB1 is a MIPS64, but there is also a specific SB1 target.) So far, I'm running into error after error when attempting to build either directly on the board or attempti