Message-ID: <000a01c38ca0$e77cd600$e9f458db@touchstonefury> From: "alistair lennon" To: Subject: After Instalation... Date: Tue, 7 Oct 2003 20:01:47 +1300 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0007_01C38D0D.D713DBC0" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4807.1700 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4807.1700 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0007_01C38D0D.D713DBC0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am interested in using DJGPP as a compiler... however I have some = questions...? I do not have any previous version of a compiler running or have run on = my computer... It has recently been reformated...lol I would appreciate any help in getting the compiler to work... I went to the DJGPP homepage and used the zip picker to pick the files I = would need... I wanted the compiler to run C, C++ and Assembly Languages... I picked RHIDE and Emacs because I am unsure whether I need one or = both... I am using an Athlon 1Gig machine with 512meg ram... this is my home = machine...:) The files the zip picker suggested were... unzip32.exe to unzip the zip files =20 v2/copying.dj DJGPP Copyright info = v2/djdev203.zip DJGPP Basic Development Kit =20 v2/faq230b.zip Frequently Asked Questions = v2/pakk021b.zip Pakke Installer = v2/readme.1st Installation instructions =20 v2apps/rhid149b.zip RHIDE =20 v2gnu/bnu213b.zip Basic assembler, linker =20 v2gnu/em2005b.zip Emacs binaries = v2gnu/em2005li.zip Emacs lisp = v2gnu/fil41b.zip File Utils (for building Allegro) = v2gnu/gcc32b.zip Basic GCC compiler = v2gnu/gpp32b.zip C++ compiler = v2gnu/mak3791b.zip Make (processes makefiles) =20 v2gnu/txi42b.zip Info file viewer =20 v2misc/ntlfn08b.zip NT Long File Name support =20 v2tk/allegro/all402.zip Allegro game library =20 v2tk/rsxdj151.zip RSX (Windows GUI Lib) =20 Extra Documentation Formats v2gnu/bnu213d.zip Basic assembler, linker =20 v2gnu/em2005d.zip Emacs binaries = v2gnu/gcc31d.zip Basic GCC compiler = v2gnu/gpp2952d.zip C++ compiler =20 v2gnu/mak3791d.zip Make (processes makefiles) =20 v2gnu/txi40d.zip Info file viewer =20 Total bytes to download: 54,594,520 DOWNLOAD... I used the FTP explorer to download these files into the DJGPP folder = that I had created in the C drive... INSTALLATION... Following the readme file I used the unzip32.exe to unzip all the = files... SET ENVIRONMENT VARIABLE... After unzipping all the zip files, set the DJGPP environment variable to = point to the file DJGPP.ENV in the main DJGPP installation directory and = add its BIN subdirectory to your PATH. For Windows 2000... - Right-click "My Computer", then select "Properties"; - Select the "Advanced" tab, then click "Environment Variables" button; - Edit the PATH system variable to add the DJGPP bin subdirectory; To do this I clicked on the path variable and then clicked the edit = button... The computer presented me with a edit system variable box with a = variable name and variable value... I named the variable... Path and the variable value as = ...C:\DJGPP\BIN;%PATH% I clicked Ok... - Add a new variable DJGPP and set its value to the full path name of = the DJGPP.ENV file as explained below. So I ... Clik on New button...=20 Then named the variable... DJGPP and the variable value as... = C:\DJGPP\DJGPP.ENV Clicked ok... Because I am using Win 2000 I don't have to reboot... Run the go32-v2.exe program without arguments: go32-v2 It should report how much DPMI memory and swap space can DJGPP use on = your system, like this: DPMI memory available: 8020 Kb DPMI swap space = available: 39413 Kb The actual numbers will vary according to amount of RAM installed on = your system, the available disk space and the DPMI server. If the sum of = the two numbers reported by go32-v2 is less than 4MB, read section 3.9 = of the FAQ, "How to configure your system for DJGPP". (If you have more = than that, but want to get the optimal performance from your system, = read that section anyway.) Now I run into problems because it runs for a second or less then = quits...? Now the big questions ..."How do I get the compiler to run...?" Instead of editing your autoexec files and/or global environment, you = may wish to create a djgpp shortcut instead. To do this, create a BAT = file which has the lines below in it. set DJGPP=3DC:\DJGPP\DJGPP.ENV & set PATH=3DC:\DJGPP\BIN;%PATH%=20 "What is a bat file and how do I create one...?" I have checked a lot of the documentation and after this phase it goes = on about compilation of programs... this is ok but I don't have a = working compiler...lol Any help appreciated... you can call me names as long as I benifit from = the experience... My name is Alistair and my email address is slayer_legion AT hotmail DOT com... Thanks in advance for any help... ------=_NextPart_000_0007_01C38D0D.D713DBC0 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am interested in using DJGPP as a = compiler...=20 however I have some questions...?
I do not have any previous version of a = compiler=20 running or have run on my computer... It has recently been=20 reformated...lol

I would appreciate any help in getting = the compiler=20 to work...

I went to the DJGPP homepage and used = the zip=20 picker to pick the files I would need...
 
I wanted the compiler to run C, C++ and = Assembly=20 Languages...
I picked RHIDE and Emacs because I am = unsure=20 whether I need  one or both...
 
I am using  an Athlon 1Gig machine = with 512meg=20 ram... this is my home machine...:)
 
The files the zip picker suggested=20 were...
 
unzip32= .exe           = ;  =20 to unzip the zip=20 files           &n= bsp;  =20
v2/co= pying.dj          &= nbsp;=20 DJGPP Copyright=20 info           &nb= sp;     =20 v2/= djdev203.zip         =20 DJGPP Basic Development = Kit        =20
v2/f= aq230b.zip          = ;=20 Frequently Asked = Questions         =20 v2/= pakk021b.zip         =20 Pakke=20 Installer          &nbs= p;         =20 v2/re= adme.1st          &= nbsp;=20 Installation=20 instructions          &= nbsp;=20
v2apps/rhid149b.zip     =20 RHIDE           &n= bsp;           &nb= sp;      =20
v= 2gnu/bnu213b.zip       =20 Basic assembler,=20 linker           &= nbsp;=20
v= 2gnu/em2005b.zip       =20 Emacs=20 binaries           = ;          =20 = v2gnu/em2005li.zip      =20 Emacs=20 lisp           &nb= sp;           &nbs= p; =20 v2= gnu/fil41b.zip        =20 File Utils (for building Allegro)   v2= gnu/gcc32b.zip        =20 Basic GCC=20 compiler           = ;      =20 v2= gnu/gpp32b.zip        =20 C++=20 compiler           = ;            = =20 = v2gnu/mak3791b.zip      =20 Make (processes = makefiles)         =20
v2= gnu/txi42b.zip        =20 Info file=20 viewer           &= nbsp;       =20

v2misc/ntlfn08b.zip     =20 NT Long File Name=20 support           = =20

v2tk/allegro/all402.zip =20 Allegro game=20 library           =     =20
v= 2tk/rsxdj151.zip       =20 RSX (Windows GUI=20 Lib)           &nb= sp;  =20

Extra Documentation Formats
v= 2gnu/bnu213d.zip       =20 Basic assembler,=20 linker           &= nbsp;=20
v= 2gnu/em2005d.zip       =20 Emacs=20 binaries           = ;          =20 v2= gnu/gcc31d.zip        =20 Basic GCC=20 compiler           = ;      =20 = v2gnu/gpp2952d.zip      =20 C++=20 compiler           = ;            = =20
= v2gnu/mak3791d.zip      =20 Make (processes = makefiles)         =20
v2= gnu/txi40d.zip        =20 Info file=20 viewer           &= nbsp;       =20

Total bytes to download: 54,594,520

DOWNLOAD...

I used the FTP explorer to download these files into the DJGPP = folder=20 that I had created in the C drive...

INSTALLATION...

Following the readme file I used the unzip32.exe to unzip all the = files...

SET ENVIRONMENT VARIABLE...

After unzipping all the zip files, set the DJGPP environment variable = to=20 point to the file DJGPP.ENV in the main DJGPP installation directory and = add its=20 BIN subdirectory to your PATH.

For Windows 2000...

- Right-click "My Computer", then select "Properties";

- Select the "Advanced" tab, then click "Environment Variables"=20 button;

- Edit the PATH system variable to add the DJGPP bin = subdirectory;

To do this I clicked on the path variable and then = clicked=20 the edit button...

The computer presented me with a edit system = variable box=20 with  a variable name and variable value...

I named the variable... Path and the variable = value as=20 ...C:\DJGPP\BIN;%PATH% I clicked Ok...

- Add a new variable DJGPP and set its value to the full path name of = the=20 DJGPP.ENV file as explained below.

So I ...

Clik on New button...

Then named the variable... DJGPP and the variable value as...=20 C:\DJGPP\DJGPP.ENV Clicked ok...

Because I am using Win 2000 I don't have to reboot...

Run the  go32-v2.exe program without arguments: go32-v2

It should report how much DPMI memory and swap space can DJGPP use on = your=20 system, like this: DPMI memory available: 8020 Kb DPMI swap space = available:=20 39413 Kb

The actual numbers will vary according to amount of RAM installed on = your=20 system, the available disk space and the DPMI server. If the sum of the = two=20 numbers reported by go32-v2 is less than 4MB, read section 3.9 of the = FAQ, "How=20 to configure your system for DJGPP". (If you have more than that, but = want to=20 get the optimal performance from your system, read that section = anyway.)

Now I run into problems because it runs for a second or  less = then=20 quits...?

Now the big questions ..."How do I get the compiler to = run...?"

Instead of editing your autoexec files and/or global environment, you = may=20 wish to create a djgpp shortcut instead. To do this, create a BAT file = which has=20 the lines below in it.

set DJGPP=3DC:\DJGPP\DJGPP.ENV & set=20 PATH=3DC:\DJGPP\BIN;%PATH% 

"What is a bat file and how do I create one...?"

I have checked a lot of the documentation and after this phase it = goes on=20 about compilation of programs... this is ok but I don't have a working=20 compiler...lol

Any help appreciated... you can call me names as long as I benifit = from the=20 experience...

My name is Alistair and my email address is slayer_legion AT hotmail DOT com..= .

Thanks in advance for any help...

 

 

 

 

 

 

 

 

 

 
 
------=_NextPart_000_0007_01C38D0D.D713DBC0--