www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/12/19/17:09:53

Message-ID: <32B9BAC8.5C26@bc.cybernex.net>
Date: Thu, 19 Dec 1996 16:59:36 -0500
From: Gregg Foti <gregg AT gate DOT cybernex DOT net>
Reply-To: gregg AT gate DOT cybernex DOT net
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: New C Programmer Problem

Hi,

I am a new C programmer (student where it is my responsiblity to aquire
C compiler.

I have experience in programming compiling languages, dos, and windows.

I am trying to compile a very simple C program (my first).

My computer uses windows 95.  I am trying to run "gcc" under DOS.  I
believe I have unzipped the programs properly for "C".

My program is:
#include <stdio.h>
main()
{
  printf("whatever");
}

My error message is "exam.c:1: c:\digpp\studio.h: no such file or
directory (ENOENT)"

I do have the file studio.h in my directory(digpp) where I am compiling
from with the command "gcc exam.c."

I have installed the following in my autoexec.bat:
  set djgpp=c:\djgpp\djpp.env
  set path=%path%;c:\djgpp\bin
I left alone my first set path statement.

I'd appreciate any help that would end my confusion.  Thanx.

Gregg Foti
Senior, Thomas Edison State College

- Raw text -


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