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/25672] cross build's libgcc picks up CFLAGS



------- 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



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