Dear Mr./Madam,
Can you help me with the following problem. When I use the command: "
g++ -v -shared ....", I see that collect2 also sets the option "-z
text". I would like to set this option to "-z textoff" as is the default
for dynamic shared libraries with ld. Can you tell me how to do this? I
cannot find the solution in the manual pages. Thank you in advance.
IIRC, there is an option to pass to GCC to specify options to be passed to
the linker. You ca use those, to override "-z text" w/ "-z textoff".