abc/abc70930
Alan Mishchenko e54d969161 Version abc70930 2007-09-30 08:01:00 -07:00
..
examples Version abc70930 2007-09-30 08:01:00 -07:00
src Version abc70930 2007-09-30 08:01:00 -07:00
.DS_Store Version abc70930 2007-09-30 08:01:00 -07:00
Instructions_for_Mac_OS_X_X_code_users.rtf Version abc70930 2007-09-30 08:01:00 -07:00
Makefile Version abc70930 2007-09-30 08:01:00 -07:00
abc.dsp Version abc70930 2007-09-30 08:01:00 -07:00
abc.dsw Version abc70930 2007-09-30 08:01:00 -07:00
abc.plg Version abc70930 2007-09-30 08:01:00 -07:00
abc.rc Version abc70930 2007-09-30 08:01:00 -07:00
abclib.dsp Version abc70930 2007-09-30 08:01:00 -07:00
abclib.dsw Version abc70930 2007-09-30 08:01:00 -07:00
abclib.plg Version abc70930 2007-09-30 08:01:00 -07:00
abctestlib.dsp Version abc70930 2007-09-30 08:01:00 -07:00
abctestlib.dsw Version abc70930 2007-09-30 08:01:00 -07:00
abctestlib.plg Version abc70930 2007-09-30 08:01:00 -07:00
copyright.txt Version abc70930 2007-09-30 08:01:00 -07:00
demo.c Version abc70930 2007-09-30 08:01:00 -07:00
depends.sh Version abc70930 2007-09-30 08:01:00 -07:00
readme Version abc70930 2007-09-30 08:01:00 -07:00
regtest.script Version abc70930 2007-09-30 08:01:00 -07:00
regtest_output.txt Version abc70930 2007-09-30 08:01:00 -07:00

readme

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 distribution 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