Mail Archives: djgpp/1999/09/08/14:25:02
On Wed, 8 Sep 1999, Mike Daniel wrote:
> Ok yes I am sure that I have a file named helloworld.c and here are the
> contents of my autoexec.bat and config.sys:
These are generally okay.
> SET PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\CDROM;C:\BRCD\BIN;C:\DJGPP\BIN;
It is better to put the DJGPP bin subdirectory first, not last. And get
rid of that trailing semi-colon.
Let's make sure the settings from AUTOEXEC.BAT are indeed in effect. To
this end, please type "set > environ.txt" at the command prompt, and post
here the contents of the file environ.txt that is created by this.
> And this is typed correctly with no spelling errors I also downloaded the
> new gcc295b and gpp295b and again, there is a file named helloworld.c in my
> c:\projects dir.
How did you make sure helloworld.c is there? The fool-proof method is to
type "dir helloworld*" from the command line, since other Windows
programs sometimes lie to you about what files are there (e.g., they
might conceal the extensions).
If nothing of the above gives the clue, post here what is produced by the
following command:
gcc -v < nul
- Raw text -