Trouble with --with-sysroot

Christer Solskogen christer.solskogen@gmail.com
Fri Sep 6 11:16:00 GMT 2019


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



More information about the Gcc-help mailing list