www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/07/29/19:45:35

Message-Id: <5.1.0.14.0.20020729180059.00ba55c8@imss.gob.mx>
X-Sender: jlsgarrido AT mail DOT SoftHome DOT net
X-Mailer: QUALCOMM Windows Eudora Version 5.1
Date: Mon, 29 Jul 2002 18:10:53 -0500
To: djgpp AT delorie DOT com
From: "J. L." <jlsgarrido AT SoftHome DOT net>
Subject: Re: Problem installing DJGPP package
In-Reply-To: <2HD09.8822$Kl6.551071@bgtnsc04-news.ops.worldnet.att.net>
Mime-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

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 -


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