News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

how Cross compile for powerpc in debian?

Started by thamurath, May 05, 2009, 09:10:22 AM

Previous topic - Next topic

thamurath

Hi all,

i am working on a embedded system with a powerpc cpu and debian, my pc has debian also. I have the gcc-cross compiler installed and all the libraries. The group that was working on the project before me used autotools but they left a messy behind them and now i am trying to migrate to C:B. The questions are :
1- when using autotools the use the parameters "-host=i686-linux -target=powerpc-linux -build=powerpc-linux" to tell the compilar that the host machine and the target one was not the same so it has to use a cross compiler, How can i do it in C:B?
2- I set the compiler options to use the powerpc version of gcc but How can i be sure  compiler is using the cross version of libraries ?

Thanks in advance.


P.S.: Sorry about my English