Re: configure fails if not root

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux