Configuring: with-sysroot without-headers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: gcc-help@xxxxxxxxxxx
- Subject: Configuring: with-sysroot without-headers
- From: "Matwey V. Kornilov" <matwey.kornilov@xxxxxxxxx>
- Date: Sat, 19 Oct 2013 18:23:51 +0400
- Authentication-results: sourceware.org; auth=none
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0
Hi,
I am trying to compile cross (gcc version: 4.8.2, target: avr), and
there is gap in my education. What is the real purpose of --with-sysroot
and --with-build-sysroot?
When I use ./configure without --with-build-sysroot --with-sysroot
--without-headers then everything looks to be compiled fine.
When I use ./configure --with-sysroot=/usr/avr
--with-build-sysroot=/usr/avr --without-headers (which should do the
same for my opinion), I got an error with the message "The directory
that should contain system headers does not exist". Why does
--without-headers not act as I expect? I will populate
/usr/avr/usr/include with avrlibc later (should I?), but now I want not
to use target headers (I have not got yet the cross to compile avr-libc).
[Index of Archives]
[Linux C Programming]
[Linux Kernel]
[eCos]
[Fedora Development]
[Fedora Announce]
[Autoconf]
[The DWARVES Debugging Tools]
[Yosemite Campsites]
[Yosemite News]
[Linux GCC]