delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2007/11/04/19:51:48

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
s=s1024; d=yahoo.com;
h=X-YMail-OSG:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
b=SEh9uhJg+PA8Vvgb2lhQIk/78eH7rVXKqH7RBznfa8BMERRvS6xhpKFM8fg94zPCDrgM2PovyxJC/6degLozWwuScKjBytQEygCm7MGufMNIp77ODgF+r1+0PjyoU5fDm1iUJSuEuWkx7104Azc2OH5XjJQQKC5YsCELoPcTB5w=;
X-YMail-OSG: UqICEPgVM1kiaZgQvlskmxBQP3Z1TgCWd2k8VP6yNXALXOg0cbmSYfOMcECZdcrFxw--
Date: Sun, 4 Nov 2007 16:51:21 -0800 (PST)
From: Daniel Oljaca <danoljaca AT yahoo DOT com>
Subject: Re: gcc problem , need help with djgpp
To: djgpp AT delorie DOT com
In-Reply-To: <fgllvs$f8q$1@aioe.org>
MIME-Version: 1.0
Message-ID: <779146.49496.qm@web30003.mail.mud.yahoo.com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

--0-1820061187-1194223881=:49496
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

Hi, thank you for responding. I just checked the file in my c:\programs, the file is there and it appears to be a C file. I checked the properties and all indications seem to say it was saved as samp.c. I don't see an extra .txt appendage. I did create this file with notepad but when I do a dir in ms dos it brings up samp.c. Like I said when I try to compile it i get this message: cc1.exe: error. samp.c: No such file or directory. I donot know what I am doing wrong. Any help would be appreciated, thanks again,
   
  Dan 
  
Cesar Rabak <csrabak AT yahoo DOT com DOT br> wrote:
  Daniel Oljaca escreveu:
> 
> Dear Djgpp Friend,
> 
> I downloaded the files and unzipped them into c:\djgpp. I am 
> however having a problem, when I use the gcc command to compile I get 
> this error message:
> 
> gcc samp.c -o samp.exe
> cc1.exe: error: samp.c: No such file or directory 
> 
> I believe I downloaded the correct files for Windows XP. These are the 
> files which I downoaded:
> 
> unzip32.exe
> djdev203.zip
> faq230b.zip
> readme.1st
> rhid15ab.zip
> bnu217b.zip
> gcc422b.zip
> gdb611b.zip
> mak3791b.zip
> txt411b.zip
> 
> from http://www.delorie.com/pub/djgpp/current/
> 
> I downloaded all of these to C:\djgpp and unzipped them. I got the 
> C:\djgpp\bin subdirectory and all the other subdirectories. They contain 
> gcc.exe, as.exe and subtify.exe.
> 
> I also clicked on control pannel, system, advanced, envirnoment 
> variables and added
> Path = C:\djgpp\bin
> Djgpp = C:\djgpp\djgpp.env
> 
> I then made a directory C:\cprograms to hold my sample programs. I 
> created a samp.c program in note pad with the following code:
> 
> #include 
> int main(void)
> {
> printf("Hello, world!\n");
> return 0;
> }
> 
> I saved it and then I tried to run the compile command in C:\cprograms, 
> but I recieved the error message that I mentioned above. I am not sure 
> where I went wrong on installing this or if you have any idea what that 
> error message means. If you can fill me in on some info for this problem 
> I would greatly appreciate it. Thanks allot, hope to hear back from you,
> 
> Sincerely,
> Daniel Oljaca
The message seems to indicate that the file you created with notepad:

or has been appended the extension .txt to it;
or has been saved in another folder/subdirectory than the one you 
expected (C:\cprograms).

In any event, the first thing to unravel the mystery is to check the 
presence of samp.c in c:\cprograms.


 __________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
--0-1820061187-1194223881=:49496
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit

<div>Hi, thank you for responding. I just checked the file in my c:\programs, the file is there and it appears to be a C file. I checked the properties and all indications seem to say it was saved as samp.c. I don't see an extra .txt appendage. I did create this file with notepad but when I do a dir in ms dos it brings up samp.c. Like I said when I try to compile it i get this message: cc1.exe: error.&nbsp;samp.c: No such file or directory. I donot know&nbsp;what I am doing wrong. Any help would be appreciated, thanks again,</div>  <div>&nbsp;</div>  <div>Dan&nbsp;</div>  <div><BR><B><I>Cesar Rabak &lt;csrabak AT yahoo DOT com DOT br&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">Daniel Oljaca escreveu:<BR>&gt; <BR>&gt; Dear Djgpp Friend,<BR>&gt; <BR>&gt; I downloaded the files and unzipped them into c:\djgpp. I am <BR>&gt; however having a problem, when I use the gcc command to compile I get <BR>&gt; this
 error message:<BR>&gt; <BR>&gt; gcc samp.c -o samp.exe<BR>&gt; cc1.exe: error: samp.c: No such file or directory <ENOENT><BR>&gt; <BR>&gt; I believe I downloaded the correct files for Windows XP. These are the <BR>&gt; files which I downoaded:<BR>&gt; <BR>&gt; unzip32.exe<BR>&gt; djdev203.zip<BR>&gt; faq230b.zip<BR>&gt; readme.1st<BR>&gt; rhid15ab.zip<BR>&gt; bnu217b.zip<BR>&gt; gcc422b.zip<BR>&gt; gdb611b.zip<BR>&gt; mak3791b.zip<BR>&gt; txt411b.zip<BR>&gt; <BR>&gt; from http://www.delorie.com/pub/djgpp/current/<BR>&gt; <BR>&gt; I downloaded all of these to C:\djgpp and unzipped them. I got the <BR>&gt; C:\djgpp\bin subdirectory and all the other subdirectories. They contain <BR>&gt; gcc.exe, as.exe and subtify.exe.<BR>&gt; <BR>&gt; I also clicked on control pannel, system, advanced, envirnoment <BR>&gt; variables and added<BR>&gt; Path = C:\djgpp\bin<BR>&gt; Djgpp = C:\djgpp\djgpp.env<BR>&gt; <BR>&gt; I then made a directory C:\cprograms to hold my sample programs. I
 <BR>&gt; created a samp.c program in note pad with the following code:<BR>&gt; <BR>&gt; #include <STDIO.H><BR>&gt; int main(void)<BR>&gt; {<BR>&gt; printf("Hello, world!\n");<BR>&gt; return 0;<BR>&gt; }<BR>&gt; <BR>&gt; I saved it and then I tried to run the compile command in C:\cprograms, <BR>&gt; but I recieved the error message that I mentioned above. I am not sure <BR>&gt; where I went wrong on installing this or if you have any idea what that <BR>&gt; error message means. If you can fill me in on some info for this problem <BR>&gt; I would greatly appreciate it. Thanks allot, hope to hear back from you,<BR>&gt; <BR>&gt; Sincerely,<BR>&gt; Daniel Oljaca<BR>The message seems to indicate that the file you created with notepad:<BR><BR>or has been appended the extension .txt to it;<BR>or has been saved in another folder/subdirectory than the one you <BR>expected (C:\cprograms).<BR><BR>In any event, the first thing to unravel the mystery is to check the <BR>presence of
 samp.c in c:\cprograms.<BR></BLOCKQUOTE><BR><p>&#32;__________________________________________________<br>Do You Yahoo!?<br>Tired of spam?  Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com 
--0-1820061187-1194223881=:49496--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019