Path: utzoo!attcan!uunet!lll-winken!lll-tis!ames!mailrus!uflorida!novavax!proxftl!markd From: markd@proxftl.UUCP (Mark Davidson) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: BEWARE of changing the command line switch (switchar) Keywords: switchar COMMAND.COM Message-ID: <930@proxftl.UUCP> Date: 19 Oct 88 21:30:30 GMT References: <824@kksys.UUCP> Reply-To: markd@proxftl.UUCP (Mark Davidson) Distribution: na Organization: Proximity Technology, Ft. Lauderdale Lines: 21 Summary: Expires: Sender: Followup-To: In article <824@kksys.UUCP> bird@kksys.UUCP (Mike Bird) writes: > >BEWARE: When you change the command line switch on COMMAND.COM, there are >quite a few products that no longer will work. Alas, this is too true. If you purchase the MKS Toolkit (highly recommended for Unix(R) fans), and you use the Korn shell supplied with it, you find out exactly what programs don't handle this correctly. The documentation supplied with the toolkit is kind enough to point some of these out. For example, since the Korn shell sets your path separator to / and uses - as an option switch, Microsoft C has problems because you would naturally use /'s in your environment variables (PATH, LIB, INCLUDE), right? You have to change this back in your shell setup scripts, as Microsoft C can't handle forward slashes in these variables. Fortunately, the shell itself has no problem with this, so you can just set these variables up in a special manner and use - to specify compiler options. It's a bit of a pain though, because the compiler doesn't tell you this is the problem; it just fails in the middle of the compile process (I believe with either an internal or an unknown error). Sigh. -- In real life: Mark E. Davidson uflorida!novavax!proxftl!markd Proximity Technology Inc., 3511 NE 22nd Ave, Ft. Lauderdale FL, 33308 #define STANDARD_DISCLAIMER