Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > MSDOS Programmer > C Compiler Prob...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 6 Topic 440 of 494
Post > Topic >>

C Compiler Problem

by spam@[EMAIL PROTECTED] (Citizen Bob) Apr 19, 2007 at 04:55 PM

I am using an old version of the Microsoft Optimizing C Compiler,
cl.exe. The command line I use  to compile source code is cl /nologo
/Oxz /Gs /W4 c.c

That is supposed to compile the source code and link the object code
to create an executable. 

However I get the following error:

¦Command-line error D2018

¦cannot create linker response file
¦
¦The compiler could not create a response file for passing 
¦arguments to the linker.
¦
¦This error can occur when an existing read-only file has the
¦ same name as the filename the compiler gives to the response 
¦ file.

To work around this problem, I use the following command 
link c.obj.

What filename does the compiler give the response file?

What is causing this problem and how to I fix it?


--

"Prediction is very difficult, especially about the future."
--Niels Bohr




 6 Posts in Topic:
C Compiler Problem
spam@[EMAIL PROTECTED] (  2007-04-19 16:55:04 
Re: C Compiler Problem
ArarghMail704NOSPAM@[EMAI  2007-04-19 18:06:16 
Re: C Compiler Problem
spam@[EMAIL PROTECTED] (  2007-04-20 11:54:23 
Re: C Compiler Problem
ArarghMail704NOSPAM@[EMAI  2007-04-20 15:55:34 
Re: C Compiler Problem
spam@[EMAIL PROTECTED] (  2007-04-21 12:01:03 
Re: C Compiler Problem
ArarghMail704NOSPAM@[EMAI  2007-04-21 18:06:09 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon May 12 16:42:55 CDT 2008.