Path: utzoo!attcan!uunet!wuarchive!julius.cs.uiuc.edu!usc!ucsd!ucbvax!hplabs!hpda!hpcupt1!swh From: swh@hpcupt1.HP.COM (Steve Harrold) Newsgroups: comp.lang.c Subject: Re: Unrecognized switch using MS C 5.1 Message-ID: <5940040@hpcupt1.HP.COM> Date: 18 Sep 90 13:38:06 GMT References: <1990Sep17.200600.9089@sea.com> Organization: Hewlett Packard, Cupertino Lines: 15 >>> Does anyone know why the following error message is occuring when I >>> attempt to compile and link a simple C program using Microsoft's >>> CL.EXE (version 5.1): >>> >>> unrecognized switch error: "NOI" >>> >>> The error message occurs as the linking process is starting up. --------------- The LINK program that comes with MSC 5.1 is supposed to recognize that switch. Methinks you are inadvertently executing an older version of LINK. Have you checked your search PATH for a directory that may contain such a critter, perhaps a directory with a name like MSDOS that contains the older version usually supplied with the DOS system? Look also in your current directory, where your source files are.