This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Building gcc3 on Mandrake 8.0
- To: gcc at gcc dot gnu dot org
- Subject: Building gcc3 on Mandrake 8.0
- From: Jean-Marc Valin <jmvalin at locusdialogue dot com>
- Date: Tue, 19 Jun 2001 14:08:10 -0400
- Organization: Locus Dialogue
Hi,
I really don't know where to send this. I don't even know if it's a bug.
Building gcc 3.0 (the official release) breaks on Mandrake 8.0 because
the following header: i686-pc-linux-gnu/libstdc++-v3/include/bits/gthr.h
is not generated properly from gthr.h-in
The correct result obtained for another system when running:
cat gthr.h-in | sed '/^#/s/\([A-Z_][A-Z_]*\)/_GLIBCPP_\1/g'
line 29:
#ifndef _GLIBCPP___gthr_GLIBCPP__h
#define _GLIBCPP___gthr_GLIBCPP__h
However when I run that on Mandrake 8.0, I get:
line 29:
#_GLIBCPP_ifndef _GLIBCPP___gthr_h
#_GLIBCPP_define _GLIBCPP___gthr_h
On both systems, sed -V gives me:
GNU sed version 3.02
but the binaries are different. I guess it's a bug in the sed version
shipped with Mandrake 8.0, but if there's a workaround that would not
trigger the bug, I think it would be a good idea to implement it.
Jean-Marc