Mail Archives: djgpp/1999/06/05/17:24:59
Message-ID: | <001001beaf9a$22958040$3a81e6c8@oemcomputer>
|
From: | "=?iso-8859-1?Q?Jos=E9_R._Moraes?=" <compumor AT uol DOT com DOT br>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | Doubts of a Novice
|
Date: | Sat, 5 Jun 1999 18:26:49 -0300
|
MIME-Version: | 1.0
|
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
<!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<HTML>
<HEAD>
<META content=3Dtext/html;charset=3Diso-8859-1 =
http-equiv=3DContent-Type><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 =
HTML//EN"><!DOCTYPE HTML PUBLIC "-//W3C//DTD W3 HTML//EN">
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#000000 size=3D2><U>The problem</U>: I created =
t</FONT><FONT=20
color=3D#000000 size=3D2>he 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".</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>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:</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT color=3D#000000 size=3D2>set =
DJGPP=3DC:\DJGPP\DJGPP.ENV<BR>set=20
PATH=3DC:\DJGPP\BIN;%PATH%<BR>Share.exe /L:500<BR>C:\PC-CIL~1\PCSCAN.EXE =
C:\=20
C:\WINDOWS\COMMAND\ /NS /WIN95<BR>C:\PC-CIL~1\TSRSCAN.COM<BR>@ECHO =
OFF<BR>mode=20
con codepage prepare=3D((850) c:\windows\COMMAND\ega.cpi)<BR>mode con =
codepage=20
select=3D850<BR>keyb br,,c:\windows\COMMAND\keyboard.sys</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>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.</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>Can someone tell me if I have done something=20
wrong?</FONT></DIV>
<DIV><FONT size=3D2></FONT> </DIV>
<DIV><FONT size=3D2>José Roberto</FONT></DIV></BODY></HTML>
------=_NextPart_000_000B_01BEAF80.FA11D560--
- Raw text -