22 Jul
2008
22 Jul
'08
8:39 p.m.
On Tue, Jul 22, 2008 at 08:10:11PM +0200, Xavier <shiningxc@gmail.com> wrote:
Yeah indeed, so how is that handled?
Most build systems supporting cross-compile works like: ./configure --target=powerpc-distro-linux --build=i686-distro-linux or so. And then powerpc-distro-linux-gcc (etc.) will be used for compiling code, while i686-distro-linux-gcc will be used for for some rare code like: gcc -o foo foo.c; ./foo > generated.h or similar. Replace -distro-linux with your favourite CHOST. :-)