Re: gcc-4.8.x with dwarf-2 debugging information

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 21 November 2013 11:51, Marc Glisse wrote:
> On Thu, 21 Nov 2013, tassos_souris wrote:
>
>> Also, when i
>> used my new gcc command /home/gcc/bin/g++ myapp and used ldd a.out i saw
>> that it still uses the system wide standard libraries from /usr /x86.xxxx
>> (and stuff). Shouldn't it use the libraries from its install directory?
>
>
> Look for -Wl,-rpath or LD_LIBRARY_PATH in the documentation of gcc, ld and
> ld.so. There is also something about this in:
> http://gcc.gnu.org/faq.html

And http://gcc.gnu.org/onlinedocs/libstdc++/faq.html#faq.how_to_set_paths
and http://gcc.gnu.org/onlinedocs/libstdc++/manual/using_dynamic_or_shared.html#manual.intro.using.linkage.dynamic

You might also find
http://gcc.gnu.org/onlinedocs/libstdc++/manual/debug.html#debug.req
useful.




[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux