Hints for Building Par

These are hints. There are no guarantees, and you are encouraged to make alterations according to your own taste. Feel free to suggest additions or modifications to this page.

AmigaOS with SAS/C 6.3
smake -f protoMakefile "CC=sc NOVER NOICON ANSI STRCONS PARM R STRICT DEF _STRICT_ANSI CPU ANY OPT DEF DONTFREE CSRC" "LINK1=sc LINK NOVER NOICON STRT cres OBJ" "LINK2=PNAME" "RM=delete" "JUNK=par.lnk"

(You may want to replace CPU ANY with CPU 68040, or whatever.)

FreeBSD 3.x with the bundled GCC
make -f protoMakefile CC="gcc -c -ansi -pedantic -O -DDONTFREE" LINK1="gcc -s"

GNU/Linux
make -f protoMakefile CC="gcc -c -ansi -pedantic -O3 -DDONTFREE" LINK1="gcc -s"

Irix
I've been told that there is a /usr/sbin/par (process accounting routine), so watch out for conflicts.

NeXTSTEP 3.x with the bundled GCC
make -f protoMakefile CC="cc -c -O2 -DDONTFREE" LINK1="cc -s"

OSF/1-Alpha 3.0
make -f protoMakefile CC="cc -c -g0 -O2 -check -DDONTFREE" LINK1="cc -s"

RPM-based Linux distributions
Volker Kuhlmann contributed a spec file.

SunOS 4.1.x with GCC
make -f protoMakefile CC="gcc -c -ansi -pedantic -O3 -DDONTFREE -DEXIT_FAILURE=1 -DEXIT_SUCCESS=0" LINK1="gcc -s"

SunOS 5.x with GCC
make -f protoMakefile CC="gcc -c -ansi -pedantic -O3 -DDONTFREE" LINK1="gcc -s"

SunOS 5.x with SPARCompiler C
make -f protoMakefile CC="cc -c -Xc -O -DDONTFREE" LINK1="cc -s"

Win32 with Visual C
I'm told that you need to add #include <malloc.h> to reformat.c. If that's true, the compiler does not conform to the ANSI C standard.
George V. Reilly contributed a makefile.

Thanks for suggestions from:


[AMC]  Prepared by Adam M. Costello
 Last modified: 2020-Sep-11-Fri 19:41:20 GMT
[Any Browser]