Why target program depends from system GCC

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

 




Hi,

I have built & installed GCC-4.9.2 in '/usr/local'.
When I build some program, it depends from libstdc++ provided by system, but not installed GCC-4.9.2. Why?

gcc flags:
--prefix=/usr/local
--host=x86_64-linux-gnu
--build=x86_64-linux-gnu
--target=x86_64-linux-gnu
--enable-bootstrap
--disable-nls
--disable-multilib
--enable-languages=c,c++
--enable-threads=posix
--enable-libstdcxx-time=yes
--disable-werror
--with-tune=generic
--enable-checking=release


program compiled:
g++ hello.cpp -ohello

show deps:
ldd ./hello
linux-vdso.so.1 =>  (0x00007fff60bfe000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f5793bb1000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f57938ab000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f5793694000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f57932ce000)
/lib64/ld-linux-x86-64.so.2 (0x00007f5793ee2000)


Ubuntu-14.10-x86_64 is used.


--
Regards, niXman
___________________________________________________
Dual-target(32 & 64-bit) MinGW-W64 compilers for 32 and 64-bit Windows:
http://sourceforge.net/projects/mingw-w64/
___________________________________________________
Another online IDE: http://liveworkspace.org/




[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