Hi Iain

successes so far:

1)
binutils compiles and installs OK
making in dir /usr/src/arm/binutils, with main tree in /usr/src, I did
./../binu*/configure --target=arm-linux --prefix=/usr
make
make install

2)
egcs partially installed.. 
making in dir /usr/src/arm/egcs, with main source tree in /usr/src...
linux tree in /usr/src
do
./../eg*/configure --target=arm-linux --prefix=/usr
edit /usr/src/arm/egcs/Makefile to add 
-Dinhibit_libc -I/usr/include
to the CFLAGS line
 then mkdir /usr/arm-linux
 then mkdir /usr/arm-linux/include
 then cd /usr/arm-linux/include
 then ln -s /usr/src/linux/include/asm-arm .
 then ln -s /usr/src/linux/include/linux .

then make LANGUAGES="c"
then make LANGUAGES="c" install

at this point I had a usable gcc and binutils within /usr/arm-linux/bin

now edit linux/Makefile for 
ARCH=arm
and
CROSS_COMPILE=/usr/arm-linux/bin/

I can now start to compile arm linux.. but there is an error in file
selection.c within
arch/arm/drivers/char, line 37.. inverse_select needs 2 parameters and is
only given
one in the hash define... I've mailed russell and phil.. hope for an answer
soon
 



On Thu, 26 Nov, Iain Grant  wrote:
> John,
> 
> I'm trying to cross compile ARM from a PC as well, using RedHat 5.1 .
> Unfortunately I'm not having much success. If you manage to get things
> working could you let me know.
> 
> Thanks
> 
> iain Grant
> 
> 
> > ----------
> > From:  John Ballance[SMTP:[EMAIL PROTECTED]]
> > Sent:  26 November 1998 7:18 
> > To:  [EMAIL PROTECTED]
> > Subject:  Cross compiling arm kernels
> > 
> > Hi 
> > 
> > Having manifestly failed to get a riscpc system to compile linux kernels
> > OR egcs, I am
> > wondering whether I would have better luck cross compiling from a pc
> > platform
> > (redhat 5.1).  
> > 
> > Is there anything I need to know for this?
> > 
> > Many thanks.. 
> > -- 
> >                       John Ballance
> >  Castle Technology, Ore Trading Estate, Woodbridge Road, Framlingham,
> > Suffolk UK IP13 9LL  Tel  44 (0) 1728 621 631, Fax  44 (0) 1728 621 179
> > web: http://www.castle-technology.co.uk or http://www.castlet.demon.co.uk
> > 
> > unsubscribe: body of `unsubscribe linux-arm' to
[EMAIL PROTECTED]
> > 

-- 
                      John Ballance
 Castle Technology, Ore Trading Estate, Woodbridge Road, Framlingham,
Suffolk UK IP13 9LL  Tel  44 (0) 1728 621 631, Fax  44 (0) 1728 621 179
web: http://www.castle-technology.co.uk or http://www.castlet.demon.co.uk


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to