From: Ian Lance Taylor <ian@wasabisystems.com>
To: "Venkatakrishnan, V" <v.venkatakrishnan@sdi.usa.xerox.com>
Cc: gcc-help@gcc.gnu.org
Subject: Re: static version of libgcc_s.so.1...
Date: Tue, 20 Apr 2004 11:50:00 -0000 [thread overview]
Message-ID: <m3u0zeeun3.fsf@gossamer.airs.com> (raw)
In-Reply-To: <8229C4577A00D511ABC00090277A45A001236D40@us0111-ch-ms1.sdi.xcdg.xerox.com>
"Venkatakrishnan, V" <v.venkatakrishnan@sdi.usa.xerox.com> writes:
> Ian,
> I'm doing something like
> g++ myapp.C -L/path1 -L/path2 -Wl,-Bstatic -lstdc++ -lgcc -Wl,-Bdynamic
> -lmySharedLib -o myApp
> Isn't this what you've mentioned?
>
> and this still has a dependency on libgcc_s.so.1 as well as
> libstdc++.so.4.
No, there is an option "-static-libgcc". See the docs.
Ian
next prev parent reply other threads:[~2004-04-20 11:50 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-04-20 7:38 Venkatakrishnan, V
2004-04-20 11:50 ` Ian Lance Taylor [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-04-20 16:48 lrtaylor
2004-04-20 7:05 Venkatakrishnan, V
2004-04-20 7:11 ` Ian Lance Taylor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3u0zeeun3.fsf@gossamer.airs.com \
--to=ian@wasabisystems.com \
--cc=gcc-help@gcc.gnu.org \
--cc=v.venkatakrishnan@sdi.usa.xerox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).