From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29043 invoked by alias); 29 Apr 2011 08:17:44 -0000 Received: (qmail 29030 invoked by uid 22791); 29 Apr 2011 08:17:42 -0000 X-SWARE-Spam-Status: No, hits=-2.7 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from localhost (HELO gcc.gnu.org) (127.0.0.1) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 29 Apr 2011 08:17:29 +0000 From: "henry0312 at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: other X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: henry0312 at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Fri, 29 Apr 2011 08:17:00 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2011-04/txt/msg03063.txt.bz2 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48815 Summary: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES. Product: gcc Version: 4.5.3 Status: UNCONFIRMED Severity: normal Priority: P3 Component: other AssignedTo: unassigned@gcc.gnu.org ReportedBy: henry0312@gmail.com Hello. I tried to compile gcc 4.5.3 stable on Mac OS X 10.6.7 (Darwin 10.7.3, Xcode 3.2.3) and confronted configure errors at libiberty and libssp. My configure options: ../gcc-4.5.3/configure\ --with-pkgversion='GCC 4.5.3 x86_64-apple-darwin10'\ --prefix=$HOME/local/gcc45\ --build=x86_64-apple-darwin10\ --with-local-prefix=$HOME/local/gcc45\ --disable-debug\ --disable-shared\ --enable-static\ --disable-multilib\ --enable-threads=posix\ --disable-bootstrap\ --enable-version-specific-runtime-libs\ --enable-languages=c,c++,objc,obj-c++\ --enable-stage1-checking\ --disable-nls\ --enable-werror\ --enable-lto\ --with-system-zlib\ --enable-fully-dynamic-string However, When I tried without '--disable-debug' and '--enable-static", compiled successfully.