using GNU libc 2.27
Paul Zimmermann
Paul.Zimmermann@inria.fr
Mon Apr 20 09:32:29 GMT 2026
thank you Arsen for your answer.
> Try getting one of the compiler commands involved in building
> libgmp.so.10 and passing it -save-temps, and look at the location
> information in the resulting '.i' (or '.ii') file. I suspect you'll see
> /usr/include in there.
I tried this, but I get no '.i' (or '.ii') files:
$ gcc -save-temps=cwd -shared -fPIC -DPIC .libs/assert.o ... rand/.libs/randmui.o -L/localdisk/zimmerma/glibc-2.27/install/lib -Wl,-soname -Wl,libgmp.so.10 -o .libs/libgmp.so.10.5.0
$ find . -name "*.i"
$ find . -name "*.ii"
$
Paul
More information about the Libc-alpha
mailing list