Mail Archives: djgpp/1999/06/05/19:39:48
> José R. Moraes wrote:
>
> The problem: I created the classical "Hello world" program saved as
> "Hello.c" in c:\djgpp, but I were unable to compile it using the
> command "gcc -o hello.exe hello.c" at the DOS prompt. The DOS window
> invariably reported "wrong command or file name".
>
> I'm a complete novice both at C and DJGGP. After installing the
> package for Windows98 downloaded through Delorie's file picker, I
> added lines to Autoexec.bat which now looks like this:
>
> set DJGPP=C:\DJGPP\DJGPP.ENV
> set PATH=C:\DJGPP\BIN;%PATH%
> Share.exe /L:500
> C:\PC-CIL~1\PCSCAN.EXE C:\ C:\WINDOWS\COMMAND\ /NS /WIN95
> C:\PC-CIL~1\TSRSCAN.COM
> @ECHO OFF
> mode con codepage prepare=((850) c:\windows\COMMAND\ega.cpi)
> mode con codepage select=850
> keyb br,,c:\windows\COMMAND\keyboard.sys
>
> Inside the folder c:\djgpp there is now the following unziped folders:
> alegro, bnu281b(1), djdev202, faq, gcc281b, gdb416b, gpp281b, info,
> igp2811b, mak377b, manifest, rhide14b, txi312b.
>
> Can someone tell me if I have done something wrong?
Yes. Don't unzip the files into their own separate folders. Unzip them
all directly into c:\djgpp.
And please don't post in HTML.
--
Nate Eldredge
nate AT cartsys DOT com
- Raw text -