From 22558400f48c03ddcc5a52850ff9a7db1d5d7f64 Mon Sep 17 00:00:00 2001 From: grant Date: Thu, 11 Mar 2004 13:03:58 +0000 Subject: import the required bits of bootstrap-pkgsrc from 20040311. --- bootstrap/README.Solaris | 56 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 bootstrap/README.Solaris (limited to 'bootstrap/README.Solaris') diff --git a/bootstrap/README.Solaris b/bootstrap/README.Solaris new file mode 100644 index 00000000000..104aa7176f2 --- /dev/null +++ b/bootstrap/README.Solaris @@ -0,0 +1,56 @@ +$NetBSD: README.Solaris,v 1.1.1.1 2004/03/11 13:03:59 grant Exp $ + +You will need a working C compiler. Both gcc 2.95.3 and Sun +WorkShop 5 have been tested. + +The following packages are required on Solaris 8 for the bootstrap +process and to build packages. + + - SUNWsprot + - SUNWarc + - SUNWbtool + - SUNWtoo + - SUNWlibm + +Please note the use of GNU binutils on Solaris is not supported. + +If you are using gcc +-------------------- +It makes life much simpler if you only use the same gcc consistently +for building all packages. + +See http://www.netbsd.org/Documentation/software/packages.html for +binary kits and initial packages, including gcc. + +It is recommended that an external gcc be used only for bootstrapping, +then remove gcc and install the pkgsrc binary package. + +Binary packages of gcc can be found through +http://www.sun.com/bigadmin/common/freewareSearch.html + +If you are using Sun WorkShop +----------------------------- +You will need at least the following packages installed (from WorkShop +5.0): + + SPROcc Sun WorkShop Compiler C 5.0 + SPROcpl Sun WorkShop Compiler C++ 5.0 + SPROild Sun WorkShop Incremental Linker + SPROlang Sun WorkShop Compilers common components + +You should set CC and CXX in /etc/mk.conf, eg. + + CC= cc + CXX= CC + +You may also want to build 64-bit binaries, eg. + + CFLAGS= -xtarget=ultra -xarch=v9 + + +Whichever compiler you use, please ensure the compiler tools and +your $prefix are in your PATH. This includes /usr/ccs/{bin,lib} +and eg. /usr/pkg/{bin,sbin}. + +bootstrap-pkgsrc has been tested on Solaris 2.6 -> 9. + -- cgit v1.2.3