Mail Archives: djgpp/2002/07/29/19:45:35
At 08:49 p.m. 27/07/2002 +0000, you wrote
{snip]
>The method of creating the djgpp.bat file with the recommended lines doesn't
>work either. When I try to start gcc from either C:\DJGPP\BIN in DOS or
>with the icon that was extracted into the bin folder (which uses gcc.exe) I
>get the error message "environment variable DJGPP not defined".
Where is recommended this thing?
>I've tried the help files in my version of MS-DOS, and I went through
>several pages of the mail archives after searching for "installation
>windows", but with no luck. I'd appreciate any help you could give me with
>this.
>
>This is the current contents of environ.txt:
>
>TMP=c:\windows\TEMP
>TEMP=C:\windows\TEMP
>PROMPT=$p$g
>winbootdir=C:\WINDOWS
>COMSPEC=C:\WINDOWS\COMMAND.COM
>PATH=C:\BORLAND\BCC55\BIN;C:\WINDOWS;C:\WINDOWS;C:\WINDOWS\COMMAND
>windir=C:\WINDOWS
>BLASTER=A220 I5 D1 T4
>
>
>This is the current contents of Autoexec.bat:
>
>C:\PROGRA~1\NETWOR~1\MCAFEE~1\SCAN.EXE C:\
>@IF ERRORLEVEL 1 PAUSE
>REM [HEADER]
>@ECHO OFF
>REM [CD-ROM Drive]
>REM [Miscellaneous]
>REM [Display]
>REM [Sound, MIDI< or Video Capture Card]
>REM [Mouse]
>rem - By Windows Setup - mscdex.exe /d:IDECD000 /L:M
>PATH=C:\BORLAND\BCC55\BIN;%PATH%
>
>
>This is the current contents of config.sys:
>
>REM To make a DOS Boot Diskette; See the file C:\DOSBOOT\DOSBOOT.TXT
>
>[common]
>device=c:\windows\himem.sys /testmem:off
>DEVICE=C:\WINDOWS\EMM386.EXE /NOEMS
>DEVICE=c:\cdrom\oakcdrom.SYS /D:IDECD000
>DEVICEHIGH=C:\WINDOWS\COMMAND\DRVSPACE.SYS /MOVE
>
>
>There is no output for go32-v2, and gcc prints "Bad command or file name"
>during compilation with -v.
>
>
>This is the shortcut batch file c:\djgpp\djgpp.bat I made as suggested:
Where?
>@echo off
>SET PATH=C:\DJGPP\BIN;%PATH%
>SET DJGPP=C:\DJGPP\DJGPP.ENV
>CD C:\DJGPP\C_PROGRAMS
>COMMAND
>
>
>That's it. Thanks.
>
>
>Sincerely,
>
>Michael Book
Extract of README.1st file (in djdev20?.zip):
* For Windows 98 systems:
- Click START; - Choose Programs-Accessories-System Tools-System Information;
- Click Tools in the menu-bar, then choose "System Configuration";
- Use the tab provided there for editing your AUTOEXEC.BAT as explained below.
No matter which method you use, assuming your DJGPP installation is
rooted at C:\DJGPP, the values of the two environment variables DJGPP
and PATH should be set like this:
set DJGPP=C:\DJGPP\DJGPP.ENV
set PATH=C:\DJGPP\BIN;%PATH%
I encourage you to read README.1st file, and the FAQ:
Regards
J. L.
P.S. I'm not so sure, but... Maybe the lines in environ.txt and
autoexec.bat that
refers to Borland compiler are causing the troubles. Try to delete this lines
- Raw text -