Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10 5/3/83; site mspiggy Path: utzoo!watmath!clyde!burl!ulysses!harpo!seismo!hao!hplabs!tektronix!uw-beaver!microsoft!mspiggy!danm From: danm@mspiggy (Dan McCabe) Newsgroups: net.micro Subject: Re: Coco os9 C notes Message-ID: <132@mspiggy> Date: Tue, 15-May-84 15:30:45 EDT Article-I.D.: mspiggy.132 Posted: Tue May 15 15:30:45 1984 Date-Received: Mon, 21-May-84 05:30:04 EDT References: <428@sri-arpa.UUCP> Organization: Microsoft, Bellevue, WA Lines: 21 Several of the RS/MW C compiler modules explicitly reference drive 1 (/d1). This is a hassle if you have only one drive, or if your other drive (maybe a winnie) is not named /D1. Fortunately, it is easy to fix. First off all copy your old files to save them in case you screw up. Simply get into debug for each of your modules. Search for the string "d1". Once found, change it to whatever you want. Make sure that if the new name is shorted than /D1 (e.g. /W), the string is null terminated. Exit debug. Verify the files (with -u (??) flag). Standard output will contain the corrected version. Delete the patched copy of the old version and rename the output of verify to the correct name. That's all there is to it. I believe that only the preprocessor and the linker have references to /D1. These should be the only ones that you need to patch. (I might be wrong on that; I did this about 2 months ago). However, it is easy enough to check the other modules for references to /D1. Happy hacking, Dan McCabe decvax!microsoft!danm