diff options
author | Murray Cumming <murrayc@src.gnome.org> | 2003-01-07 16:59:16 +0000 |
---|---|---|
committer | Murray Cumming <murrayc@src.gnome.org> | 2003-01-07 16:59:16 +0000 |
commit | 78e5bf1313f67e4cbc67fe01a408d27de7383abd (patch) | |
tree | f832445dad23cd0dcc2a116fcc1469d35316d995 /README.SUN | |
download | glibmm-78e5bf1313f67e4cbc67fe01a408d27de7383abd.tar.gz |
Initial revision
Diffstat (limited to 'README.SUN')
-rw-r--r-- | README.SUN | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/README.SUN b/README.SUN new file mode 100644 index 00000000..317f4749 --- /dev/null +++ b/README.SUN @@ -0,0 +1,88 @@ +Building gtkmm under Sun Solaris +================================ + +This README refers currently only to Sun Forte[tm] C++ compiler (WS6U2) +under Solaris 8/Sparc. + +The described procedure to compile gtkmm with Sun's commercial C++ +compiler assumes the default compiler installation of Forte[tm] C++ 6 +update 2. Furthermore all currently available product and adequate SunOS +patches for Forte[tm] C++ 6 update 2, which can be donwload from the +links given at http://access1.sun.com/sundev/fdp6u2-patches.html, have +to be applied. After that your compiler should give the following +version information: + + $ CC -V + CC: Sun WorkShop 6 update 2 C++ 5.3 Patch 111685-10 2002/09/16 + +You will not be able to compile gtkmm with the unpatched compiler +installation. Also, it is important to hide any gcc installation +from your PATH. + + +The installation procedure: + +* Recent version of the following GNU utilities should be avalaible in + your PATH: + + make (3.79.1) + libtool (1.4.2) + m4 (1.4) + perl (5.6.1) + + The version information (in brackets) apply to my GNU installation. + +* Assumed your compiler installation is in /opt/SUNWspro, the following + environment changes are required: + + PATH=/opt/SUNWspro/bin:$PATH + LD_LIBRARY_PATH=/opt/SUNWspro/bin:$LD_LIBRARY_PATH + export PATH LD_LIBRARY_PATH + + CC="cc" + CXX="CC" + LD="CC" + CFLAGS="-g" or "-g -xO3" for better optimization + CXXFLAGS="-g" or "-g -O3" for better optimization + export CC CXX LD CFLAGS CXXFLAGS + +* Select an installation directory ($PREFIX). + +* The image libraries jpeg-6b, libpng-1.2.5 and tiff-v3.5.7 are pre- + requisites to build gtk+ libraries. They can be obtained from + www.sunfreeware.com or build from source. Compiling from source + requires some manual corrections (basically prefix settings in the + makefiles), because their build mechanism are rather old. All three + libraries should be build as shared libraries and installed to the + choosen installation directory. + +* gtk+-Installation. For each package of pkgconfig-0.12.0, glib-2.0.6, + atk-1.0.3, pango-1.0.4, gtk+-2.0.6 do: + + cd <package-path> + CPPFLAGS=-I$PREFIX/include CFLAGS="-I$PREFIX/include $CFLAGS" \ + ./configure --prefix=$PREFIX + make + make install + +* gtkmm-Installation. For each package of libsigc++-1.2.x, gtkmm-2.0.x do: + + cd <package-path> + ./configure --prefix=$PREFIX + make + make install + +* Verification can easily done by + + cd gtkmm-1.2.x/examples + make + + and testing all built executables. + + +Feel free to contact the gtkmm mailing list in case of problems compiling gtkmm under Sun +Solaris. + + +Michael v. Szombathely, 31-Oct-02 +<szombath@bifab.de>
\ No newline at end of file |