Jump to content

Cross Compile PHP 5.2.X on i686 PC for Embedded Processor


Recommended Posts

Hello,

 

I have been trying to cross compile PHP 5.2.8 or 5.2.10 on my standard i686 Linux PC to a PPC 6XX processor.  But I do not know if I have performed the correct steps to compile this properly.  Basically what I did was to set the configuration, make, and then make install.

 

Below is the configuration that I used.

./configure --host=ppc-6xx-linux-gnu --build=i686-linux-gnu --prefix=/home/fredc/php/5.2.X/ppc_6xx

 

Normally to cross compile, the CC needs to be specified as well.  But I don't think there is that option for this 'configure'.

 

Can someone please help and let me know if there is anything that I am doing incorrectly?

 

Thank you.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.