This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Static linking to libgcc_s and libstdc++
- From: John Carter <john dot carter at tait dot co dot nz>
- To: gcc-help at gcc dot gnu dot org
- Date: Mon, 05 Aug 2002 12:22:17 +1200 (NZST)
- Subject: Static linking to libgcc_s and libstdc++
Greetings folk,
I have just compiled gcc-3.1.1 for Solaris 2.5.1.
I have compiled my app, and now wish to distribute it to the test machines
/ clients.
Alas, it expects a sharable libstdc++ and libgcc_s.
I can distribute the .so files as well, but this increases maintenance and
customer support headaches.
How can I convince gcc to statically link in those libraries (and no other
sharable libraries)?
Thank you,
--
John Carter Phone : (64)(3) 358 6639
Tait Electronics Fax : (64)(3) 359 4632
PO Box 1645 Christchurch Email : john.carter@tait.co.nz
New Zealand
This email message is intended only for the addressee(s) and contains
information which may be confidential and/or copyright. If you are not
the intended recipient please do not read, save, forward, disclose, or
copy the contents of this email. If this email has been sent to you in
error, please notify the sender by reply email and he will be
along to delete you, this email and any copies or links to this email.
No representation is made that this email, you, or the sender are free of
viruses. Virus scanning and prevention is recommended and is the
responsibility of consenting adults.