This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Jan 2006 03:01:08 -0000
- Subject: [Bug bootstrap/25672] cross build's libgcc picks up CFLAGS
- References: <bug-25672-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from pluto at agmk dot net 2006-01-05 03:01 -------
(In reply to comment #3)
> (In reply to comment #2)
> > moreover the buildsystem doesn't propagate -I$target-headers-directory
> > specified in configure by --with-headers=$dir and build fails.
> >
> > below log comes from powerpc (host, build: ppc32, target: ppc64):
>
> That is because people are now building normally --with-sysroot for crosses but
> that is a different bug than this one.
>
I known the 'sysroot' option but it has a side effect - a hardcoded sysroot
path in binaries. The 'headers' option hasn't similar impact. I'm building
glibc headers for target in temporary dir and can't hardcode (via sysroot
option) this dir in the final crossgcc.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25672