This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Canadian cross build and libstdc++ configure
- From: Steve Ellcey <sellcey at mips dot com>
- To: <pinskia at gmail dot com>
- Cc: "<libstdc++ at gcc dot gnu dot org>" <libstdc++ at gcc dot gnu dot org>, "<gcc at gcc dot gnu dot org>" <gcc at gcc dot gnu dot org>
- Date: Wed, 30 Oct 2013 09:46:44 -0700
- Subject: Re: Canadian cross build and libstdc++ configure
- Authentication-results: sourceware.org; auth=none
- References: <57179fff-6829-4461-af18-f4856d496a0e at BAMAIL02 dot ba dot imgtec dot org> <B1C259D1-AD11-4663-B5DD-76A611846EFA at gmail dot com>
On Tue, 2013-10-29 at 16:45 -0700, pinskia@gmail.com wrote:
> I ran into similar issues building this way. The way I ended up working around is just copying the
> Already built libraries from a non Canadian cross build.
>
> Thanks,
> Andrew
Yes, but we should fix it so that we don't need a workaround. I am
going to submit a patch that checks for fenv.h and complex.h using the
C compiler instead of the C++ compiler by adding a call to
AC_CHECK_HEADERS in libstdc++ configure.ac. That fixes the problem for
me and allows me to do a build with no workarounds because then, when
GLIBCXX_CHECK_C99_TR1 checks for the headers, it uses the saved values
which will be false if the headers don't exist in C.
Steve Ellcey
sellcey@mips.com