How can I link the binutils using the static 'libc.a' instead of the dynamic 'libc.so'?
Nick Clifton
nickc@redhat.com
Tue May 2 15:51:00 GMT 2017
Hi Martin,
> How can I instruct 'configure' to do this? Is it even possible?
No! I was surprised to find this out, but it seems that the configure
and build system really does not want you to link with a static C library.
You can do it by hand of course, but that does not make for a reproducible build.
You can edit the makefiles too, but again this is not reliable in the long term.
Sorry - it looks like there is no easy solution to this problem.
Cheers
Nick
More information about the Binutils
mailing list