I've created a patch which enables to compile for NetWare platform:
following are the comments about the needed changes:
p7zip_4.57/CPP/7zip/Bundles/Alone7z/makefile -> moved PROG down after the include of makefile.machine, and added a var to specify a binary extension.
p7zip_4.57/CPP/7zip/Crypto/Hash/RandGen.cpp -> added include for getpid() on NetWare.
p7zip_4.57/CPP/Windows/System.cpp -> added __NETWARE__ to include unistd.h, added ifdef to include sys/sysinfo.h for get_nprocs() (BTW. wouldnt it be more correct if you use sysconf(_SC_NPROCESSORS_ONLN) instead of sysconf(_SC_NPROCESSORS_CONF) with the other platforms??).
p7zip_4.57/CPP/myWindows/wine_date_and_time.cpp -> renamed var daylight to localdaylight since we have daylight already in the NetWare headers.
p7zip_4.57/makefile -> this can be ignored because I'm not sure that this woks with all platform;, this is probably only for gnu make usable; I need this to cross-compile on Win32 where I usually have no bash.
p7zip_4.57/makefile.netware_asm_gcc_3.X -> added NetWare machine makefile.
Log in to post a comment.