This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building a Solaris cross compiler


Ok - I'm a bit of a newbie at this stuff so bear with me.

I went into my gcc-3.4.0/gcc directory and applied the patch with patch <
(thepatchfile).  The output was "patching Makefile.in", so I assumed this
worked.  I then blew away my old build tree to start from scratch and
reconfigured gcc using the same switches as in the previous post.  During
the make I get:


checking how to run the C preprocessor...
/users/mark/cross2/build-gcc/gcc/xgcc
-B/users/mark/cross2/build-gcc/gcc/ -B/users/mark/cross2/build-install/sparc
-sun-solaris2.9/bin/ -B/users/mark/cross2/build-install/sparc-sun-solaris2.9
/lib/ -isystem
/users/mark/cross2/build-install/sparc-sun-solaris2.9/include -isystem
/users/mark/cross2/build-install/sparc-sun-solaris2.9/sys-include  -m64 -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... no
checking for unistd.h... yes
checking for C locale to use... generic
checking for std::allocator base class to use... new
configure: "C" header strategy set to c_std
checking for ISO C99 support in <math.h>... no
checking for ISO C99 support in <stdio.h>... yes
checking for lldiv_t declaration... yes
checking for ISO C99 support in <stdlib.h>... no
checking for additional ISO C99 support in <wchar.h>... no
checking for enabled ISO C99 support... no
checking for enabled long long I/O support... yes
checking for thread model used by GCC... posix
configure: Debug build flags set to -g3 -O0
checking for additional debug build... no
checking for extra compiler flags for building...
checking for mbstate_t... yes
checking wchar.h usability... yes
checking wchar.h presence... yes
checking for wchar.h... yes
checking wctype.h usability... yes
checking wctype.h presence... yes
checking for wctype.h... yes
checking for WCHAR_MIN and WCHAR_MAX... yes
checking for WEOF... yes
checking for wcslen... configure: error: Link tests are not allowed after
GCC_NO_EXECUTABLES.
make: *** [configure-target-libstdc++-v3] Error 1


[mark@cussy1 build-gcc]$

Can someone let me know where I went wrong?

Thanks
Mark
----- Original Message ----- 
From: "Eric Botcazou" <ebotcazou@libertysurf.fr>
To: <mcuss@cdlsystems.com>
Cc: <gcc-return-96598-mcuss=cdlsystems.com@gcc.gnu.org>; <gcc@gcc.gnu.org>
Sent: Friday, May 28, 2004 2:48 PM
Subject: Re: Building a Solaris cross compiler


> > Has anyone seen this before?  Does anyone know which limits.h file I
> > should be using?
>
> Follow this link to get the patch: http://gcc.gnu.org/PR15082
>
> -- 
> Eric Botcazou
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]