In message <[email protected]> "Alan Buckley" <[email protected]> wrote:
> John Tytgat wrote on Sep 08, 2011 12:57 AM : > > [...] > I seemed have to replace all occurance of âWl,lstdc++ with the above > for all the places âwith_host-libstdcxx was used otherwise I got the > same failure in other places. Ah, right, CROSS_CLOOG_CONFIG_ARGS is also the one you needed to do. I overlooked that. > Once these were changed gcc4 compiled successfully â Thanks. > > > If we really want to know why libstdc++ does not get found on your > > system, try: > > > $ cd builddir/cross-cloog > > $ gcc -v -Wall -fomit-frame-pointer -g -O2 -o cloog cloog.o -Wl,-lstdc++ > > ...[snip]... > > > I.e. add the -v option to gcc and look at the -L options specified with > > the collect2 line (last line). In my case I have one which says > > -L/usr/lib/gcc/x86_64-linux-gnu/4.4.3/../../.. and in /usr/lib I do have > > libstdc++.so.6 file. > > My compiler location is different as expected > (usr/lib/gcc/i486-linux-gnu/4.4.5) > but I do have the equivalent paths in my output and /usr/lib did have > a libstdc++.so.6 file. Odd, then I don't get it why -Wl,-lstdc++ wouldn't be working. Perhaps the order of -L and -Wl,-lstdc++ was wrong. John. -- John Tytgat, in his comfy chair at home BASS [email protected] ARM powered, RISC OS driven _______________________________________________ GCCSDK mailing list [email protected] Bugzilla: http://www.riscos.info/bugzilla/index.cgi List Info: http://www.riscos.info/mailman/listinfo/gcc Main Page: http://www.riscos.info/index.php/GCCSDK
