home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / misc / 29707 < prev    next >
Encoding:
Text File  |  1992-09-09  |  1.3 KB  |  34 lines

  1. Newsgroups: comp.os.os2.misc
  2. Path: sparky!uunet!munnari.oz.au!bruce.cs.monash.edu.au!monu6!yoyo.cc.monash.edu.au!parry
  3. From: parry@yoyo.cc.monash.edu.au (Tom J Parry)
  4. Subject: GMAKE and GCC and RCS
  5. Message-ID: <1992Sep10.051255.8068@monu6.cc.monash.edu.au>
  6. Originator: parry@yoyo.cc.monash.edu.au
  7. Sender: news@monu6.cc.monash.edu.au (Usenet system)
  8. Organization: Monash University, Melb., Australia.
  9. Date: Thu, 10 Sep 1992 05:12:55 GMT
  10. Lines: 22
  11.  
  12. I have a slight problem using GMAKE, GCC and RCS together. This is
  13. slightly related to my previous post about read only files under HPFS.
  14.  
  15. When using RCS, checked out files are marked read-only as they are under
  16. UNIX and because of this GCC can not compile them because read-only implies
  17. system and hidden (or so it seems), but that argument I've gone into in my
  18. previous post.
  19.  
  20. My current grievance is as follows: When using RCS and GMAKE together,
  21. GMAKe executes a command like the following:
  22. test -f filename.c || co filename.c
  23.  
  24. In a UNIX shell, this tests if filename.c exists and if not it checks it
  25. out of the RCS system [Did I mention that the checked-out copy is read-only
  26. :-] Can anybody think of an equivalent way of doing such a thing in OS/2.
  27. You only want the 'co' to execute if the 'test' fails, hence the ||.
  28.  
  29. Anybody think of a solution?
  30.  
  31. -- 
  32. Tom J Parry.
  33. Your reality is a figment of my imagination.
  34.