I successfully compiled binutils-2.16, configured gcc, and binutils, with
--target=sparc64-sun-solaris-2.9 --with-headers=$path_to_headers
--with-libs=$path_to_libs, but when I give the command "make all", this
happens:

...
>checking for ISO C99 support in <stdlib.h>... no
>checking wctype.h usability... yes
>checking wctype.h presence... yes
>checking for wctype.h... yes
>checking for ISO C99 support in <wchar.h>... no
>checking for fully enabled ISO C99 support... no
>checking for enabled long long specializations... yes
>checking for enabled wchar_t specializations... yes
>configure: Debug build flags set to -g3 -O0
>checking for additional debug build... no
>checking for extra compiler flags for building...
>checking for thread model used by GCC... posix
>checking iconv.h usability... yes
>checking iconv.h presence... yes
>checking for iconv.h... yes
>checking langinfo.h usability... yes
>checking langinfo.h presence... yes
>checking for langinfo.h... yes
>checking for iconv in -liconv... configure: error: Link tests are not allowed 
>>after GCC_NO_EXECUTABLES.
>make[1]: *** [configure-target-libstdc++-v3] Error 1
>make[1]: Leaving directory `/home/filipe/sparc64/build-gcc'
>make: *** [all] Error 2


-- 
           Summary: error when building cross-compiler
           Product: gcc
           Version: 4.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: scoton at gmail dot com


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26810

Reply via email to