summaryrefslogtreecommitdiffstats
path: root/readme
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2008-01-30 20:01:00 -0800
committerAlan Mishchenko <alanmi@berkeley.edu>2008-01-30 20:01:00 -0800
commit0c6505a26a537dc911b6566f82d759521e527c08 (patch)
treef2687995efd4943fe3b1307fce7ef5942d0a57b3 /readme
parent4d30a1e4f1edecff86d5066ce4653a370e59e5e1 (diff)
downloadabc-0c6505a26a537dc911b6566f82d759521e527c08.tar.gz
abc-0c6505a26a537dc911b6566f82d759521e527c08.tar.bz2
abc-0c6505a26a537dc911b6566f82d759521e527c08.zip
Version abc80130_2
Diffstat (limited to 'readme')
-rw-r--r--readme26
1 files changed, 26 insertions, 0 deletions
diff --git a/readme b/readme
new file mode 100644
index 00000000..5c06d4b5
--- /dev/null
+++ b/readme
@@ -0,0 +1,26 @@
+Often the code comes directly from a Windows computer.
+The following steps may be needed to compile it on UNIX:
+
+>> dos2unix Makefile Makefile
+>> dos2unix depends.sh depends.sh
+>> chmod 755 depends.sh
+>> make // on Solaris, try "gmake"
+
+If compiling as a static library, it is necessary to uncomment
+#define _LIB in "src/abc/main/main.c"
+
+Several things to try if it does not compile on your platform:
+- Try running all code (not only Makefile and depends.sh) through dos2unix
+- Try the following actions:
+ (a) Remove flags from the libs line (LIBS :=) in Makefile
+ (b) Remove "src\base\main\libSupport.c" from "src\base\main\module.make"
+ (c) Comment calls to Libs_Init() and Libs_End() in "src\base\main\mainInit.c"
+- Try linking with gcc (rather than g++)
+ For this replace "LD := g++" with "LD := gcc -lm" in Makefile
+- If your Linux distributin does not have "readline", you may have problems
+ compiling ABC with gcc. Please try installing this library from
+ http://tiswww.case.edu/php/chet/readline/rltop.html
+
+
+Finally, run regression test:
+abc>>> so regtest.script