cvs.gedasymbols.org/archives/browse.cgi | search |
Message-ID: | <34F0D8C1.3BA7C8A5@beverly-hills-ca.com> |
Date: | Sun, 22 Feb 1998 18:02:42 -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: | No such file or directory (ENOENT) |
NNTP-Posting-Host: | 01-005.015.popsite.net |
Lines: | 32 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Hi 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |