[Bug other/48815] New: configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.

henry0312 at gmail dot com gcc-bugzilla@gcc.gnu.org
Fri Apr 29 08:17:00 GMT 2011


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.



More information about the Gcc-bugs mailing list