* Dmitry Katsubo <dm...@mail.ru>, 2015-02-14, 13:31:
I wonder what is the current state-of-art concerning the code in .a library (archive for static linking). Should it contain PIC code?

This is what Debian Policy (§10.2) currently says:

“As to the static libraries, the common case is not to have relocatable code, since there is no benefit, unless in specific cases; therefore the static version must not be compiled with the ‘-fPIC’ flag. Any exception to this rule should be discussed on the mailing list debian-devel@lists.debian.org, and the reasons for compiling with the ‘-fPIC’ flag must be recorded in the file ‘README.Debian’.”

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150219220805.ga8...@jwilk.net

Reply via email to