Message-ID: <001001beaf9a$22958040$3a81e6c8@oemcomputer> From: "=?iso-8859-1?Q?Jos=E9_R._Moraes?=" To: Subject: Doubts of a Novice Date: Sat, 5 Jun 1999 18:26:49 -0300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_000B_01BEAF80.FA11D560" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_000B_01BEAF80.FA11D560 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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". =20 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: =20 set DJGPP=3DC:\DJGPP\DJGPP.ENV set PATH=3DC:\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=3D((850) c:\windows\COMMAND\ega.cpi) mode con codepage select=3D850 keyb br,,c:\windows\COMMAND\keyboard.sys =20 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. =20 Can someone tell me if I have done something wrong? =20 Jos=E9 Roberto ------=_NextPart_000_000B_01BEAF80.FA11D560 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
The problem: I created = the classical "Hello world" program = saved as=20 "Hello.c" in c:\djgpp, but I were unable to compile it using = the=20 command "gcc -o hello.exe hello.c" at the DOS prompt. The DOS = window=20 invariably reported "wrong command or file name".
 
I'm a complete novice both at C and = DJGGP. After=20 installing the package for Windows98 downloaded through Delorie's  = file=20 picker, I added lines to Autoexec.bat which now looks like = this:
 
set = DJGPP=3DC:\DJGPP\DJGPP.ENV
set=20 PATH=3DC:\DJGPP\BIN;%PATH%
Share.exe /L:500
C:\PC-CIL~1\PCSCAN.EXE = C:\=20 C:\WINDOWS\COMMAND\ /NS /WIN95
C:\PC-CIL~1\TSRSCAN.COM
@ECHO = OFF
mode=20 con codepage prepare=3D((850) c:\windows\COMMAND\ega.cpi)
mode con = codepage=20 select=3D850
keyb br,,c:\windows\COMMAND\keyboard.sys
 
Inside the folder c:\djgpp there is now the = following unziped=20 folders: alegro, bnu281b(1), djdev202, faq, gcc281b, gdb416b, gpp281b, = info,=20 igp2811b, mak377b, manifest, rhide14b, txi312b.
 
Can someone tell me if I have done something=20 wrong?
 
José Roberto
------=_NextPart_000_000B_01BEAF80.FA11D560--