At Sun, 09 Nov 2008 00:09:50 +0100 Hans Schmidt <[EMAIL PROTECTED]> wrote:
> > Hi there! > > I am trying to force a gcc4.x compiler to use the libstdc++5 per default. > > This is needed because some "binary-only" Shared Libaries supplied by a > 3rd party vendor uses libstdc++5. > > libstdc++5 is used by gcc-3.3 compilers - but unfortunately a gcc-4x is > needed to compile the project. > > I spent some days of work to force a gcc-4x to use libstdc++5 per > default. But I did not come closer to a solution. > > Do you have any ideas? It is not possible (as you have discovered). Versions of libstdc++ are tightly tied to compiler versions. You will *have* to modify your code to compile under gcc-3.3, probably by not using the features of gcc-4x your project now uses -- you will have to hack around the missing features. Either that or talk to the 3rd party vendor and try to get them to re-build their libraries using gcc-4x & libstdc++6. Another possiblity is to build a gcc-3.3/libstdc++5 wrapper application that is run as a separate process from your main gcc-4x project and pass data back and forth with sockets or pipes. > > -- Robert Heller -- Get the Deepwoods Software FireFox Toolbar! Deepwoods Software -- Linux Installation and Administration http://www.deepsoft.com/ -- Web Hosting, with CGI and Database [EMAIL PROTECTED] -- Contract Programming: C/C++, Tcl/Tk _______________________________________________ help-gplusplus mailing list help-gplusplus@gnu.org http://lists.gnu.org/mailman/listinfo/help-gplusplus