www.delorie.com/archives/browse.cgi | search |
From: | "A. Sinan Unur" <sinan DOT unur AT cornell DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: HELP!!!!!!!!!!!!!!!!! |
Date: | Sun, 08 Feb 1998 20:54:25 -0500 |
Organization: | Cornell University (http://www.cornell.edu/) |
Lines: | 32 |
Sender: | asu1 AT cornell DOT edu (Verified) |
Message-ID: | <34DE61D1.CF58CE2C@cornell.edu> |
References: | <34DE55EF DOT 5044 AT gpu DOT srv DOT ualberta DOT ca> |
NNTP-Posting-Host: | cu-dialup-1626.cit.cornell.edu |
Mime-Version: | 1.0 |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Jennifer Lee wrote: > 1)Info.exe: According to the help files that I have read it > doesn't really require any installation other than unzipping. But, > when I run it from windows95 it says: info.exe: dir: No such file or > directory (ENOENT). From the Dos prompt it gives the same message. Any > ideas??? you haven't added djgpp\bin to your path. > > 2)Compilation: How do you compile a C source file? What > commands do you use? Where do you put the source file (the directory > relative to the rest of the program)? And, Where do I find info like > this??? to compile and link with the standard library: gcc myprog.c -o myprog.exe -Wall just to compile: gcc -c myprog.c -Wall > 3)Header files: I wrote a source file for a program and it > included a header file. The line for that is: #include <stdio.h>. But, > when i try to compile it, it says: hello.c:1: stdio.h: No such file or > directory (ENOENT). Whats going on??? you haven't set the djgpp environment variable to point to the djgpp.env file. all these are explained in the file shockingly called README.1ST. -- Sinan
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |