Mail Archives: djgpp/2009/06/17/14:03:16
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f
|
X-Recipient: | djgpp AT delorie DOT com
|
DKIM-Signature: | v=1; a=rsa-sha256; c=relaxed/relaxed;
|
| d=gmail.com; s=gamma;
|
| h=domainkey-signature:mime-version:received:reply-to:date:message-id
|
| :subject:from:to:content-type;
|
| bh=b7S0ouw31gKIoOND2pIp4ejqrraWRtlN1N3HfxfbuP8=;
|
| b=Cs5Ms/UPMx7b0xAvxdhfzcm2zAwW3743C0tJ27Bx+01tqRg12GLtpJIEBR3DMxNM6R
|
| HpXYuYbxpuM00YWDOAefha7CHLOmBLan7cdrltj4sX+zEeJx++az7x7fRRf28COeJ3k4
|
| wz6h/UjSXGi1wU6WmtMxJHOsahlTegfRAih8E=
|
DomainKey-Signature: | a=rsa-sha1; c=nofws;
|
| d=gmail.com; s=gamma;
|
| h=mime-version:reply-to:date:message-id:subject:from:to:content-type;
|
| b=LMMKxdkZS0JFhUhecs8rFs0koqkOmdr7XQH7xOCy4JBFEsOtEwmfMiblnRep2/orCe
|
| xoRlnnZtk6N1v8KHWBCxrhi/LLIGiD1aGJIrc77CCpVk01IBvyYSQ8SJEDJBYD3TWOhv
|
| od/QY5wZwHfMxs0lA9YA54QC8c63mtbfK/Qfs=
|
MIME-Version: | 1.0
|
Date: | Wed, 17 Jun 2009 23:00:15 +0530
|
Message-ID: | <ccafe74c0906171030w176ec6f9t792498f5b40fbdf0@mail.gmail.com>
|
Subject: | What is with my Installation
|
From: | Varuna Seneviratna <varunaseneviratna AT gmail DOT com>
|
To: | djgpp AT delorie DOT com
|
Reply-To: | djgpp AT delorie DOT com
|
--0016364ecd80f5f6f2046c8ea443
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit
According to the below I installed DJGPP.
<ftp://ftp.delorie.com/pub/djgpp/current/unzip32.exe>
The instructions I followed are
Installation Instructions for winXP
Use Explorer to create a folder for DJGPP. My Computer, Drive C,
File->New->Folder, "DJGPP".
Use djgpp's unzip32.exe to unzip all the zips you downloaded into the
C:\DJGPP folder. Don't unzip them each into separate folders - unzip them
all to the same place. The directory structure inside each zip file should
be preserved, so you end up with files like c:\djgpp\bin\gcc.exe and
c:\djgpp\include\stdio.h
C:\> *mkdir djgpp*
C:\> *cd djgpp*
C:\DJGPP> *unzip32 d:\tmp\djdev203.zip*
C:\DJGPP> *unzip32 d:\tmp\faq230b.zip*
C:\DJGPP> *unzip32 d:\tmp\pakk023b.zip*
C:\DJGPP> *unzip32 d:\tmp\rhid15ab.zip*
C:\DJGPP> *unzip32 d:\tmp\bnu219b.zip*
C:\DJGPP> *unzip32 d:\tmp\bsn23b.zip*
C:\DJGPP> *unzip32 d:\tmp\flx254b.zip*
C:\DJGPP> *unzip32 d:\tmp\gcc432b.zip*
C:\DJGPP> *unzip32 d:\tmp\gdb611b.zip*
C:\DJGPP> *unzip32 d:\tmp\gpp432b.zip*
C:\DJGPP> *unzip32 d:\tmp\mak3791b.zip*
C:\DJGPP> *unzip32 d:\tmp\objc432b.zip*
C:\DJGPP> *unzip32 d:\tmp\txi412b.zip*
C:\DJGPP> *unzip32 d:\tmp\grx248b.zip*
C:\DJGPP> *unzip32 d:\tmp\pdcur34a.zip*
When properly installed, you should have a c:\djgpp\bin directory, and in it
should be at least gcc.exe, as.exe, and stubify.exe. If all the files are in
c:\djgpp with no subdirectories, or you see directories like
c:\djgpp\djdev203\, you need to delete everything and try a different unzip
program.
Make sure you use the djgpp's unzip32, or some other unzip that doesn't
support long file names. If you install with WinNT long file names, C++
programs won't compile. Another option is to use pkunzip instead (see the
MS-DOS install instructions) or read the FAQ about the NameNumericTail
registry key.
Right-click My Computer, select Properties. Select the Advanced tab, then
the Environment Variables button. Edit the Path (or PATH, whichever exists)
system variable to include C:\DJGPP\BIN at the front. (If you are not an
administrator, add it to the PATH variable in the User Variables section, or
add a new PATH user environment variable which contains only C:\DJGPP\BIN)
Add a new variable DJGPP set to C:\DJGPP\DJGPP.ENV (system variable if
possible, user variable if not an administrator) .
You'll need to close and reopen your MS-DOS windows for these changes to
take effect.
Rather than edit your autoexec files and/or global environment, you may wish
to create a djgpp shortcut instead. To do this, create a
c:\djgpp\djgpp.bat that
has lines like this:
@echo off
set PATH=c:\djgpp\bin;%PATH%
set DJGPP=c:\djgpp\djgpp.env
chdir c:\djgpp\mystuff (or any other directory)
command
why do "I get DJGPP not defined" message when I type gcc at the command
prompt or inside the mystuff file.I have set the path system envirenment
variable also.I am using WindowsXP SP3.Even rhide works when I go to the
mystuff folder as in the djgpp.bat and type rhide.How do I get a c and a
cplusplus file compiled and working?
Please Advice!!!!!!!!!!!!!!!!!
--
Kind Regards Varuna
Varuna Seneviratna
No 514 Udumulla Road
Battaramulla
Sri Lanka
Tel : 011-2888620
Mobile:0715617141
--0016364ecd80f5f6f2046c8ea443
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<font size=3D"4">According to the below I installed DJGPP.</font><br><br><p=
re><font size=3D"4"><a href=3D"ftp://ftp.delorie.com/pub/djgpp/current/unzi=
p32.exe"></a></font><br></pre><font style=3D"color: rgb(0, 0, 153);" size=
=3D"6">The instructions I followed are </font><br>
<h2>Installation Instructions for winXP</h2>
<p>Use Explorer to create a folder for DJGPP. My Computer,
Drive C, File->New->Folder, "DJGPP".</p>
<p>Use djgpp's <tt>unzip32.exe</tt> to unzip
all the zips you downloaded into the <tt>C:\DJGPP</tt> folder. Don't
unzip them each into separate folders - unzip them all to
the same place. The directory structure inside each zip file
should be preserved, so you end up with files like <tt>c:\djgpp\bin\gcc.exe=
</tt>
and <tt>c:\djgpp\include\stdio.h</tt>
</p><pre>C:\> <b>mkdir djgpp</b><br>C:\> <b>cd djgpp</b><br>C:\DJGPP&=
gt; <b>unzip32 d:\tmp\djdev203.zip</b><br>C:\DJGPP> <b>unzip32 d:\tmp\fa=
q230b.zip</b><br>C:\DJGPP> <b>unzip32 d:\tmp\pakk023b.zip</b><br>C:\DJGP=
P> <b>unzip32 d:\tmp\rhid15ab.zip</b><br>
C:\DJGPP> <b>unzip32 d:\tmp\bnu219b.zip</b><br>C:\DJGPP> <b>unzip32 d=
:\tmp\bsn23b.zip</b><br>C:\DJGPP> <b>unzip32 d:\tmp\flx254b.zip</b><br>C=
:\DJGPP> <b>unzip32 d:\tmp\gcc432b.zip</b><br>C:\DJGPP> <b>unzip32 d:=
\tmp\gdb611b.zip</b><br>
C:\DJGPP> <b>unzip32 d:\tmp\gpp432b.zip</b><br>C:\DJGPP> <b>unzip32 d=
:\tmp\mak3791b.zip</b><br>C:\DJGPP> <b>unzip32 d:\tmp\objc432b.zip</b><b=
r>C:\DJGPP> <b>unzip32 d:\tmp\txi412b.zip</b><br>C:\DJGPP> <b>unzip32=
d:\tmp\grx248b.zip</b><br>
C:\DJGPP> <b>unzip32 d:\tmp\pdcur34a.zip</b><br></pre><p>When properly i=
nstalled, you should have a <tt>c:\djgpp\bin</tt>
directory, and in it should be at least <tt>gcc.exe</tt>, <tt>as.exe</tt>,
and <tt>stubify.exe</tt>. If all the files are in <tt>c:\djgpp</tt>
with no subdirectories,
or you see directories like <tt>c:\djgpp\djdev203\</tt>, you need
to delete everything and try a different unzip program.
</p><p>Make sure you use the djgpp's unzip32, or some other
unzip that doesn't support long file names. If you install with
WinNT long file names, C++ programs won't compile. Another option
is to use pkunzip instead (see the MS-DOS install instructions)
or read the FAQ about the NameNumericTail registry key.
</p><p>Right-click My Computer, select Properties. Select the
Advanced tab, then the Environment Variables button.
Edit the <tt>Path</tt> (or <tt>PATH</tt>, whichever exists) system variable=
to
include <tt>C:\DJGPP\BIN</tt> at the front.
(If you are not an administrator, add it to the <tt>PATH</tt> variable
in the User Variables section, or add a new <tt>PATH</tt> user environment
variable which contains only <tt>C:\DJGPP\BIN</tt>)
Add a new variable <tt>DJGPP</tt> set to <tt>C:\DJGPP\DJGPP.ENV</tt>
(system variable if possible, user variable if not an administrator)
.</p>
<p>You'll need to close and reopen your MS-DOS windows for these
changes to take effect.</p>
<p>Rather than edit your autoexec files and/or global environment,
you may wish to create a djgpp shortcut instead. To do this, create
a<tt> c:\djgpp\djgpp.bat </tt> that has lines like this:
</p><pre><font size=3D"4">@echo off<br>set PATH=3Dc:\djgpp\bin;%PATH%<br>se=
t DJGPP=3Dc:\djgpp\djgpp.env<br>chdir c:\djgpp\mystuff (or any other dire=
ctory)<br>command<br></font></pre>why do "I get DJGPP not defined"=
; message when I type gcc at the command prompt or inside the mystuff file.=
I have set the path system envirenment variable also.I am using WindowsXP S=
P3.Even rhide works when I go to the mystuff folder as in the djgpp.bat and=
type rhide.How do I get a c and a cplusplus file compiled and working?<br>
<br>Please Advice!!!!!!!!!!!!!!!!!<br clear=3D"all"><br>-- <br>Kind Regards=
Varuna<br><br>Varuna Seneviratna<br>No 514 Udumulla Road<br>Battaramulla<b=
r>Sri Lanka<br>Tel : 011-2888620<br>Mobile:0715617141<br>
--0016364ecd80f5f6f2046c8ea443--
- Raw text -