This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++ -static-libgcc not working (g++ 3.0.4).
On Thu, Sep 05, 2002 at 06:30:28PM +0200, jean-frederic clere wrote:
> Phil Edwards wrote:
> >
> > Specify static linking for just the libraries you want statically linked,
> > and then revert to dynamic libraries for the rest. See the ld(1) man page
> > for -Bstatic and -Bdynamic.
>
> Calling ld directly with -Bstatic -lgcc -lstdc++ -Bdynamic -lc works but there
> seems to be noway to do it directly from g++.
See the GCC manual. Look for -Wl.
--
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
- Edsger Dijkstra, 1930-2002