[pacman-dev] [PATCH 1/1] To use in cross-compile environments we need a special strip-binary.

Miklos Vajna vmiklos at frugalware.org
Tue Jul 22 16:39:27 EDT 2008


On Tue, Jul 22, 2008 at 08:10:11PM +0200, Xavier <shiningxc at 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. :-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://archlinux.org/pipermail/pacman-dev/attachments/20080722/43ec6c51/attachment.pgp>


More information about the pacman-dev mailing list