Re: Trouble with --with-sysroot

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

 



On Thu, Sep 5, 2019 at 8:30 AM Alex <wailingoctopus@xxxxxxxxx> 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.  If it isn't a glibc configure error, then I don't
know what the next most common problem might be.  Some glibc libraries
are linker scripts, like $(sysroot)/usr/lib/libc.so.  You should check
those to make sure the paths are correct.  They should all be sysroot
relative.  You can check the default linker script by running the
cross linker with --verbose and no other options.  Make sure the paths
in there are OK too, again, they should be sysroot relative.

Jim



[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