This is the mail archive of the gcc-help@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]

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


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