Building Cross Compiler for MPC8260ADS

5 messages, 4 authors, 2008-05-26 · open the first message on its own page

Building Cross Compiler for MPC8260ADS

From: Misbah khan <hidden>
Date: 2008-05-23 09:16:30

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

3 more lines

RE: Building Cross Compiler for MPC8260ADS

From: SETTE AGOSTINO - technolabs <hidden>
Date: 2008-05-23 09:32:10

Hi Misbah,

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

Regards
Agostino Sette
-----Original Message-----
From: =
linuxppc-embedded-bounces+agostino.sette=3Dtechnolabs.it@ozlabs.org =
[mailto:linuxppc-embedded-
bounces+agostino.sette=3Dtechnolabs.it@ozlabs.org] On Behalf Of Misbah =
khan
Sent: venerd=EC 23 maggio 2008 11.16
To: <redacted>
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
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 :-
=20
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
=20
=20
=20
Can any one tell me How to get the Cross compiler for MPC8260ADS and =
how to
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-
tp17421912p17421912.html
Sent from the linuxppc-embedded mailing list archive at Nabble.com.
=20
_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded

Re: Building Cross Compiler for MPC8260ADS

From: Norbert van Bolhuis <hidden>
Date: 2008-05-23 13:00:27

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

-- 
This message has been scanned for viruses and is believed to be clean

Re: Building Cross Compiler for MPC8260ADS

From: Robert Schwebel <hidden>
Date: 2008-05-25 19:35:21

On Fri, May 23, 2008 at 02:16:26AM -0700, Misbah khan wrote:
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
-- 
 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

Re: Building Cross Compiler for MPC8260ADS

From: Misbah khan <hidden>
Date: 2008-05-26 10:16:07

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




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

-- 
This message has been scanned for viruses and is believed to be clean

_______________________________________________
Linuxppc-embedded mailing list
Linuxppc-embedded@ozlabs.org
https://ozlabs.org/mailman/listinfo/linuxppc-embedded
-- 
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help