automake-patches
[Top][All Lists]
Advanced

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

AM_ENABLE_MULTILIB: Allow switching the default


From: Ralf Corsepius
Subject: AM_ENABLE_MULTILIB: Allow switching the default
Date: 16 Jul 2003 08:49:35 +0200

Hi,

another multilib related patch to allow switching the default of
AM_ENABLE_MULTILIB.

Background: The current default of AM_ENABLE_MULTILIB is to build
multilibs. This is OK for gcc/binutils/newlib etc., but is unsafe in
general otherwise, because config-ml.in internally assumes using gcc
with multilib support. 

I.e. building packages using AM_ENABLE_MULTILIB will almost certainly
fail to build if not using gcc. Furthermore, building with multilibs
enabled can dramatically increase compilation times (One gcc variant I
use applies ca. 30 multilib variants - 30 times the compilation time of 
non-multilib'ed builds)

I therefore prefer using a default of "no".

[May-be we should consider adding a check for "$(CC) -print-multi-lib"
and conditionally disable invoking config-ml.in based on this check.
Conditionalizing this calling config-ml.in based on test -n "$GCC" is
not enough, because older gccs do not support multilibs.]

Ralf

Attachment: automake-rc-20030715-2.diff
Description: Text document


reply via email to

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