This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Options '-shared' and '-Wl,-shared'
- From: Linux Geek <bourne at ToughGuy dot net>
- To: libstdc++ at gcc dot gnu dot org
- Date: Mon, 20 Jan 2003 20:02:37 +0530
- Subject: Options '-shared' and '-Wl,-shared'
Hi all,
what is the difference in doing this
g++ -shared -o libfoo.so foo.cpp
And doing this
g++ -Wl,-shared -o libfoo.so foo.cpp
If there is impact if any, then is it in the compiling process or the
linking process ?
Thanks very much for the time spared.