abc/readme

24 lines
888 B
Plaintext
Raw Normal View History

2006-02-20 17:01:00 +01:00
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
2006-06-11 17:01:00 +02:00
>> make // on Solaris, try "gmake"
2006-02-20 17:01:00 +01:00
If compiling as a static library, it is necessary to uncomment
#define _LIB in "src/abc/main/main.c"
2006-03-03 17:01:00 +01:00
Several things to try if it does not compile on your platform:
2006-06-11 17:01:00 +02:00
- 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
2006-04-12 17:01:00 +02:00
Finally, run regression test:
abc>>> so regtest.script