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: Trouble with --with-sysroot


On 05.09.2019 19:41, Jim Wilson wrote:
On Thu, Sep 5, 2019 at 8:30 AM Alex <wailingoctopus@gmail.com> wrote:
Looking at my configure options I don't set the libdir for glibc.
.../glibc/configure --build=x86_64-unknown-linux-gnu --host=$target --target=$target --prefix=/home/alex/sysroot/usr --with-headers=/home/alex/sysroot/usr/include

Yes, that looks OK.

No, it doesnt.
--prefix=/usr is what you want. And do install like this: "make install DESTDIR=/home/alex/sysroot"

--
chs


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