70N/ACheck the CC and CFLAGS lines in the makefile
70N/AIf your C library does not support the times(3) function, change the
70N/AIf it does, check the HZ value for the times(3) function.
70N/AIf your system does not define CLK_TCK it will be assumed to
919N/AIf possible use gcc v 2.7.?
919N/ATurn on the maximum optimising (normally '-O3 -fomit-frame-pointer' for gcc)
919N/AIn recent times, some system compilers give better performace.
919N/Arun './destest' to check things are ok.
919N/Arun './rpw' to check the tty code for reading passwords works.
919N/Arun './speed' to see how fast those optimisations make the library run :-)
919N/Arun './des_opts' to determin the best compile time options.
919N/AThe output from des_opts should be put in the makefile options and
des_enc.c 919N/Ashould be rebuilt. For 64 bit computers, do not use the DES_PTR option.
919N/AFor the DEC Alpha, edit
des.h and change DES_LONG to 'unsigned int'
919N/Aand then you can use the 'DES_PTR' option.
70N/Afew systems. Look and the options (UNROLL, PTR, RISC2 etc) and then
70N/Aturn on the relevant option in the Makefile
70N/AThere are some special Makefile targets that make life easier.
70N/Amake cc - standard cc build
1179N/Amake gcc - standard gcc build
70N/Amake x86-elf - x86 assembler (elf), linux-elf.
1179N/Amake x86-solaris- x86 assembler
1179N/Amake x86-bsdi - x86 assembler (
a.out with primative assembler).
970N/AIf at all possible use the assembler (for Windows NT/95, use
970N/AA make install will by default install
970N/Ades(1) should be compatible with sunOS's but I have been unable to
1179N/AThese routines should compile on MSDOS, most 32bit and 64bit version
493N/Aof Unix (BSD and SYSV) and VMS, without modification.
70N/AThe only problems should be #include files that are in the wrong places.
970N/AThese routines can be compiled under MSDOS.
970N/AI have successfully encrypted files using des(1) under MSDOS and then
1196N/Adecrypted the files on a SparcStation.
1196N/AI have been able to compile and test the routines with
1196N/AMicrosoft C v 5.1 and Turbo C v 2.0.
1196N/AThe code in this library is in no way optimised for the 16bit
970N/AWhen building for glibc, ignore all of the above and just unpack into
970N/Aglibc-1.??/des and then gmake as per normal.
970N/AAs a final note on performace. Certain CPUs like sparcs and Alpha often give
970N/Aa %10 speed difference depending on the link order. It is rather anoying
when one program reports 'x' DES encrypts a second and another reports