On Wed, Jun 3, 2020 at 5:44 AM Mahmood Naderan via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > I would like to statically link my program to a custom glibc version. As you can see below, the following commands are wrong. This looks like more of a glibc question than a gcc question. I would suggest reading https://sourceware.org/glibc/wiki/Testing/Builds Jim