Re: native compiler linked to another glibc

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

 



On Fri, Dec 24, 2021 at 6:20 PM Bill Cunningham via Gcc-help <
gcc-help@xxxxxxxxxxx> wrote:

>      I compile a newer glibc and save it in a a path in /mnt. The
> problems I seem to be running into I believe are addressed in that FAQs,
> at least in a similar form. I compile, or try to, a native compiler that
> will be attached to the new glibc (not the system glibc).
>

Adding a -v option to a gcc command will show what is happening inside the
gcc driver, and might give a clue as to what is going on.

Using your own glibc which is not installed in the normal location is
complicated.  I would suggest looking at
    https://sourceware.org/glibc/wiki/Testing/Builds#Testing_a_glibc_build

Note that some glibc libraries are actually linker scripts, and may have
references to /usr embedded in them.  This is why the glibc wiki recommends
using sysroot to point at the new glibc.

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