From: oetiker Date: Mon, 11 Dec 2006 19:11:36 +0000 (+0000) Subject: added note on alternate CFLAGS for Forte X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=00b82fd123ded9b4b8f7ef19cfe5fda35d4afb93;p=rrdtool.git added note on alternate CFLAGS for Forte git-svn-id: svn://svn.oetiker.ch/rrdtool/branches/1.2/program@927 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/doc/rrdbuild.pod b/doc/rrdbuild.pod index 9bb780c..9ab31a8 100644 --- a/doc/rrdbuild.pod +++ b/doc/rrdbuild.pod @@ -70,7 +70,7 @@ board, just re-run the last line of the instructions above. But again this may have been too optimistic, and you actually have to compile your own copies of the required libraries. -=head2 Building on AIX +=head3 Build Tipps for AIX If you are woking with AIX, you may find the the B<--disable-shared> option will cause things to break for you. In that case you may have to install the @@ -86,6 +86,19 @@ Another hint to get rrdtool working on AIX is to use the IBM XL C Compiler: =head2 Building Libraries +In order to build the libraries you need a compiler on your system. +Unfortunately compilers are not all alike. This has an effect on the CFLAGS +you want to set. The examples below are for the popular GCC compiler suite. +If you have an other compile you have to use the following settings: + +=over + +=item Sun Forte + + CFLAGS="-xO3 -kPIC" + +=back + =over =item Building zlib