AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070501165809.2cb0da45@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<larry.scheer@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Tue, 1 May 2007 16:59:22 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Larry Scheer <larry.scheer@onstor.com>
Subject: tool chain and kernel builds
Message-ID: <20070501165922.2a369def@ripper.onstor.net>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

The problem with the kernel builds is that after you install

cpp
gcc
g++

you need to create a symlink like this:

ln -s /usr/bin/mipsel-linux-gnu-gcc-4.1 /usr/bin/mipsel-linux-gnu-gcc

creating a generic version of the command pointing to the one with the
"-4.1" on it.  It was trying to do that with the update-alternatives
command, but that was failing as you saw.  Perhaps you don't have to
create those symlinks if you update the alternatives package.

a
