delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/23/10:36:07

Message-ID: <3902FD2B.D24A4B89@worldaccessnet.com>
Date: Sun, 23 Apr 2000 06:39:57 -0700
From: "Roger D. Hunt" <rhunt AT worldaccessnet DOT com>
X-Mailer: Mozilla 4.08 [en] (Win16; U)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: Can't get djgpp set up - help please!
References: <3901E4BE DOT CBE9C9B2 AT worldaccessnet DOT com> <200004221825 DOT OAA18872 AT indy DOT delorie DOT com>
Reply-To: djgpp AT delorie DOT com

--------------A8C5111A01C96A87E9516E9A
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Eli,

Thank you so much for the long and detailed response to my plea for help.
I took your caution to heart that there was a discrepancy between the
version being reported by the 'gcc' program and the name of the zip
file.  However, I had never had 'gcc' on my system until yesterday, so
the possibility of mixing with a previous version is nil.  But because
of downloading speeds, I had used two different SIMTEL.NET sites for my
downloads and wondered if that was the source of the problem.  At any
rate, I hammered the entire gcc code with:
     C:\PROGRAMS>deltree gcc
and proceeded with the following steps (I used a screen-to-disk utility
to accurately report what transpired).

#############

(1) The following directory shows everything is now gone:

C:\PROGRAMS\GCC>dir

 Volume in drive C is MS-DOS_6
 Volume Serial Number is 1D73-7E98
 Directory of C:\PROGRAMS\GCC

.            <DIR>         04-23-00   4:13a
..           <DIR>         04-23-00   4:13a
        2 file(s)              0 bytes
                     122,732,544 bytes free

C:\PROGRAMS\GCC>

##############

(2) After the downloads, the same directory looked like:

C:\PROGRAMS\GCC>dir

 Volume in drive C is MS-DOS_6
 Volume Serial Number is 1D73-7E98
 Directory of C:\PROGRAMS\GCC

.            <DIR>         04-23-00   4:13a
..           <DIR>         04-23-00   4:13a
COPYING  DJ          2,084 04-23-00   4:25a
DJDEV203 ZIP     1,538,147 04-23-00   4:33a
FAQ230B  ZIP       679,865 04-23-00   4:37a
README   1ST        19,594 04-23-00   4:37a
BNU2951B ZIP     2,567,839 04-23-00   4:51a
GCC2952B ZIP     1,932,910 04-23-00   5:02a
MAK379B  ZIP       268,863 04-23-00   5:04a
TXI40B   ZIP       646,656 04-23-00   5:08a
CSDPMI4B ZIP        41,506 04-23-00   5:08a
       11 file(s)      7,697,464 bytes
                     114,548,736 bytes free

C:\PROGRAMS\GCC>

Note that ZIP-PICKER states that these files should occupy
7,655,958 bytes total.  I don't know if that is significant.
I got the files from the primary SIMTEL site at:
   ftp.simtel.net/pub/simtelnet/gnu/djgpp
and not one of the mirror sites.

##############

(3) After using pkunzip, the directory looked like:

C:\PROGRAMS\GCC>dir

 Volume in drive C is MS-DOS_6
 Volume Serial Number is 1D73-7E98
 Directory of C:\PROGRAMS\GCC

.            <DIR>         04-23-00   4:13a
..           <DIR>         04-23-00   4:13a
COPYING  DJ          2,084 04-23-00   4:25a
DJDEV203 ZIP     1,538,147 04-23-00   4:33a
FAQ230B  ZIP       679,865 04-23-00   4:37a
README   1ST        19,594 04-23-00   4:37a
BNU2951B ZIP     2,567,839 04-23-00   4:51a
GCC2952B ZIP     1,932,910 04-23-00   5:02a
MAK379B  ZIP       268,863 04-23-00   5:04a
TXI40B   ZIP       646,656 04-23-00   5:08a
CSDPMI4B ZIP        41,506 04-23-00   5:08a
BIN          <DIR>         04-23-00   5:24a
COPYING             17,982 11-01-95   7:08p
COPYING  LIB        25,265 11-01-95   7:08p
DJGPP    ENV         3,522 12-24-99   3:19p
INCLUDE      <DIR>         04-23-00   5:24a
INFO         <DIR>         04-23-00   5:24a
LIB          <DIR>         04-23-00   5:24a
MANIFEST     <DIR>         04-23-00   5:24a
TMP          <DIR>         04-23-00   5:24a
FAQ          <DIR>         04-23-00   5:25a
GNU          <DIR>         04-23-00   5:25a
MAN          <DIR>         04-23-00   5:26a
SHARE        <DIR>         04-23-00   5:27a
       24 file(s)      7,744,233 bytes
                      92,667,904 bytes free

C:\PROGRAMS\GCC>

###############

(4) The set command shows the environment variables, etc.:

C:\PROGRAMS\GCC>set
COMSPEC=C:\DOS\COMMAND.COM
PROMPT=$p$g
PATH=\DOS;\MISC;\PUBLIC;\MENUS;\PROGRAMS\CDROM;\PROGRAMS\G77\BIN;C:\PROGRAMS\GCC

\BIN;\PROGRAMS\FORTRAN\BIN;..;
LIBRARY_PATH=\programs\g77\lib
DJGPP=c:\programs\gcc\djgpp.env
LIB=\programs\fortran\lib
TEMP=\windows\temp
SOUND=c:\programs\sndblstr
BLASTER=A220 I5 D1 H5 P330 E620 T6
MIDI=SYNTH:1 MAP:E MODE:0
CTCM=c:\programs\sndblstr

C:\PROGRAMS\GCC>

Please note the changes I made to reflect the drive letter as you
suggested.

###############

(5) I copied the infamous 'hello.c' program onto the hard drive:

C:\PROGRAMS\GCC>copy a:hello.c
        1 file(s) copied

C:\PROGRAMS\GCC>dir hello.c

 Volume in drive C is MS-DOS_6
 Volume Serial Number is 1D73-7E98
 Directory of C:\PROGRAMS\GCC

HELLO    C              89 04-21-00   3:00p
        1 file(s)             89 bytes
                      92,651,520 bytes free

C:\PROGRAMS\GCC>

###############

(6) Then I compiled the hello program:

C:\PROGRAMS\GCC>gcc -v hello.c
gcc version 2.7.2.1.f.1
 cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -D__32BIT__ -D__EMX__ -Di

386 -D__32BIT__ -D__EMX__ -D__i386__ -D__i386 -Asystem(unix) -Asystem(emx) -Acpu

(i386) -Amachine(i386) hello.c \windows\temp\cca00002
GCC.EXE: installation problem, cannot exec `cpp': No such file or directory

C:\PROGRAMS\GCC>

Note the version number being reported.

################

(7) The first few lines of the 'djgpp.env' file is shown below (as
    you cautioned, I did not edit it).  Rather, it is exactly as it
    was when downloaded:

#= Don't edit this line unless you move djgpp.env outside
#= of the djgpp installation directory.  If you do move
#= it, set DJDIR to the directory you installed DJGPP in.
#=
DJDIR=%:/>DJGPP%

+USER=dosuser
+GROUP=root
+TMPDIR=%DJDIR%/tmp
+EMU387=%DJDIR%/bin/emu387.dxe
+LFN=y
+TEXMFMAIN=%DJDIR%/share/texmf
+GO32STUB=%DJDIR%/bin/stubify.exe

###############

(8) The following directory shows the 'cc1' program is really there:

C:\PROGRAMS\GCC>dir \programs\gcc\lib\gcc-lib\djgpp\2.952\cc1.exe

 Volume in drive C is MS-DOS_6
 Volume Serial Number is 1D73-7E98
 Directory of C:\PROGRAMS\GCC\LIB\GCC-LIB\DJGPP\2.952

CC1      EXE     1,859,354 01-14-00   1:13p
        1 file(s)      1,859,354 bytes
                      92,651,520 bytes free

C:\PROGRAMS\GCC>

###############

I am perplexed.  Do you have any ideas?  Could there be a problem
at the SIMTEL.NET sites, with the proper version not being loaded
in the proper file names?  Or as more likely, do I have a
cranial/rectal inversion?  Do you have any ideas or is it time for
me to give up 'gcc' as a bad idea.  I downloaded and regularly use
the 'g77' Fortran and it was a thousand times easier than this.

Sorry about the long post, but I assumed it is better to accurately
report what was done than to ask you to guess.  Thanks again for all
your assistance.

Roger

--------------A8C5111A01C96A87E9516E9A
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
Eli,
<P><TT>Thank you so much for the long and detailed response to my plea
for help.</TT>
<BR><TT>I took your caution to heart that there was a discrepancy between
the</TT>
<BR><TT>version being reported by the 'gcc' program and the name of the
zip</TT>
<BR><TT>file.&nbsp; However, I had never had 'gcc' on my system until yesterday,
so</TT>
<BR><TT>the possibility of mixing with a previous version is nil.&nbsp;
But because</TT>
<BR><TT>of downloading speeds, I had used two different SIMTEL.NET sites
for my</TT>
<BR><TT>downloads and wondered if that was the source of the problem.&nbsp;
At any</TT>
<BR><TT>rate, I hammered the entire gcc code with:</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp; C:\PROGRAMS>deltree gcc</TT>
<BR><TT>and proceeded with the following steps (I used a screen-to-disk
utility</TT>
<BR><TT>to accurately report what transpired).</TT><TT></TT>
<P><TT>#############</TT><TT></TT>
<P><TT>(1) The following directory shows everything is now gone:</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC>dir</TT><TT></TT>
<P><TT>&nbsp;Volume in drive C is MS-DOS_6</TT>
<BR><TT>&nbsp;Volume Serial Number is 1D73-7E98</TT>
<BR><TT>&nbsp;Directory of C:\PROGRAMS\GCC</TT><TT></TT>
<P><TT>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04-23-00&nbsp;&nbsp;
4:13a</TT>
<BR><TT>..&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04-23-00&nbsp;&nbsp;
4:13a</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2 file(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
0 bytes</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
122,732,544 bytes free</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC></TT><TT></TT>
<P><TT>##############</TT><TT></TT>
<P><TT>(2) After the downloads, the same directory looked like:</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC>dir</TT><TT></TT>
<P><TT>&nbsp;Volume in drive C is MS-DOS_6</TT>
<BR><TT>&nbsp;Volume Serial Number is 1D73-7E98</TT>
<BR><TT>&nbsp;Directory of C:\PROGRAMS\GCC</TT><TT></TT>
<P><TT>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04-23-00&nbsp;&nbsp;
4:13a</TT>
<BR><TT>..&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04-23-00&nbsp;&nbsp;
4:13a</TT>
<BR><TT>COPYING&nbsp; DJ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2,084 04-23-00&nbsp;&nbsp; 4:25a</TT>
<BR><TT>DJDEV203 ZIP&nbsp;&nbsp;&nbsp;&nbsp; 1,538,147 04-23-00&nbsp;&nbsp;
4:33a</TT>
<BR><TT>FAQ230B&nbsp; ZIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 679,865 04-23-00&nbsp;&nbsp;
4:37a</TT>
<BR><TT>README&nbsp;&nbsp; 1ST&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
19,594 04-23-00&nbsp;&nbsp; 4:37a</TT>
<BR><TT>BNU2951B ZIP&nbsp;&nbsp;&nbsp;&nbsp; 2,567,839 04-23-00&nbsp;&nbsp;
4:51a</TT>
<BR><TT>GCC2952B ZIP&nbsp;&nbsp;&nbsp;&nbsp; 1,932,910 04-23-00&nbsp;&nbsp;
5:02a</TT>
<BR><TT>MAK379B&nbsp; ZIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 268,863 04-23-00&nbsp;&nbsp;
5:04a</TT>
<BR><TT>TXI40B&nbsp;&nbsp; ZIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 646,656
04-23-00&nbsp;&nbsp; 5:08a</TT>
<BR><TT>CSDPMI4B ZIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 41,506 04-23-00&nbsp;&nbsp;
5:08a</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 11 file(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
7,697,464 bytes</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
114,548,736 bytes free</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC></TT><TT></TT>
<P><TT>Note that ZIP-PICKER states that these files should occupy</TT>
<BR><TT>7,655,958 bytes total.&nbsp; I don't know if that is significant.</TT>
<BR><TT>I got the files from the primary SIMTEL site at:</TT>
<BR><TT>&nbsp;&nbsp; ftp.simtel.net/pub/simtelnet/gnu/djgpp</TT>
<BR><TT>and not one of the mirror sites.</TT><TT></TT>
<P><TT>##############</TT><TT></TT>
<P><TT>(3) After using pkunzip, the directory looked like:</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC>dir</TT><TT></TT>
<P><TT>&nbsp;Volume in drive C is MS-DOS_6</TT>
<BR><TT>&nbsp;Volume Serial Number is 1D73-7E98</TT>
<BR><TT>&nbsp;Directory of C:\PROGRAMS\GCC</TT><TT></TT>
<P><TT>.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04-23-00&nbsp;&nbsp;
4:13a</TT>
<BR><TT>..&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 04-23-00&nbsp;&nbsp;
4:13a</TT>
<BR><TT>COPYING&nbsp; DJ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
2,084 04-23-00&nbsp;&nbsp; 4:25a</TT>
<BR><TT>DJDEV203 ZIP&nbsp;&nbsp;&nbsp;&nbsp; 1,538,147 04-23-00&nbsp;&nbsp;
4:33a</TT>
<BR><TT>FAQ230B&nbsp; ZIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 679,865 04-23-00&nbsp;&nbsp;
4:37a</TT>
<BR><TT>README&nbsp;&nbsp; 1ST&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
19,594 04-23-00&nbsp;&nbsp; 4:37a</TT>
<BR><TT>BNU2951B ZIP&nbsp;&nbsp;&nbsp;&nbsp; 2,567,839 04-23-00&nbsp;&nbsp;
4:51a</TT>
<BR><TT>GCC2952B ZIP&nbsp;&nbsp;&nbsp;&nbsp; 1,932,910 04-23-00&nbsp;&nbsp;
5:02a</TT>
<BR><TT>MAK379B&nbsp; ZIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 268,863 04-23-00&nbsp;&nbsp;
5:04a</TT>
<BR><TT>TXI40B&nbsp;&nbsp; ZIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 646,656
04-23-00&nbsp;&nbsp; 5:08a</TT>
<BR><TT>CSDPMI4B ZIP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 41,506 04-23-00&nbsp;&nbsp;
5:08a</TT>
<BR><TT>BIN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:24a</TT>
<BR><TT>COPYING&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
17,982 11-01-95&nbsp;&nbsp; 7:08p</TT>
<BR><TT>COPYING&nbsp; LIB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 25,265
11-01-95&nbsp;&nbsp; 7:08p</TT>
<BR><TT>DJGPP&nbsp;&nbsp;&nbsp; ENV&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
3,522 12-24-99&nbsp;&nbsp; 3:19p</TT>
<BR><TT>INCLUDE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:24a</TT>
<BR><TT>INFO&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:24a</TT>
<BR><TT>LIB&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:24a</TT>
<BR><TT>MANIFEST&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:24a</TT>
<BR><TT>TMP&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:24a</TT>
<BR><TT>FAQ&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:25a</TT>
<BR><TT>GNU&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:25a</TT>
<BR><TT>MAN&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:26a</TT>
<BR><TT>SHARE&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;DIR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
04-23-00&nbsp;&nbsp; 5:27a</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 24 file(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
7,744,233 bytes</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
92,667,904 bytes free</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC></TT><TT></TT>
<P><TT>###############</TT><TT></TT>
<P><TT>(4) The set command shows the environment variables, etc.:</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC>set</TT>
<BR><TT>COMSPEC=C:\DOS\COMMAND.COM</TT>
<BR><TT>PROMPT=$p$g</TT>
<BR><TT>PATH=\DOS;\MISC;\PUBLIC;\MENUS;\PROGRAMS\CDROM;\PROGRAMS\G77\BIN;C:\PROGRAMS\GCC</TT>
<BR><TT>\BIN;\PROGRAMS\FORTRAN\BIN;..;</TT>
<BR><TT>LIBRARY_PATH=\programs\g77\lib</TT>
<BR><TT>DJGPP=c:\programs\gcc\djgpp.env</TT>
<BR><TT>LIB=\programs\fortran\lib</TT>
<BR><TT>TEMP=\windows\temp</TT>
<BR><TT>SOUND=c:\programs\sndblstr</TT>
<BR><TT>BLASTER=A220 I5 D1 H5 P330 E620 T6</TT>
<BR><TT>MIDI=SYNTH:1 MAP:E MODE:0</TT>
<BR><TT>CTCM=c:\programs\sndblstr</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC></TT><TT></TT>
<P><TT>Please note the changes I made to reflect the drive letter as you</TT>
<BR><TT>suggested.</TT><TT></TT>
<P><TT>###############</TT><TT></TT>
<P><TT>(5) I copied the infamous 'hello.c' program onto the hard drive:</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC>copy a:hello.c</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 file(s) copied</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC>dir hello.c</TT><TT></TT>
<P><TT>&nbsp;Volume in drive C is MS-DOS_6</TT>
<BR><TT>&nbsp;Volume Serial Number is 1D73-7E98</TT>
<BR><TT>&nbsp;Directory of C:\PROGRAMS\GCC</TT><TT></TT>
<P><TT>HELLO&nbsp;&nbsp;&nbsp; C&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
89 04-21-00&nbsp;&nbsp; 3:00p</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 file(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
89 bytes</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
92,651,520 bytes free</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC></TT><TT></TT>
<P><TT>###############</TT><TT></TT>
<P><TT>(6) Then I compiled the hello program:</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC>gcc -v hello.c</TT>
<BR><TT>gcc version 2.7.2.1.f.1</TT>
<BR><TT>&nbsp;cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=7 -D__32BIT__
-D__EMX__ -Di</TT>
<BR><TT>386 -D__32BIT__ -D__EMX__ -D__i386__ -D__i386 -Asystem(unix) -Asystem(emx)
-Acpu</TT>
<BR><TT>(i386) -Amachine(i386) hello.c \windows\temp\cca00002</TT>
<BR><TT>GCC.EXE: installation problem, cannot exec `cpp': No such file
or directory</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC></TT><TT></TT>
<P><TT>Note the version number being reported.</TT><TT></TT>
<P><TT>################</TT><TT></TT>
<P><TT>(7) The first few lines of the 'djgpp.env' file is shown below (as</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; you cautioned, I did not edit it).&nbsp; Rather,
it is exactly as it</TT>
<BR><TT>&nbsp;&nbsp;&nbsp; was when downloaded:</TT><TT></TT>
<P><TT>#= Don't edit this line unless you move djgpp.env outside</TT>
<BR><TT>#= of the djgpp installation directory.&nbsp; If you do move</TT>
<BR><TT>#= it, set DJDIR to the directory you installed DJGPP in.</TT>
<BR><TT>#=</TT>
<BR><TT>DJDIR=%:/>DJGPP%</TT><TT></TT>
<P><TT>+USER=dosuser</TT>
<BR><TT>+GROUP=root</TT>
<BR><TT>+TMPDIR=%DJDIR%/tmp</TT>
<BR><TT>+EMU387=%DJDIR%/bin/emu387.dxe</TT>
<BR><TT>+LFN=y</TT>
<BR><TT>+TEXMFMAIN=%DJDIR%/share/texmf</TT>
<BR><TT>+GO32STUB=%DJDIR%/bin/stubify.exe</TT><TT></TT>
<P><TT>###############</TT><TT></TT>
<P><TT>(8) The following directory shows the 'cc1' program is really there:</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC>dir \programs\gcc\lib\gcc-lib\djgpp\2.952\cc1.exe</TT><TT></TT>
<P><TT>&nbsp;Volume in drive C is MS-DOS_6</TT>
<BR><TT>&nbsp;Volume Serial Number is 1D73-7E98</TT>
<BR><TT>&nbsp;Directory of C:\PROGRAMS\GCC\LIB\GCC-LIB\DJGPP\2.952</TT><TT></TT>
<P><TT>CC1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; EXE&nbsp;&nbsp;&nbsp;&nbsp; 1,859,354
01-14-00&nbsp;&nbsp; 1:13p</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1 file(s)&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
1,859,354 bytes</TT>
<BR><TT>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
92,651,520 bytes free</TT><TT></TT>
<P><TT>C:\PROGRAMS\GCC></TT><TT></TT>
<P><TT>###############</TT><TT></TT>
<P><TT>I am perplexed.&nbsp; Do you have any ideas?&nbsp; Could there be
a problem</TT>
<BR><TT>at the SIMTEL.NET sites, with the proper version not being loaded</TT>
<BR><TT>in the proper file names?&nbsp; Or as more likely, do I have a</TT>
<BR><TT>cranial/rectal inversion?&nbsp; Do you have any ideas or is it
time for</TT>
<BR><TT>me to give up 'gcc' as a bad idea.&nbsp; I downloaded and regularly
use</TT>
<BR><TT>the 'g77' Fortran and it was a thousand times easier than this.</TT><TT></TT>
<P><TT>Sorry about the long post, but I assumed it is better to accurately</TT>
<BR><TT>report what was done than to ask you to guess.&nbsp; Thanks again
for all</TT>
<BR><TT>your assistance.</TT><TT></TT>
<P><TT>Roger</TT></HTML>

--------------A8C5111A01C96A87E9516E9A--

- Raw text -


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