Talk About Network

Google


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 > Re: C Compiler ...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 6 Topic 440 of 500
Post > Topic >>

Re: C Compiler Problem

by ArarghMail704NOSPAM@[EMAIL PROTECTED] Apr 19, 2007 at 06:06 PM

On Thu, 19 Apr 2007 16:55:04 GMT, spam@[EMAIL PROTECTED]
 (Citizen Bob) wrote:

>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

I have 7 versions of that C compiler, and they all have CL.EXE.  Might
help if you mention the version number.
>
>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?
It probably uses the system 'give me a temp name' routine.
INT 21 - DOS 3.0+ - CREATE TEM****ARY FILE

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

Might try cleaning out the "c:\temp" & "c:\windows\temp" directories
and see what happens.

-- 
ArarghMail704 at [drop the 'http://www.'
from ->] http://www.arargh.com
BCET Basic Compiler Page: http://www.arargh.com/basic/index.html

To reply by email, remove the extra stuff from the reply address.
 




 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 Thu Jul 24 14:16:15 CDT 2008.