public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/39622]  New: Missing -isystem include-fixed when building canadian cross libgcc
@ 2009-04-03  8:50 georgjohann at web dot de
  2010-03-11  2:00 ` [Bug bootstrap/39622] " monaka at monami-software dot com
  0 siblings, 1 reply; 2+ messages in thread
From: georgjohann at web dot de @ 2009-04-03  8:50 UTC (permalink / raw)
  To: gcc-bugs

The following is just a verbatim copy of
   http://gcc.gnu.org/ml/gcc-help/2009-04/msg00023.html
For details and possible patch follow the link.

--

I'd like to build a canadian cross configured with
  --host=i586-mingw32
  --build=i686-linux-gnu

Everything goes fine except building libgcc because limits.h cannot be found,
as include-fixed is not in include path.

The problem looks like this: For a native build, i.e. host=build,
libgcc/Makefile sets CC to
> CC = [target-gcc-build-dir]/./gcc/xgcc -B[target-gcc-build-dir]/./gcc/
but for host != build it is
> CC = [target-gcc]
without adding [target-gcc-build-dir]/./gcc/include-fixed
to the include directory search path my means of -isystem.
However, this directory contains the limits.h.


-- 
           Summary: Missing -isystem include-fixed when building canadian
                    cross libgcc
           Product: gcc
           Version: 4.3.3
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: georgjohann at web dot de
 GCC build triplet: i686-linux-gnu
  GCC host triplet: i586-mingw32
GCC target triplet: any


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug bootstrap/39622] Missing -isystem include-fixed when building canadian cross libgcc
  2009-04-03  8:50 [Bug bootstrap/39622] New: Missing -isystem include-fixed when building canadian cross libgcc georgjohann at web dot de
@ 2010-03-11  2:00 ` monaka at monami-software dot com
  0 siblings, 0 replies; 2+ messages in thread
From: monaka at monami-software dot com @ 2010-03-11  2:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from monaka at monami-software dot com  2010-03-11 02:00 -------
Created an attachment (id=20079)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=20079&action=view)
The patch to trunk.

Same as http://gcc.gnu.org/ml/gcc-help/2009-04/msg00023.html


-- 


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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-03-11  2:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-04-03  8:50 [Bug bootstrap/39622] New: Missing -isystem include-fixed when building canadian cross libgcc georgjohann at web dot de
2010-03-11  2:00 ` [Bug bootstrap/39622] " monaka at monami-software dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).