home *** CD-ROM | disk | FTP | other *** search
/ Dream 52 / Amiga_Dream_52.iso / Amiga / Workbench / Archivers / arcPPC.readme < prev    next >
Text File  |  1998-04-11  |  2KB  |  79 lines

  1. Short:    Arc 5.21 for PPC, including source
  2. Author:   (various, see below)
  3. Uploader: Andreas_Kleinert@t-online.de
  4. Type:     util/arc
  5.  
  6.  Recently I've come across some .arc packed
  7.  files and thought it would be nice to have
  8.  a more uptodate version of this archiver...
  9.  
  10.  Although it's a little bit outdated, it may
  11.  be of some use sometimes - and so, why not
  12.  directly make a PPC version instead of
  13.  fiddling with 68k first ?!
  14.  
  15.  So, now it is finally available for
  16.  powerUP (TM), too...
  17.  
  18.  There was some work necessary for porting
  19.  it to PPC - not actually changes to the
  20.  program itself, but additions to replace
  21.  missing/differing functions within the
  22.  compilers' library.
  23.  
  24.  Within the directory "src" (archived to src.lha)
  25.  you find the complete, unmodified source code distribution.
  26.  
  27.  Directory "srcpup" (archived to srcup.lha) does include
  28.  a smakefile + SCOPTIONS as well as the three sourcefiles
  29.  that had to be added (scandir.c, getwd.c, rename.c).
  30.  
  31.  "rename()" had to be changed to be able to perform
  32.  a move() as well. Adjusting "scandir()" was a
  33.  little bit hacky/kludgy/tricky but resulted
  34.  in the nice bonus, that this version of ARC
  35.  is aware of the AmigaDOS "#?" wildcard
  36.  (should not be too difficult to extend readdir.c
  37.   to support the rest of the wildcards as well...)
  38.  
  39.  The "bin" directory finally does include the
  40.  ELF binaries.
  41.  
  42.  Try running these with RunElf, if you encounter
  43.  problems with ElfLoadSeg; nevertheless "e" bit
  44.  already has been set...)
  45.  
  46.  Last not least:
  47.  
  48.  Set some environment variables, for example as follows:
  49.  
  50.    SetEnv TMPDIR  TMP:arc
  51.    SetEnv ARCTEMP TMP:arc
  52.  
  53.  or
  54.  
  55.    SetEnv TMPDIR  RAM:t
  56.    SetEnv ARCTEMP RAM:t
  57.  
  58.  Note, that the given path must not end with a ":" or "/"
  59.  
  60.  You MUST do these settings as described, otherwise
  61.  archiving won't work (because otherwise the unix-code will
  62.  produce something like "foo:/tmpfile" or "foo//tmpfile).
  63.  
  64.  
  65.  How to call the program:
  66.  
  67.   1. Archiving:    ARC.ELF a archive file1 file2 file3
  68.                    ARC.ELF a archive pattern1#? pattern2#? file1
  69.  
  70.   2. Dearchiving   ARC.ELF e archive
  71.  
  72.  
  73.  
  74.  P.S.: If the author did not forbid modifications in the
  75.        source code itself, this port would have been MUCH easier.
  76.  
  77.  --
  78.  ARK, 8/April/98
  79.