Annotation of pkgsrc/bootstrap/README.Linux, revision 1.2
1.2 ! grant 1: $NetBSD: README.Linux,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $
1.1 grant 2:
3: Please read the general README file as well.
4:
5: Some versions of Linux (for example Debian GNU/Linux) need either libtermcap
6: or libcurses (libncurses). Installing the distributions libncurses-dev
7: package (or equivalent) should fix the problem.
1.2 ! grant 8:
! 9: pkgsrc supports both gcc (GNU Compiler Collection) and icc (Intel C++
! 10: Compiler). gcc is the default. icc 8.0 and 8.1 on i386 have been tested.
! 11:
! 12: To bootstrap using icc, assuming the default icc installation
! 13: directory:
! 14:
! 15: env CC=/opt/intel_cc_80/bin/icc LDFLAGS=-static-libcxa \
! 16: ac_cv___attribute__=yes ./bootstrap
! 17:
! 18: icc supports __attribute__, but the GNU configure test uses a nested
! 19: function, which icc does not support. #undef'ing __attribute__ has the
! 20: unfortunate side-effect of breaking many of the Linux header files, which
! 21: cannot be compiled properly without __attribute__. The test must be
! 22: overridden so that __attribute__ is assumed supported by the compiler.
! 23:
! 24: After bootstrapping, you should set PKGSRC_COMPILER in mk.conf:
! 25:
! 26: PKGSRC_COMPILER=icc
! 27:
! 28: The default installation directory for icc is /opt/intel_cc_80, which
! 29: is also the pkgsrc default. If you have installed it into a different
! 30: directory, set ICCBASE in mk.conf:
! 31:
! 32: ICCBASE=/opt/icc
! 33:
! 34: pkgsrc uses the static linking method of the runtime libraries
! 35: provided by icc, so binaries can be run on other systems which do not
! 36: have the shared libraries installed.
! 37:
! 38: Libtool, however, extracts a list of libraries from the ld(1) command
! 39: run when linking a C++ shared library and records it, throwing away
! 40: the -Bstatic and -Bdynamic options interspersed between the libraries.
! 41: This means that libtool-linked C++ shared libraries will have a
! 42: runtime dependency on the icc libraries until this is fixed in
! 43: libtool.
CVSweb <webmaster@jp.NetBSD.org>