problem with compiling ppcboot

3 messages, 3 authors, 2004-07-29 · open the first message on its own page

problem with compiling ppcboot

From: m madhuker <hidden>
Date: 2004-07-29 12:19:49

hello all,
         Im working with MPC8245 EncorePP1 board..
in this when compile ppcboot with make command..

it is showing errors as follows...
--------------
make[1]: Entering directory
`/home/madhu/ppc/ppcboot/ppc'
ppc-elf-gcc -D__ASSEMBLY__ -g  -Os
-fomit-frame-pointer -mrelocatable -ffixed-r14 -meabi
-mrelocatable -ffixed-r14 -meabi -D__KERNEL__
-D__powerpc__ -DTEXT_BASE=0xFFF00000
-I/home/madhu/ppc/ppcboot/include -fno-builtin -pipe
-DCONFIG_PPC -D__powerpc__ -DCONFIG_MPC824X -ffixed-r2
-mstring -mcpu=603e -msoft-float
-DTEXT_BASE=0xFFF00000 -DCONFIG_PPC -D__powerpc__
-DCONFIG_MPC824X -ffixed-r2 -mstring
-mcpu=603e -msoft-float -DTEXT_BASE=0xFFF00000 -c -o
ppcstring.o ppcstring.S
ppc-elf-gcc: installation problem, cannot exec `cpp0':
No such file or directoryas: unrecognized option
`-mppc'
make[1]: *** [ppcstring.o] Error 1
make[1]: Leaving directory
`/home/madhu/ppc/ppcboot/ppc'
make: *** [subdirs] Error 1
[root@mail ppcboot]#
--------------------------------------

        Please give suggestion....
                                    Regards
                                    Madhukar



Y! Messenger - Communicate in real time. Download now.
http://messenger.yahoo.com

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

Re: problem with compiling ppcboot

From: Marc Leeman <hidden>
Date: 2004-07-29 12:46:53

ppcstring.o ppcstring.S
ppc-elf-gcc: installation problem, cannot exec `cpp0':
No such file or directoryas: unrecognized option `-mppc'
Check your installation and/or path. I don't think this is related to
ppcboot, but rather to your system you compile the sources on.

btw, change to u-boot if you only start porting, you'll avoid problems
(inherited code, been there, done that): http://u-boot.sourceforge.net/

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

Re: problem with compiling ppcboot

From: Sylvain Munaut <hidden>
Date: 2004-07-29 13:23:17

       Please give suggestion....
Don't use ppcboot. Use U-Boot ( new version ... ) and ask questions on
the u-boot list.


Sylvain Munaut

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help