In connection with the question , another manager advised to remove gcc via apt . But on the team
apt-get --purge remove gcc gives the following:
Reading package lists...Building dependency tree...Reading state information...Package gcc is not installed, so not removedYou might want to run 'apt-get -f install' to correct these:The following packages have unmet dependencies: libstdc++6-4.2-dev : Depends: g++-4.2 (= 4.2.3-2nexenta7) but it is not going to be installed Depends: gcc-4.2-base (= 4.2.3-2nexenta7) but it is not going to be installed Depends: libstdc++6 (>= 4.2.3-2nexenta7) but it is not going to be installedE: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). Of these messages
Package gcc is not installed, so not removed it follows that a package with gcc is called differently. At the same time, gcc indeed installed and in response to
gcc -v gives out
Using built-in specs.Target: i386-pc-solaris2.11Configured with: ../src/configure --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr/gcc/4.4 --enable-shared --with-system-zlib --with-gmp-include=/usr/include/gmp --with-gmp-lib=/usr/lib --with-mpfr-include=/usr/include/mpfr --with-mpfr-lib=/usr/lib --with-as=/usr/sfw/bin/gas --with-gnu-as --with-ld=/usr/bin/ld --without-gnu-ld --enable-libstdcxx-allocator=mt --enable-nls --enable-objc-gc --enable-libssp --libexecdir=/usr/gcc/4.4/lib --enable-c99 --with-pic --enable-wchar_t --mandir=/usr/gcc/4.4/share/man --infodir=/usr/gcc/4.4/share/info --build=i386-pc-solaris2.11Thread model: posixgcc version 4.4.4 (GCC) How to find out the name of this package?