LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   gcc, multilib and Slackware64 (http://www.linuxquestions.org/questions/slackware-14/gcc-multilib-and-slackware64-4175460077/)

dr.s 04-29-2013 06:09 PM

gcc, multilib and Slackware64
 
Hi folks,
got Slackware64 with multilib support running smoothly with no issues here, but need to confirm one point:
if I don't need to compile any 32 bit binaries on this machine (just need to be able to run them) can I skip the gcc compiler suite upgrade and only stick to upgrading the glibc libraries and installing the needed 32 bit packages?

thanks

wildwizard 05-01-2013 03:39 AM

The gcc compiler also includes the c++ libraries which are used by anything that happens to be c++ in origin.

EDIT

Should mention that the specific package is gcc-g++

ruario 05-01-2013 07:26 AM

@wildwizard: Are you referring to libstdc++.so? If so it is also found in a/cxxlibs:

Code:

$ fown libstdc++.so
||  Package:  ./a/cxxlibs-6.0.17-i486-1.txz
-rwxr-xr-x root/root    732224 2012-06-29 11:59 usr/lib/libstdc++.so.5.0.7
-rwxr-xr-x root/root    913916 2012-06-29 11:59 usr/lib/libstdc++.so.6.0.17
--
||  Package:  ./d/gcc-g++-4.7.1-i486-1.txz
-rwxr-xr-x root/root    913916 2012-06-20 14:48 usr/lib/libstdc++.so.6.0.17

EDIT: Just to avoid confusion I should point out that 'fown' (find owner) is one of my own scripts, but if you use slackpkg you can do the same trick with "slackpkg file-search libstdc++.so" (IIRC) or just search in MANIFEST.bz2 (e.g. with bzless) as this is what my script and slackpkg are doing anyway.


All times are GMT -5. The time now is 03:38 AM.