autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Why was handling of program_prefix changed?


From: Ralf Corsepius
Subject: Re: Why was handling of program_prefix changed?
Date: 14 Feb 2002 11:38:35 +0100

Am Mit, 2002-02-13 um 20.09 schrieb Henrique de Moraes Holschuh:

> Currently we have some major breakage in Debian re. crosscompilation, and we
> really would prefer to fix it only once (since it does mean changing all
> packages that use autoconf, and that's quite a lot).  That means we have
> thousands of packages using a mix of 2.13 and 2.52 autoconf scripts that
> need to be modifed.  We would also like to tell configure what arch to build
> for directly while at it (even when not crosscompiling), to avoid the
> config.guess call.
>
> (FYI, crosscompilation in Debian is archived by setting some environment
> variables, which set the desired host and target archs. 
>
> These variables are
> always set, since we don't want packages building for iX86-pc-linux-gnu, for
> X != 3, just because the build machine is not an old i386; you are
> crosscompiling if host != build arch).

=> Just explicitly set host == build

E.g apply something similar to this:

MYHOST=i586-pc-linux-gnu
MYTARGET=${MYTARGET-${MYHOST}
configure --build=${MYHOST} --host=${MYTARGET}

Ralf












reply via email to

[Prev in Thread] Current Thread [Next in Thread]