libstdc++/9776: -static-libgcc does not produce a static link to libstdc++, instead always dynamic

bkoz@gcc.gnu.org bkoz@gcc.gnu.org
Thu Feb 20 18:23:00 GMT 2003


Synopsis: -static-libgcc does not produce a static link to libstdc++, instead always dynamic

State-Changed-From-To: open->closed
State-Changed-By: bkoz
State-Changed-When: Thu Feb 20 18:23:19 2003
State-Changed-Why:
    Err, -static-libgcc is just for libgcc, not for libstdc++. If you are trying to statically link libstdc++, try:
    
    g++ -static
    
    You might find the on-line documentation for gcc helpful: please consult it.
    
    best
    -benjamin

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=9776



More information about the Gcc-bugs mailing list