http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54283



--- Comment #19 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> 2013-01-07 13:06:16 UTC ---

> --- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-01-07

> 12:55:39 UTC ---

> But that is not a requirement.  The requirement is using a C++ compiler that

> works out of the box (compiler configured in a path where its shared libraries

> aren't found by the dynamic linker isn't), or making sure through

> LD_LIBRARY_PATH or tweaking spec (to add -rpath) that the compiler works out 
> of

> the box, or compiler which supports -static-libstdc++.



But that first part (every single user of executables built with a g++

installed into non-system directories having to tweak LD_LIBRARY_PATH,

gcc builders/installers having to tweak specs or whatever) has been a

major shortcoming of gcc for years.  There needs to be a way that gcc

DTRT out of the box; a compiler producing executables that don't work

without prior additional setup is a joke.  Maybe I can work on this in

the 4.9 timeframe.



    Rainer

Reply via email to