PowerPc Cross Compile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all,
I am trying to cross compile gcc-4.1.0 ( I have also
tried 3.3.2) for powerpc 
using a Freebsd 6.1 box. I configure using:

I have installed the latest binutils and also I have
exported to $PATH the 
following directory:

/usr/local/powerpc/powerpc_exports 

in whitch my binutils are installed. I configure using

/var/gcc-4.1.0/configure --target=powerpc-linux 
--prefix=/usr/local/powerpc/powerpc_exports
--disable-shared 
--disable-threads --enable-languages=c --with-newlib

and then i give: gmake all-gcc install-gcc

After a while I get the error message:

gmake[3]: powerpc-linux-ar: Command not found
gmake[3]: *** [libgcc.a] Error 127
gmake[3]: Leaving directory
`/usr/local/powerpc/build-gcc/gcc'
gmake[2]: *** [stmp-multilib] Error 2
gmake[2]: Leaving directory
`/usr/local/powerpc/build-gcc/gcc'
gmake[1]: *** [all-gcc] Error 2
gmake[1]: Leaving directory
`/usr/local/powerpc/build-gcc'
gmake: *** [all] Error 2


But I DO have exported the directory in which the AR
linker is installed!  
powerpc-linux-ar IS installed!  What can I do? I am
out of ideas. 
Any help would be much appreciated! Thanks in advance
Andreas Sotirakopoulos


		
___________________________________________________________ 
Inbox full of unwanted email? Get leading protection and 1GB storage with All New Yahoo! Mail. http://uk.docs.yahoo.com/nowyoucan.html

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux