www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/07/04/09:43:02

From: Todd Smith <tbsmith AT mindspring DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: compiling error (help)
Date: Fri, 04 Jul 1997 01:37:33 -0500
Organization: MindSpring Enterprises
Lines: 15
Message-ID: <33BC9A2D.3428@mindspring.com>
Reply-To: tbsmith AT mindspring DOT com
NNTP-Posting-Host: user-2k7i35p.dialup.mindspring.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

when i try to compile a very simple c script, here's what happens

With #include "C:\djgpp\include\stdio.h" in the .c file  -->
  C:\djgpp\bin>gcc hello.c -o hello.exe
  In file included from hello.c:1:
  C:\djgpp\include\stdio.h:12: sys/djtypes.h: No such file or directory
(ENOENT)

With #include in the .c file (like the guide I have says)  -->
  C:\djgpp\bin>gcc hello.c -o hello.exe
  hello.c:1 '#include' expects "FILENAME" or <FILENAME>
  
what can i do?
I put the .env file where it said to, and from the dos prompt if I type
"set", the djgpp string shows up in the list

- Raw text -


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