This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]