gccLibrary = "-shared-libgcc";
    protected void addImpliedArgs(boolean debug, LinkType linkType, Vector args) {        super.addImpliedArgs(debug, linkType, args);        if (getIdentifier().indexOf("mingw") >= 0) {            if (linkType.isSubsystemConsole()) {                args.addElement("-mconsole");            }            if (linkType.isSubsystemGUI()) {                args.addElement("-mwindows");            }        }// FREEHEP, avoid stdc++ if requested        runtimeLibrary = null;        if (linkType.linkCPP()) {            if (linkType.isStaticRuntime()) {                String[] cmdin = new String[]{"g++", "-print-file-name=libstdc++.a"};                String[] cmdout = CaptureStreamHandler.run(cmdin);                if (cmdout.length > 0) {                    runtimeLibrary = cmdout[0];                } else {                    runtimeLibrary = null;                }            } else {                runtimeLibrary = "-lstdc++";            }        }        // FREEHEP: set flag        linkType.callAddLibrarySets = true;    }