Subject: Re: CVS commit: pkgsrc/mk/compiler
To: Johnny C. Lam <jlam@netbsd.org>
From: Jeremy C. Reed <reed@reedmedia.net>
List: tech-pkg
Date: 02/02/2004 09:51:53
On Mon, 2 Feb 2004, Johnny C. Lam wrote:

> Log Message:
> If USE_GCC_SHLIB is defined, then pretend we need both C and C++ compilers.
> This is, of course, wrong.  Excerpted from the file itself:

It would be nice to have a package with just libraries (like
gcc3-c++-libs) instead (or as an alternative).

pkg_info | grep gcc
gcc3-c-3.3.2        GNU Compiler Collection, version 3, C compiler
gcc3-c-lib-3.3.2    GNU Compiler Collection, version 3, C libraries
gcc3-c++-lib-3.3.2  GNU Compiler Collection, version 3, c++ libraries
gcc3-c++-3.3.2      GNU Compiler Collection, version 3, C++ compiler

$ pkg_info -L gcc3-c++-lib-3.3.2 | head
Information for gcc3-c++-lib-3.3.2:

Files:
/usr/gcc3/include/c++/3.3.2/algorithm
/usr/gcc3/include/c++/3.3.2/backward/algo.h
/usr/gcc3/include/c++/3.3.2/backward/algobase.h
/usr/gcc3/include/c++/3.3.2/backward/alloc.h
/usr/gcc3/include/c++/3.3.2/backward/backward_warning.h
/usr/gcc3/include/c++/3.3.2/backward/bvector.h
/usr/gcc3/include/c++/3.3.2/backward/complex.h


$ pkg_info -L gcc3-c-lib-3.3.2 | head
Information for gcc3-c-lib-3.3.2:

Files:
/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.2/libgcc.a
/usr/gcc3/lib/gcc-lib/i386-pc-linux/3.3.2/libgcc_eh.a
/usr/gcc3/lib/libgcc_s.so
/usr/gcc3/lib/libgcc_s.so.1
/usr/gcc3/lib/libiberty.a


It seems like I provided some patch for this a month or so ago. Also,
there was little discussion.

It would be nice to not have to have the gcc tools installed.


   Jeremy C. Reed
   http://bsd.reedmedia.net/