This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
"sco5.h" `%{!z*:-z text}'
- To: gcc at gcc dot gnu dot org
- Subject: "sco5.h" `%{!z*:-z text}'
- From: "Golubev I. N." <gin at mo dot msk dot ru>
- Date: Mon, 27 Aug 2001 17:47:26 (GMT)
`%{!z*:-z text}' construct in LINK_SPEC forces gcc always to specify
`-z text' while linking shared libraries. With some input files (even
from native libs) it will cause linker to fail.
In fact sco5 can link any (non PIC, not adapted to shlibs in any way)
objects to shlibs, and those shlibs will work normally. Sometimes
using such an objects is what is desired, since non PIC version of
object is the only available one.
Why forcing such an option was included at all?