other/490
jsm28@gcc.gnu.org
jsm28@gcc.gnu.org
Sat May 19 17:16:00 GMT 2001
The following reply was made to PR other/490; it has been noted by GNATS.
From: jsm28@gcc.gnu.org
To: gcc-gnats@gcc.gnu.org, histed@mit.edu, jsm28@cam.ac.uk, nobody@gcc.gnu.org
Cc:
Subject: Re: other/490
Date: 20 May 2001 00:15:05 -0000
Synopsis: -static / -shared not equivalent to -Wl,-Bshared / -Wl,-Bdynamic under linux with GNU ld
State-Changed-From-To: open->closed
State-Changed-By: jsm28
State-Changed-When: Sat May 19 17:15:05 2001
State-Changed-Why:
The meanings of -static and -shared are documented in the
manual. -shared means to create a shared library; -static
means to link statically. So, to achieve the effect you
want, you should continue to use -Wl,-Bstatic and -Wl,-Bdynamic -
-static and -shared aren't intended to be equivalent to
these positional options.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=490&database=gcc
More information about the Gcc-prs
mailing list