diff options
Diffstat (limited to 'README.Unix.txt')
| -rw-r--r-- | README.Unix.txt | 114 |
1 files changed, 109 insertions, 5 deletions
diff --git a/README.Unix.txt b/README.Unix.txt index 677aa2b41..e15174664 100644 --- a/README.Unix.txt +++ b/README.Unix.txt @@ -15,9 +15,11 @@ README.Unix.txt - 2010-11-14 - Building FLTK on Unix 2.5 * http://www.opensuse.org/en/ 2.6 * http://www.debian.org/ 2.7 * Mandrake? - 2.8 * Sun? + 2.8 SunOS / Solaris 2.9 * SGI? - 2.10 * HPUX? + 2.10 HP-UX + 2.11 AIX + 2.12 NetBSD 3 HOW TO BUILD FLTK USING GCC 3.1 Prerequisites 3.2 Downloading and Unpacking @@ -81,7 +83,7 @@ If you are planning to use the Code::Blocks IDE, also install this I like to use subversion to install the latest FLTK-1.3.release: - svn co http://svn.easysw.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 + svn co http://seriss.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 To update to the latest version, just go into the fltk-1.3 directory and type @@ -117,7 +119,7 @@ If you are planning to use the Code::Blocks IDE, also install this I like to use subversion to install the latest FLTK-1.3.release: - svn co http://svn.easysw.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 + svn co http://seriss.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 To update to the latest version, just go into the fltk-1.3 directory and type @@ -152,7 +154,7 @@ yourself to the "sudo" list. I like to use subversion to install the latest FLTK-1.3.release: - svn co http://svn.easysw.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 + svn co http://seriss.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 To update to the latest version, just go into the fltk-1.3 directory and type @@ -161,6 +163,108 @@ To update to the latest version, just go into the fltk-1.3 directory and type FIXME: no FL_SYMBOL font (-*-symbol-*), font 15 (Zapf-Dingbats) + 2.8 SunOS / Solaris +---------------------- + +SunOS is a commercial operating system from Sun Microsystems (in 2009 the +company was sold to Oracle). SunOS is also called Solaris since version 5. +There was an open source derivative called OpenSolaris (based on Solaris 10) +that was cancelled by Oracle. The successor in spirit is called OpenIndiana +and can be downloaded from here: + + http://www.openindiana.org/ + +For FLTK you need at least SunOS 5.7 (aka Solaris 7). This version supports +64 bit machines and POSIX threads. For machines with 64 bit SPARC processors +it is highly recommended to use Sun compilers, the 64 bit code generated by +older versions of GCC for such machines is unusable (expect something between +horribly broken and immediate crash). + +Consider using pkgsrc with this operating system. See the NetBSD section if +you want to do so. +If you have GCC and Sun compilers installed, configure your environment like +this to use the Sun compilers and pkgsrc graphics libraries: + + export CC="cc" + export CXX="CC" + export CPPFLAGS="-I/usr/pkg/include" + export LDFLAGS="-L/usr/pkg/lib -R/usr/pkg/lib" + +To build a 64 bit FLTK library, add the following flags: + + export CFLAGS="-xarch=v9" + export CXXFLAGS="-xarch=v9" + + + 2.10 HP-UX +------------- + +HP-UX is a commercial operating system from HP, no free or open source +derivatives are available. + +For FLTK you need at least HP-UX 11.11 and the latest patch bundles should be +installed. + +Consider using pkgsrc with this operating system. See the NetBSD section if +you want to do so. + + + 2.11 AIX +----------- + +AIX is a commercial operating system from IBM, no free or open source +derivatives are available. + +For FLTK you need at least AIX 5L, I have tested version 5.1 patched to ML9. + +Consider using pkgsrc with this operating system. See the NetBSD section if +you want to do so. + + + 2.12 NetBSD +-------------- + +NetBSD can be downloaded here: + + http://www.netbsd.org/ + +If you have not done so yet, download and install NetBSD. Ensure that the +optional distribution sets "comp" (Compiler, header files, development tools) +and x*** (X Window System) are installed. + +Now install and configure pkgsrc. The current version can be downloaded here: + + http://www.pkgsrc.org/ + +To use the current stable version of FLTK, simply install it from pkgsrc: + + cd /usr/pkgsrc/x11/fltk13 + bmake install + +For the latest development snapshot, first install the svn client from pkgsrc: + + cd /usr/pkgsrc/devel/subversion + bmake install + +Now fetch the latest FLTK source code: + + svn co http://seriss.com/public/fltk/fltk/branches/branch-1.3/ fltk-1.3 + +To update to the latest version, just go into the fltk-1.3 directory and type + + svn update + +If you have installed JPEG and PNG libraries from pkgsrc, configure your +environment as follows so that the FLTK configure script can find them: + + export CPPFLAGS="-I/usr/pkg/include" + export LDFLAGS="-L/usr/pkg/lib" + +To install GNU autoconf from pkgsrc: + + cd /usr/pkgsrc/devel/autoconf + bmake install + 3 HOW TO BUILD FLTK USING GCC ================================ |
