If removing gcc will remove some dlls which is still needed by executabe?
When l install apache httpd and samba, l need to install gcc first to compile them. After that, l'm considering remove gcc to keep system clean. But l'm wondering if there's any chance that removing gcc will also remove some dynamic link library which will be used by apache/samba executable in the futhure? Or l need to use some special compile option to make a copy of DLL?
Anybody have experience on this?
Thanks a ton.
[445 byte] By [
sunny220] at [2007-11-26 7:52:24]

# 1
> When l install apache httpd and samba, l need to
> install gcc first to compile them. After that, l'm
> considering remove gcc to keep system clean. But l'm
> wondering if there's any chance that removing gcc
> will also remove some dynamic link library which will
> be used by apache/samba executable in the futhure? Or
> l need to use some special compile option to make a
> copy of DLL?
First, Abu Musab al Zarqawi changes his name to:
Abu Musab al Zarqawi awi awi awi and now this, when will it all end!
After you type make install, gcc is done unless you then type make uninstall.
Gcc can left alone or removed partially or fully without hurting anything that is has been used to compile.
If you want to remove it to keep your system clean, go ahead.
alan
# 3
> And l guess l can also remove apche/samba source> after make install without hurting executable, right?Yes, unless you then verbally insult the binary files. In that case you'll need to seek psychiatric treatment for them.alan
# 4
> After you type make install, gcc is done unless you
> then type make uninstall.
Unless the executable is linked against a gcc shared library. You wouldn't want to remove that library along with the actual compiler.
# ldd tclsh
libtcl8.4.so => /usr/local/lib/libtcl8.4.so
libdl.so.1 =>/usr/lib/libdl.so.1
libsocket.so.1 =>/usr/lib/libsocket.so.1
libnsl.so.1 =>/usr/lib/libnsl.so.1
libm.so.1 =>/usr/lib/libm.so.1
libc.so.1 =>/usr/lib/libc.so.1
libgcc_s.so.1 => /usr/local/lib/libgcc_s.so.1
libmp.so.2 =>/usr/lib/libmp.so.2
/usr/platform/SUNW,Sun-Fire-280R/lib/libc_psr.so.1
#
--
Darren