public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40353] New: [GCC-4.4.0] configure --with-sysroot needs header files, but it should not
@ 2009-06-05 12:20 no dot spam dot to dot me at ish dot de
2009-11-22 19:52 ` [Bug other/40353] " jsm28 at gcc dot gnu dot org
0 siblings, 1 reply; 2+ messages in thread
From: no dot spam dot to dot me at ish dot de @ 2009-06-05 12:20 UTC (permalink / raw)
To: gcc-bugs
Hello!
I try to build a cross compiler with sysroot support- before I build one
without sysroot support.
To build without sysroot support I used the following configure options:
--prefix="${CROSS_DIR}" --target="${BUILD_TARGET}" --with-cpu=405 --disable-nls
--disable-shared --disable-multilib --disable-decimal-float --disable-threads
--disable-libmudflap --disable-libssp --disable-libgomp --enable-languages=c
It compiled without having a libc installed (just binutils, of course).
Now I want to build a cross compiler with sysroot- support (binutils compiled
fine) with the following options:
--prefix="${CROSS_DIR}" --target="${BUILD_TARGET}"
--with-sysroot="${CROSS_DIR}" --with-cpu=405 --disable-nls --disable-shared
--disable-multilib --disable-decimal-float --disable-threads
--disable-libmudflap --disable-libssp --disable-libgomp --enable-languages=c
Now libc- headers are needed. Even when --without-headers is given as option.
I don't understand that.
--
Summary: [GCC-4.4.0] configure --with-sysroot needs header files,
but it should not
Product: gcc
Version: 4.4.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: no dot spam dot to dot me at ish dot de
GCC build triplet: i686-pc-linux-gnu
GCC host triplet: i686-pc-linux-gnu
GCC target triplet: powerpc-405-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40353
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Bug other/40353] [GCC-4.4.0] configure --with-sysroot needs header files, but it should not
2009-06-05 12:20 [Bug c/40353] New: [GCC-4.4.0] configure --with-sysroot needs header files, but it should not no dot spam dot to dot me at ish dot de
@ 2009-11-22 19:52 ` jsm28 at gcc dot gnu dot org
0 siblings, 0 replies; 2+ messages in thread
From: jsm28 at gcc dot gnu dot org @ 2009-11-22 19:52 UTC (permalink / raw)
To: gcc-bugs
------- Comment #1 from jsm28 at gcc dot gnu dot org 2009-11-22 19:52 -------
The magic option to allow system headers not to be present (for an early
compiler in a series of multiple compiler/libc builds / header installs
to bootstrap a full toolchain) is --with-newlib, but this should be
documented (and preferably there should be a more meaningful option
to enable inhibit_libc directly).
--
jsm28 at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Component|c |other
Ever Confirmed|0 |1
Last reconfirmed|0000-00-00 00:00:00 |2009-11-22 19:52:20
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40353
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-11-22 19:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-05 12:20 [Bug c/40353] New: [GCC-4.4.0] configure --with-sysroot needs header files, but it should not no dot spam dot to dot me at ish dot de
2009-11-22 19:52 ` [Bug other/40353] " jsm28 at gcc dot gnu dot org
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).