Skip to contentSkip to conversation

problem when compiling gcc for pwerpc

DISCUSSION vandana mehtani 3 participants 3 messages Jun 5, 2002 – Jun 17, 2002

lore
Share & tools
lore
#0 lore raw

hello all
i am trying to make a crosscompiler for powerpc using the option powerpc-linux...
when i was trying to configure gcc for powerpc with the following command
usr/src/gcc/gcc-2.96-20000731/configure --target=ppc-linux --prefix=/ccpowerpc --enable-shared --enable-languages=c 2>&1 | tee configure.out
i got the following error...

make[2] ppc-linux-ar
command not found..
make[2] [libgcc.a]
make[1] [stmp-multilib]Error 2
all-gcc
how do i rectify the error..
thanks in advance
vandana

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#1 lore raw

Dear Vandana,

Quoted 3 lines · in message <[email protected]> you wrote:

i am trying to make a crosscompiler for powerpc using the option powerpc-linux...

Why don't you just use existing, working tools? Our Embedded Linux Development Kit is free for download, just us it. It also includes instructions how to rebuild from prstine source files if you're really in the mood to do so. See http://www.denx.de/ELDK/

Quoted 3 lines

when i was trying to configure gcc for powerpc with the following command
usr/src/gcc/gcc-2.96-20000731/configure --target=ppc-linux

You're heading for trouble anyway. GCC 2.96 was never officially released. It is a known fact that it cannot be used for instance to compile a Linux kernel. Even if you manage to build it, you will not have much fun using it.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Real programmers don't comment their code. It was hard to write, it should be hard to understand.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/

#2 lore raw

Regarding floating point exception -IBM750CX

In reply to vandana mehtani

hello guys
i am tring to port linux-2.4.18 & ppcboot on IBM750CX. kernel is booting, it is also mounting ramdisk. But when we are running some of the commands like 'ls' , we are getting some errors like.......

Floating point used in kernel.....
oops....................
segmentation fault...

can any of u guys through a light here.
thanx
Bhupi

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/