configure fails if not root
Brian Dessent
brian@dessent.net
Sat Oct 6 08:47:00 GMT 2007
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
More information about the Gcc-help
mailing list