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

Re: --target in %configure in rawhide i386

On 08/08/2009 08:58 PM, Jussi Lehtola wrote:
On Sat, 2009-08-08 at 18:34 +0200, Ralf Corsepius wrote:
On 08/08/2009 12:19 PM, Jussi Lehtola wrote:

why does %configure still use

--build=i686-pc-linux-gnu --host=i686-pc-linux-gnu

in rawhide i386, shouldn't the target be i686-redhat-linux-gnu?

--target should not be set at all.

It's meaningless for 99.9% of all packages.

.. and it causes trouble in the 0.1% of packages: compilers.

Correct, it's a bug in redhat-rpm-config.

Actually, I thought this was fixed a long time ago, because we have this discussion each time a compiler/toolchain package is being introduced to Fedora.

Either this didn't happen or somebody reintroduced the bug.

Common work-around is not to use %configure for such package.

At least
the pcc build scripts think that a cross-compilation is in course, since
the host and target arguments differ.
This would be a bug in this package.

Modern (autoconf > 2.13) autotools treat $build != $host as cross compilation.


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