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

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

 



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

--
Marc Glisse




[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