www.delorie.com/archives/browse.cgi | search |
Message-ID: | <34F1137D.DD4B5879@beverly-hills-ca.com> |
Date: | Sun, 22 Feb 1998 22:13:17 -0800 |
From: | Jonathan Summers <summers AT beverly-hills-ca DOT com> |
Reply-To: | summers AT deakin DOT edu DOT au |
Organization: | Deakin University Australia |
MIME-Version: | 1.0 |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: No such file or directory (ENOENT) |
References: | <34F0D8C1 DOT 3BA7C8A5 AT beverly-hills-ca DOT com> |
NNTP-Posting-Host: | 01-043.015.popsite.net |
Lines: | 41 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Many thanks to all those who pointed me in the right direction - incorrect environment setting. Also thanks for your encouragement. > I am sure what I am doing wrong is so obvious that it is staring me in > the face. I have installed gcc and am trying to compile the following: > ============== > #include <stdio.h> > > main() > { > printf("Hello world\n"); > } > ==================== > > My path is: > =================== > PATH=C:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\TEMP:\C:\DJGPP\INCLUDE > ================== > > but when I attempt to compile I get: > ================== > C:\SCC172>gcc hello.c -o hello.exe -lm > hello.c:1: stdio.h: No such file or directory (ENOENT) > ================== > hello.c is in c:\scc172. > > What am I doing wrong?? > > Many thanks > > Jonathan Summers -- Keep well Jonathan Summers http://www.beverly-hills-ca.com/members/summers/ The Academy of Digital Music http://www.minuet.demon.co.uk/admusic.htm
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |