Message-ID: <00c401bfdde0$74f9bd40$bada36cb@mpdywdzn> From: "jeffflew" To: Subject: Request for assistance from real IT newbie Date: Sat, 24 Jun 2000 23:31:08 +1000 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_00C1_01BFDE34.461F8640" 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
Hello
 
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.
  
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.
 
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.
 
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.
 
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.
 
I hope to hear from someone soon, = appreciate=20 your any assistance.
 
Autoexec.bat
SET=20 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=20 C:\WINDOWS\EMM386.EXE NOEMS
DOS=3DHIGH,UMB
 
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--