This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/13837] libstdc++-v3: language c++ broken when cross compiling gcc for solaris (patch included)
- From: "daniel dot franke at imbs dot uni-luebeck dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Jan 2004 19:14:25 -0000
- Subject: [Bug libstdc++/13837] libstdc++-v3: language c++ broken when cross compiling gcc for solaris (patch included)
- References: <20040123184718.13837.daniel.franke@imbs.uni-luebeck.de>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Additional Comments From daniel dot franke at imbs dot uni-luebeck dot de 2004-01-23 19:14 -------
Snapshot 2004/01/21, configured as before (this is a different error, though):
--
/mnt/gcc-3.4/gcc-3.4-20040121/gcc/xgcc -B/mnt/gcc-3.4/gcc-3.4-20040121/gcc/
-B/home/franke/cross-compile/sparc-sun-solaris//sparc-sun-solaris2.9/bin/
-B/home/franke/cross-compile/sparc-sun-solaris//sparc-sun-solaris2.9/lib/
-isystem
/home/franke/cross-compile/sparc-sun-solaris//sparc-sun-solaris2.9/include
-isystem
/home/franke/cross-compile/sparc-sun-solaris//sparc-sun-solaris2.9/sys-include
-DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes
-Wmissing-prototypes -Wold-style-definition -isystem ./include -I. -I. -I.
-I./. -I./../include \
-c ./config/sparc/gmon-sol2.c -o gmon.o
./config/sparc/gmon-sol2.c: In function `_mcleanup':
./config/sparc/gmon-sol2.c:182: error: `PATH_MAX' undeclared (first use in this
function)
./config/sparc/gmon-sol2.c:182: error: (Each undeclared identifier is reported
only once
./config/sparc/gmon-sol2.c:182: error: for each function it appears in.)
./config/sparc/gmon-sol2.c:182: warning: unused variable `buf'
make[1]: *** [gmon.o] Error 1
make[1]: Leaving directory `/mnt/gcc-3.4/gcc-3.4-20040121/gcc'
make: *** [all-gcc] Error 2
--
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13837