www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/13/19:55:48

From: "Taylor and Thorn" <thorn-taylor1 AT worldnet DOT att DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: compiling problem with header files
Date: 13 Apr 1997 19:31:47 GMT
Organization: Not Available
Lines: 24
Message-ID: <01bc4841$32ddc4c0$aa7893cf@default>
NNTP-Posting-Host: 207.147.120.170
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I just got GNU CC and am trying to learn how to use it.  When I try to
compile a C source code file, I get an error saying that the header file
could not be found.  Any help would be greatly appreciated, thanks.

To give more information, I have included everything I typed from the
source code to compiling:

#include <stdio.h>

int main(void)
{
  printf("Hello, world!\n");
  return 0;
}
[exit editor and go to DOS prompt}
gcc hello.c -o hello.exe


-- 
Due to the mass amounts of bulk mail sent my way,
please remove the 1 in my address, thanks.

Knowledge is great power and good, knowledge of
knowledge is greatest power and evil.

- Raw text -


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