Author Topic: how Cross compile for powerpc in debian?  (Read 4820 times)

Offline thamurath

  • Single posting newcomer
  • *
  • Posts: 9
how Cross compile for powerpc in debian?
« on: May 05, 2009, 09:10:22 am »
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
« Last Edit: May 05, 2009, 05:17:04 pm by thamurath »