This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/43301] New: top-level configure script ignores ---with-build-time-tools
- From: "scovich at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 9 Mar 2010 01:00:28 -0000
- Subject: [Bug bootstrap/43301] New: top-level configure script ignores ---with-build-time-tools
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
./configure ... --with-build-time-tools=$MY_TOOLS ignores $MY_TOOLS (though it
correctly warns when $MY_TOOLS is not an absolute path).
Let's just say this led to extremely frustrating behavior until I decided to
start digging...
Suggested patch to correct the problem:
Index: /home/Ryan/apps/gcc-4.5-src/configure.ac
===================================================================
--- /home/Ryan/apps/gcc-4.5-src/configure.ac (revision 157227)
+++ /home/Ryan/apps/gcc-4.5-src/configure.ac (working copy)
@@ -3221,7 +3221,9 @@
[ --with-build-time-tools=PATH
use given path to find target tools during the
build],
[case x"$withval" in
- x/*) ;;
+ x/*)
+ with_build_time_tools=$withval
+ ;;
*)
with_build_time_tools=
AC_MSG_WARN([argument to --with-build-time-tools must be an absolute
path])
--
Summary: top-level configure script ignores ---with-build-time-
tools
Product: gcc
Version: 4.5.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: scovich at gmail dot com
GCC host triplet: i686-pc-cygwin
GCC target triplet: x86_64-unknown-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43301