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]

Re: configure fails if not root


Rick Mann wrote:

> First I configure binutils, then build it and install it (as root),
> then I set the path, then I configure GCC with --with-headers=the
> newlib headers, and I run into this problem:
> ...
> Copying ../../newlib-1.15.0/newlib/libc/include to /usr/local/arm-elf/
> arm-elf/sys-include
> mkdir: /usr/local/arm-elf/arm-elf/sys-include: Permission denied

This is pretty much why --with-headers is deprecated/obsolete.  Its
entire purpose is to simply copy headers into the location under $prefix
where the cross compiler that's about to be built will expect to find
them.  If that's too ugly for you then use a sysroot instead.

Brian


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