Short: Arc 5.21 for PPC, including source Type: util/arc Uploader: Andreas_Kleinert@t-online.de Author: (various, see below) Recently I've come across some .arc packed files and thought it would be nice to have a more uptodate version of this archiver... Although it's a little bit outdated, it may be of some use sometimes - and so, why not directly make a PPC version instead of fiddling with 68k first ?! So, now it is finally available for powerUP (TM), too... There was some work necessary for porting it to PPC - not actually changes to the program itself, but additions to replace missing/differing functions within the compilers' library. Within the directory "src" (archived to src.lha) you find the complete, unmodified source code distribution. Directory "srcpup" (archived to srcup.lha) does include a smakefile + SCOPTIONS as well as the three sourcefiles that had to be added (scandir.c, getwd.c, rename.c). "rename()" had to be changed to be able to perform a move() as well. Adjusting "scandir()" was a little bit hacky/kludgy/tricky but resulted in the nice bonus, that this version of ARC is aware of the AmigaDOS "#?" wildcard (should not be too difficult to extend readdir.c to support the rest of the wildcards as well...) The "bin" directory finally does include the ELF binaries. Try running these with RunElf, if you encounter problems with ElfLoadSeg; nevertheless "e" bit already has been set...) Last not least: Set some environment variables, for example as follows: SetEnv TMPDIR TMP:arc SetEnv ARCTEMP TMP:arc or SetEnv TMPDIR RAM:t SetEnv ARCTEMP RAM:t Note, that the given path must not end with a ":" or "/" You MUST do these settings as described, otherwise archiving won't work (because otherwise the unix-code will produce something like "foo:/tmpfile" or "foo//tmpfile). How to call the program: 1. Archiving: ARC.ELF a archive file1 file2 file3 ARC.ELF a archive pattern1#? pattern2#? file1 2. Dearchiving ARC.ELF e archive P.S.: If the author did not forbid modifications in the source code itself, this port would have been MUCH easier. -- ARK, 8/April/98