[Bug bootstrap/11894] gcc cross compiler work with error

drow at mvista dot com gcc-bugzilla@gcc.gnu.org
Mon Aug 18 16:16:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11894



------- Additional Comments From drow at mvista dot com  2003-08-18 16:16 -------
Subject: Re:  New: gcc cross compiler work with error

On Tue, Aug 12, 2003 at 01:05:40PM -0000, lshulov at arabellasw dot com wrote:
> gcc step2:
> /home/GNU/gcc-3.3/configure \
> --target=powerpc-linux --prefix=/opt/Arabella --enable-languages=c,c++ \
> --enable-threads=posix --with-headers=/home/GNU/glibc-2.3.2/glibc-2.3.2/include \
> --with-ghu-as --with-gnu-ld
> make

Glibc's include directory is not the right headers.  Those are not even
public headers, they're internal to glibc.

You have to extract headers from glibc (using install-headers) and then
point --with-headers at that.

--with-sysroot is better but not available in 3.3.



More information about the Gcc-bugs mailing list