pkgsrc/lang/gcc47-libs/DESCR
sbd e8c9d4ba21 Create the gcc47-libs package.
This package contains _just_ the shared libraries from gcc47 that programs
compiled with gcc need at runtime so that the entire gcc47 package does not
have to be install.

Because multiple packages cannot be build from the same PKGDIR and building
components of gcc separately is problematic this package is build using a
a couple of "cheap tricks":

1) gcc47 is built as before (including the libraries) but with a second
   RPATH compiled in to all programs.

2) This package has a BUILD_DEPENDS on lang/gcc47 and simply copies the
   shared libraries (except the java ones) to the second RPATH location
   (so as to not have conflicts with lang/gcc47).

3) When adding a runtime dependence the pattern '{gcc47,gcc47-libs}>=4.7.*'
   is used (i.e. the full gcc47 OR the gcc47-libs package can be used).

4) So that when a package that has the above dependence is installed
   pkg_add will, if neither gcc47 or gcc47-libs is installed, automatically
   install gcc47-libs the PKGREVISION of gcc47-libs should all ways be
   bumped so that it is at least 1 more than that of the lang/gcc47
   package. (With a note in this packages Makefile and one to be placed
   in lang/gcc47's Makefile.)
2012-09-13 10:04:33 +00:00

3 lines
168 B
Text

The GNU Compiler Collection (GCC) includes front ends for C, C++, Objective-C,
Fortran, and Go, as well as libraries for these languages (libstdc++,
libgfortran, ...).