Skip to contentSkip to conversation

Building Cross Compiler for MPC8260ADS

DISCUSSION Misbah khan 4 participants 5 messages May 23, 2008 – May 26, 2008

lore
Share & tools
lore
#0 lore raw

Hi all

I need to built the cross compiler for MPC8260ADS to compile it for target board. The u-boot which i am using is version 1.1.6. I need to make the u-boot configuration and flash the image. I already have a ppc crosscompiler but it is giving this error message :-

make: powerpc-linux-gcc: Command not found
for dir in tools examples post post/cpu ; do make -C $dir _depend ; done make[1]: powerpc-linux-gcc: Command not found
make[1]: Entering directory `/cashel/home/spx/misbah/u-boot-1.1.6/tools' ln -s ../common/environment.c environment.c
ln -s ../lib_generic/crc32.c crc32.c
make[1]: Leaving directory `/cashel/home/spx/misbah/u-boot-1.1.6/tools' make[1]: powerpc-linux-gcc: Command not found
make[1]: Entering directory /cashel/home/spx/misbah/u-boot-1.1.6/tools' make[1]: Nothing to be done for _depend'.
make[1]: Leaving directory `/cashel/home/spx/misbah/u-boot-1.1.6/tools' make[1]: powerpc-linux-gcc: Command not found
make[1]: Entering directory `/cashel/home/spx/misbah/u-boot-1.1.6/examples' /bin/sh: powerpc-linux-gcc: command not found
dirname: too few arguments
Try `dirname --help' for more information.
/bin/sh: powerpc-linux-gcc: command not found
dirname: too few arguments
Try `dirname --help' for more information.
/bin/sh: powerpc-linux-gcc: command not found
/bin/sh: powerpc-linux-gcc: command not found
/bin/sh: powerpc-linux-gcc: command not found

Can any one tell me How to get the Cross compiler for MPC8260ADS and how to built it ...

Please do share your experience in this regard ...

Thanks in Advance
Misbah <><

Signature · 2 lines
View this message in context: http://www.nabble.com/Building-Cross-Compiler-for-MPC8260ADS-tp17421912p17421912.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
#1 lore raw

Hi Misbah,

This is off topic here. Please post on the u-boot-users mailing list instead.

Regards
Agostino Sette

Quoted 2 lines

-----Original Message-----
From: =

linuxppc-embedded-bounces+agostino.sette=3Dtechnolabs.it@ozlabs.org = [mailto:linuxppc-embedded-

Quoted 1 line

[email protected]] On Behalf Of Misbah =

khan

Quoted 8 lines

Sent: venerd=EC 23 maggio 2008 11.16
To: [email protected]
Subject: Building Cross Compiler for MPC8260ADS
=20
=20
Hi all
=20
I need to built the cross compiler for MPC8260ADS to compile it for =

target

Quoted 1 line

board. The u-boot which i am using is version 1.1.6. I need to make =

the

Quoted 1 line

u-boot configuration and flash the image. I already have a ppc =

crosscompiler

Quoted 4 lines

but it is giving this error message :-
=20
make: powerpc-linux-gcc: Command not found
for dir in tools examples post post/cpu ; do make -C $dir _depend ; =

done

Quoted 2 lines

make[1]: powerpc-linux-gcc: Command not found make[1]: Entering directory =

`/cashel/home/spx/misbah/u-boot-1.1.6/tools'

Quoted 3 lines

ln -s ../common/environment.c environment.c ln -s ../lib_generic/crc32.c crc32.c make[1]: Leaving directory =

`/cashel/home/spx/misbah/u-boot-1.1.6/tools'

Quoted 2 lines

make[1]: powerpc-linux-gcc: Command not found make[1]: Entering directory =

`/cashel/home/spx/misbah/u-boot-1.1.6/tools'

Quoted 2 lines

make[1]: Nothing to be done for `_depend'. make[1]: Leaving directory =

`/cashel/home/spx/misbah/u-boot-1.1.6/tools'

Quoted 2 lines

make[1]: powerpc-linux-gcc: Command not found make[1]: Entering directory =

`/cashel/home/spx/misbah/u-boot-1.1.6/examples'

Quoted 5 lines

/bin/sh: powerpc-linux-gcc: command not found
dirname: too few arguments
Try `dirname --help' for more information. /bin/sh: powerpc-linux-gcc: command not found
dirname: too few arguments

Quoted 8 lines

Try `dirname --help' for more information.
/bin/sh: powerpc-linux-gcc: command not found
/bin/sh: powerpc-linux-gcc: command not found
/bin/sh: powerpc-linux-gcc: command not found
=20
=20
=20
Can any one tell me How to get the Cross compiler for MPC8260ADS and =

how to

Quoted 8 lines

built it ...
=20
Please do share your experience in this regard ... =20
Thanks in Advance
Misbah <><
--
View this message in context: =

http://www.nabble.com/Building-Cross-Compiler-for-MPC8260ADS-

Quoted 7 lines

tp17421912p17421912.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com. =20
_______________________________________________
Linuxppc-embedded mailing list [email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

#3 lore raw

Hi Mr Bolhuis

Thanks for your reply. i did the same what you suggested,but while running the script its asking to set the enviourmnental variable like TARGET,PREFIX,GCC,GCC_FLAG etc which unknowlingly how can we set. Is there a config file that should tell us what are the enviourmnental variable to be set.

regards
Misbah <><

Quoted 15 lines · Norbert van Bolhuis-2 wrote:

you can build cross gcc compilers with crosstool. this is a tool (script) that does everything for you, see http://kegel.com/crosstool

Signature · 6 lines
This message has been scanned for viruses and is believed to be clean

_______________________________________________
Linuxppc-embedded mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
Signature · 2 lines
View this message in context: http://www.nabble.com/Building-Cross-Compiler-for-MPC8260ADS-tp17421912p17469227.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
#4 lore raw
In reply to Misbah khan
Quoted 4 lines · Misbah khan

I need to built the cross compiler for MPC8260ADS to compile it for target board. The u-boot which i am using is version 1.1.6. I need to make the u-boot configuration and flash the image. I already have a ppc crosscompiler but it is giving this error message :-

OSELAS.Toolchain-1.1.1 can build a powerpc-603e-linux-gnu compiler for you which works for the 8260.

Robert

Signature · 5 lines
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9