This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
problem with linking
- From: "EM Suijker" <suijker at fel dot tno dot nl>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 30 Dec 2002 16:05:54 +0100
- Subject: problem with linking
- Organization: TNO-FEL
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.
With kind regards,
Erwin Suijker
Note:
I am using Solaris 7 on a Sparc machine.
--
E.M. Suijker (Erwin)
TNO Physics and Electronics Laboratory
Oude Waalsdorperweg 63
2509 JG The Hague
The Netherlands
Tel: +31 70 374 04 98
Fax: +31 70 374 06 54
suijker@fel.tno.nl