Mail Archives: djgpp/2007/11/04/18:24:38
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:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID;
|
| b=0h822V06FqoP10JGOhVa9sd2H35hgZ0K34agXT0ykyeaBmGjFWn9BWI0A162GAQ1qbOkrsCZvP8RznGhTzaaibLjMyGefglttPfZ2nSYvMv17NKRS/PY2qfCz2udBzYqNu5jQ1P8GEJsEACDERwsQga2tw8PKIyb82P1f7O4BEU=;
|
X-YMail-OSG: | kLXydk4VM1nqtpf5xpt.jsh69pXJEsVZognmKY7r8_ZIuoyTLjde6bR9RlfhwQZ9gvtx9uZkgck0tQ3HLOApB.S2X1nwGG4N.zl9HoMK9N57CTCdbgdGa1tOXI9bJQ--
|
Date: | Sun, 4 Nov 2007 15:23:50 -0800 (PST)
|
From: | Daniel Oljaca <danoljaca AT yahoo DOT com>
|
Subject: | gcc problem , need help with djgpp
|
To: | djgpp AT delorie DOT com
|
MIME-Version: | 1.0
|
Message-ID: | <371770.85584.qm@web30005.mail.mud.yahoo.com>
|
Reply-To: | djgpp AT delorie DOT com
|
--0-2000630116-1194218630=:85584
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
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 <ENOENT>
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 <stdio.h>
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
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
--0-2000630116-1194218630=:85584
Content-Type: text/html; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
<DIV id=yiv1133554879> <DIV>Dear Djgpp Friend,</DIV> <DIV> </DIV> <DIV> 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:</DIV> <DIV> </DIV> <DIV>gcc samp.c -o samp.exe</DIV> <DIV>cc1.exe: error: samp.c: No such file or directory <ENOENT></DIV> <DIV> </DIV> <DIV>I believe I downloaded the correct files for <SPAN class=yshortcuts id=lw_1194218587_0 style="CURSOR: hand; BORDER-BOTTOM: #0066cc 1px dashed">Windows XP</SPAN>. These are the files which I downoaded:</DIV> <DIV> </DIV> <DIV>unzip32.exe</DIV> <DIV>djdev203.zip</DIV> <DIV>faq230b.zip</DIV> <DIV>readme.1st</DIV> <DIV>rhid15ab.zip</DIV> <DIV>bnu217b.zip</DIV> <DIV>gcc422b.zip</DIV> <DIV>gdb611b.zip</DIV> <DIV>mak3791b.zip</DIV> <DIV>txt411b.zip</DIV> <DIV> </DIV> <DIV>from <A href="http://www.delorie.com/pub/djgpp/current/"
target=_blank rel=nofollow><FONT face="Courier New" color=#003399><SPAN class=yshortcuts id=lw_1194218587_1>http://www.delorie.com/pub/djgpp/current/</SPAN></FONT></A></DIV> <DIV><FONT color=#003399></FONT> </DIV> <DIV>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.</DIV> <DIV> </DIV> <DIV>I also clicked on control pannel, system, advanced, envirnoment variables and added</DIV> <DIV>Path = C:\djgpp\bin</DIV> <DIV>Djgpp = C:\djgpp\djgpp.env</DIV> <DIV> </DIV> <DIV>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:</DIV> <DIV> </DIV> <DIV>#include <stdio.h></DIV> <DIV>int main(void)<BR>{<BR> printf("Hello, world!\n");<BR> return 0;<BR>}</DIV> <DIV> </DIV> <DIV>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,</DIV> <DIV> </DIV> <DIV>Sincerely,</DIV> <DIV>Daniel Oljaca</DIV> <div>__________________________________________________<BR>Do You Yahoo!?<BR>Tired of spam? Yahoo! Mail has the best spam protection around <BR>http://mail.yahoo.com </div></DIV><!-- toctype = X-unknown --><!-- toctype = text --><!-- text --><p> __________________________________________________<br>Do You Yahoo!?<br>Tired of spam? Yahoo! Mail has the best spam protection around <br>http://mail.yahoo.com
--0-2000630116-1194218630=:85584--
- Raw text -