This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/28097] error: ‘PATH_MAX’ undeclared (first use in this function) when building cross compiler
- From: "info at yourkit dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 20 Jun 2006 16:38:39 -0000
- Subject: [Bug target/28097] error: ‘PATH_MAX’ undeclared (first use in this function) when building cross compiler
- References: <bug-28097-9424@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #2 from info at yourkit dot com 2006-06-20 16:38 -------
Actually the problem was solved (in our case) by copying header files from
Solaris machine to $PREFIX/sysroot/usr/include dictory and additing
"--with-sysroot=$PREFIX/sysroot" to configuration options. Binutils also need
to have "--with-sysroot=$PREFIX/sysroot" option. But we are getting stuck with
bug #28101
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28097