Back to wiki

RCS History

/ TOP / supported-platforms.mdwn

Differences for revision 1.36 from 1.35


--- /supported-platforms.mdwn	2011/02/03 18:41:12	1.35
+++ /supported-platforms.mdwn	2011/04/02 14:54:38	1.36
@@ -9,6 +9,38 @@
 
  You must build and install the [[pcc-libs|pcc-libs]] module which contains libpcc.a and runtime startup code.
 
+  - __Fedora 11__ *(stable)*
+
+
+ In Fedora 11 (and others), the pcc package provides the pcc compiler.  Should you wish to install a newer version you will need the source code from this site for both pcc and pcc-libs from [[pcc-beta|pcc-beta]] or via cvs, along with a working gcc, bison and flex (all available from Fedora packages with the same name).
+
+These instructions assume you have these installed and also have the root password for installation.  For users without root access, installation to $HOME is possible using '--configure --prefix=$HOME/bindir/' (and 'export PATH="$PATH:$HOME/bindir"').
+
+Stage 1: Build pcc using gcc/flex/bison:
+
+        cvs -d :pserver:anonymous@pcc.ludd.ltu.se:/cvsroot co pcc
+        cd pcc
+        ./configure
+        make CC=gcc
+        su -c 'make install'
+
+Stage 2: Build pcc-libs with newly built and installed pcc:
+
+        cd ..
+        cvs -d :pserver:anonymous@pcc.ludd.ltu.se:/cvsroot co pcc-libs
+        cd pcc-libs
+        ./configure
+        make CC=pcc CPPFLAGS+="-I`pwd`/libpcc/include/ -I`pwd`/libsoftfloat/arch/i386/ -I`pwd`/libsoftfloat/"
+        su -c 'make install'
+
+Stage 3 (Optional): Rebuild pcc using pcc itself:
+
+        cd ../pcc
+        make clean
+        make CC=pcc
+        su -c 'make install'
+        pcc -v
+
  - __Debian GNU/Linux 4.0r0__
 
 

Powered by rcshistory.cgi 0.3