Skip to contentSkip to conversation

problem when compiling gcc for pwerpc

DISCUSSION vandana mehtani 2 participants 2 messages Jun 5, 2002

lore
Share & tools
lore
#0 lore raw

ya i can do this ..
but the error if can be solved wld be nice... it is looking for ppc-linux-ar..
which is made in the binutils in the bin diretory.. why it is not taking in the path ..
i donot understand..
bye
vandana

Quoted 32 lines · On Wed, 05 Jun 2002 Wolfgang Denk wrote :

Dear Vandana,

in message <[email protected]>

Quoted 2 lines · you

i am trying to make a crosscompiler for powerpc using the

option

Quoted 1 line

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 1 line

when i was trying to configure gcc for powerpc with the

following

Quoted 2 lines

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

Quoted 8 lines

--
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/

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

ya i can do this ..
but the error if can be solved wld be nice...

It's a waste of time even to look at it.

The 2.96 version of GCC is broken. It has never been officially released, and it cannot be used for any kernel-related work.

Forget it.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] Hacking's just another word for nothing left to kludge.

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