summaryrefslogtreecommitdiffstats
path: root/development/pcc/README
diff options
context:
space:
mode:
author B. Watson2014-10-31 20:51:07 +0100
committer Willy Sudiarto Raharjo2014-10-31 20:51:07 +0100
commit27a8d9e615ae1e9338e5082ba1224100be7f2d27 (patch)
treedd986ab2d46a4a8f1a46ac51912b1ed36df5f98a /development/pcc/README
parent39c33d45e6aa17f2944264caab1ed85be20bbc0a (diff)
downloadslackbuilds-27a8d9e615ae1e9338e5082ba1224100be7f2d27.tar.gz
development/pcc: Updated for version 1.1.0_beta_20141031.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/pcc/README')
-rw-r--r--development/pcc/README19
1 files changed, 18 insertions, 1 deletions
diff --git a/development/pcc/README b/development/pcc/README
index 59a3ef7e16..b76f30bc5a 100644
--- a/development/pcc/README
+++ b/development/pcc/README
@@ -1,3 +1,20 @@
pcc (Portable C Compiler) is based on the original Portable C Compiler
-by S. C. Johnson, written in the late 70's. About 50% of the frontend
+by S. C. Johnson, written in the late 70's. About 50% of the frontend
code and 80% of the backend code has been rewritten.
+
+Build options (environment variables):
+TLS - Enable thread local storage? Default=no, export TLS=yes to enable.
+CC - Compiler to use. Default is to look for pcc, gcc, clang (in that order).
+
+This build is for the 1.1.0.BETA branch of pcc. The 1.0 branch no
+longer works on modern Slackware versions (newer than 13.37). The old
+pcc 1.0 had separate builds for pcc and pcc-libs; this build includes
+the libraries so no separate pcc-libs is needed (or exists).
+
+Optional step: To bootstrap pcc, first remove any old versions of pcc
+(and pcc-libs, if present), then build and install pcc twice (without
+setting CC). The first time, pcc will be built with gcc. The second time,
+it will be built with itself.
+
+Note: pcc is a C compiler only. There is experimental, incomplete support
+for C++ and Fortran 77 in the pcc codebase, but neither is usable yet.