This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
How do you use --with-headers and --with-sysroot?
- From: Dave Murphy <davem at devkitpro dot org>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 14 Apr 2012 00:01:28 +0100
- Subject: How do you use --with-headers and --with-sysroot?
Hi,
I'm building bare metal toolchains with newlib & atm I'm configuring
using --with-headers=<path to>/newlib/libc/include - make install-gcc,
build & install newlib then go back & make all && make install in gcc
build folder. That leaves <prefix>/arm-eabi/sys-include in place which
the toolchain then uses unless I delete it
Should I delete it before building newlib? after building the
toolchain? or should I go back and reconfigure gcc from the beginning
without the --with-headers option?
I used to build using --with-newlib and --without headers but ended up
switching to this after some problems with the headers, unfortunately
I've lost the notes I made at the time and can't remember exactly what
the problem was.
Dave