#19 add support to compile for NetWare

closed
my space
None
6
2008-06-08
2008-01-10
No

Hi,
I've created a patch which enables to compile for NetWare platform:
http://194.242.35.79/downloads/netware-p7zip_4.57.diff
following are the comments about the needed changes:
p7zip_4.57/CPP/7zip/Bundles/Alone/makefile,
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.

thanks!

Discussion

  • Guenter Knauf

    Guenter Knauf - 2008-01-27
    • priority: 5 --> 6
     
  • my space

    my space - 2008-02-04

    Logged In: YES
    user_id=336051
    Originator: NO

    Thank you for supporting p7zip.

    the next version of p7zip will have your patch.

    But I cannot take the patch "make -C" in makefile.

    On some platform, the command "make" does not support the flag "-C" ...

     
  • my space

    my space - 2008-02-04
    • assigned_to: nobody --> myspace
     
  • Guenter Knauf

    Guenter Knauf - 2008-02-05

    Logged In: YES
    user_id=670502
    Originator: YES

    Hi,
    thanks for acceptance! I've just updated the patch, and excluded the "make -C" stuff in the main makefile. Also I've added some more linker options to the makefile.netware_asm_gcc_3.X since I was able to fix some outstanding issues with the cross compiler.
    Find attached the updated version; I will also attach the makefile.netware_asm_gcc_3.X separately since that is the only change to my previous patch.

    thanks, Günter.

    File Added: netware-p7zip_4.57.diff

     
  • Guenter Knauf

    Guenter Knauf - 2008-02-05

    Logged In: YES
    user_id=670502
    Originator: YES

    File Added: makefile.netware_asm_gcc_3.X

     
  • my space

    my space - 2008-06-08
    • status: open --> closed
     
  • my space

    my space - 2008-06-08

    Logged In: YES
    user_id=336051
    Originator: NO

    try p7zip 4.58

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks