delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/06/24/09:45:55

Message-ID: <00c401bfdde0$74f9bd40$bada36cb@mpdywdzn>
From: "jeffflew" <jflew AT bigpond DOT com>
To: <djgpp AT delorie DOT com>
Subject: Request for assistance from real IT newbie
Date: Sat, 24 Jun 2000 23:31:08 +1000
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_00C1_01BFDE34.461F8640
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello

I'm quite new to computing especially setting up PCs etc so I apologize =
first up if my questions seem dumb but I'd really appreciate any help =
someone can offer.
 =20
I've just purchased SAMS Teach Yourself C in 21 days - Complete Compiler =
editon. The compiler that comes with it on CD-ROM is DJGPP.
=20
I installed from the CD and have looked at FAQ and readme but am getting =
quite lost. I've used a compiler for Java before and it could be set up =
like a window where you'd type the code and enter the commands for =
compile and execute but I can't seem to work out how to get up such a =
window on DJGPP. Do you just use the DOS-Prompt with DJGPP? I tried =
creating a file hello.c and running it from the DOS-Prompt with the =
commands suggested but no luck.
=20
I've copied below my SET and autoexec.bat and config.sys. It said unzip =
the file go32-v2 but I can't find the file in the bin subdirectory or =
anywhere in my C:\DJGPP directory.
=20
If you need anymore info let me know. Any help you could give would be =
great. If you could advise me on basic set up and how I can compile and =
execute a simple C program such as the Hello World program that most =
languages start with that would be fantastic.
=20
I hope to hear from someone soon, appreciate your any assistance.=20
=20
Autoexec.bat
SET PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\jdk1.2.1\BIN;C:\DJGPP\BIN
SET CLASSPATH=3D.;C:\JFC;
SET DJGPP=3DC:\DJGPP\DJGPP.ENV


Config.sys
DEVICE C:\WINDOWS\HIMEM.SYS
DEVICE C:\WINDOWS\EMM386.EXE NOEMS
DOS=3DHIGH,UMB
=20
SET
TMP=3DC:\WINDOWS\TEMP

TEMP=3DC:\WINDOWS\TEMP

PROMPT=3D$p$g

winbootdir=3DC:\WINDOWS

COMSPEC=3DC:\WINDOWS\COMMAND.COM

PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.2.1\BIN;C:\DJGPP\BIN

CLASSPATH=3D.;C:\JFC;

DJGPP=3DC:\DJGPP\DJGPP.ENV

windir=3DC:\WINDOWS

BLASTER=3DA220 I5 D1 H1 REC3 T6 P330

CMDLINE=3Dgcc -o hello hello.c

Regards

Jeff Flew




------=_NextPart_000_00C1_01BFDE34.461F8640
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>
<META content=3D'"MSHTML 4.72.3110.7"' name=3DGENERATOR>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>
<DIV><FONT color=3D#000000 size=3D2>Hello</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I'm quite new to computing =
especially setting up=20
PCs etc so I apologize first up if my questions seem dumb but I'd really =

appreciate any help someone can offer.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>&nbsp;</FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I've just purchased SAMS Teach =
Yourself C in 21=20
days - Complete Compiler editon. The compiler that comes with it on =
CD-ROM is=20
DJGPP.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I installed from the CD and have =
looked at FAQ=20
and readme but am getting quite lost. I've used a compiler for Java =
before and=20
it could be set up like a window where you'd type the code and enter the =

commands for compile and execute but I can't seem to work out how to get =
up such=20
a window on DJGPP. Do you just use the DOS-Prompt with DJGPP? I tried =
creating a=20
file hello.c and running it from the DOS-Prompt with the commands =
suggested but=20
no luck.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I've copied below my SET and =
autoexec.bat and=20
config.sys. It said unzip the file go32-v2 but I can't find the file in =
the bin=20
subdirectory or anywhere in my C:\DJGPP directory.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>If you need anymore info let me =
know. Any help=20
you could give would be great. If you could advise me on basic set up =
and how I=20
can compile and execute a simple C program such as the Hello World =
program that=20
most languages start with that would be fantastic.</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>I hope to hear from someone soon, =
appreciate=20
your any assistance. </FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Autoexec.bat</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>SET=20
PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\jdk1.2.1\BIN;C:\DJGPP\BIN<BR>SET =

CLASSPATH=3D.;C:\JFC;<BR>SET DJGPP=3DC:\DJGPP\DJGPP.ENV</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2><BR></FONT>&nbsp;</DIV>
<DIV><FONT color=3D#000000 size=3D2>Config.sys</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2>DEVICE =
C:\WINDOWS\HIMEM.SYS<BR>DEVICE=20
C:\WINDOWS\EMM386.EXE NOEMS<BR>DOS=3DHIGH,UMB</FONT></DIV>
<DIV><FONT color=3D#000000 size=3D2></FONT>&nbsp;</DIV>
<DIV><FONT size=3D2>SET</FONT></DIV>
<DIV><FONT size=3D2><FONT face=3D"Courier New" size=3D2>
<P>TMP=3DC:\WINDOWS\TEMP</P>
<P>TEMP=3DC:\WINDOWS\TEMP</P>
<P>PROMPT=3D$p$g</P>
<P>winbootdir=3DC:\WINDOWS</P>
<P>COMSPEC=3DC:\WINDOWS\COMMAND.COM</P>
<P>PATH=3DC:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.2.1\BIN;C:\DJGPP\BIN</P>
<P>CLASSPATH=3D.;C:\JFC;</P>
<P>DJGPP=3DC:\DJGPP\DJGPP.ENV</P>
<P>windir=3DC:\WINDOWS</P>
<P>BLASTER=3DA220 I5 D1 H1 REC3 T6 P330</P>
<P>CMDLINE=3Dgcc -o hello hello.c</P>
<P>Regards</P>
<P>Jeff Flew</P>
<P>&nbsp;</P></FONT></FONT></DIV></DIV></BODY></HTML>

------=_NextPart_000_00C1_01BFDE34.461F8640--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019