delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/08/28/14:15:27.1

From: Prashant TR <tr AT midpec DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP Make error
Date: 28 Aug 2000 23:42:35 +0530
Organization: VSNL
Lines: 33
Message-ID: <m3g0npdzl8.fsf@midpec.com>
References: <usmq5.124343$c5 DOT 2989130 AT news2 DOT rdc1 DOT on DOT home DOT com>
NNTP-Posting-Host: ppp-177-217.bng.vsnl.net.in
X-Trace: news.vsnl.net.in 967523551 11515 203.197.177.217 (29 Aug 2000 04:32:31 GMT)
X-Complaints-To: postmaster AT news DOT vsnl DOT net DOT in
NNTP-Posting-Date: 29 Aug 2000 04:32:31 GMT
X-Newsreader: Gnus v5.7/Emacs 20.7
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Gautam N. Lad" <gautam AT cubicdesign DOT com> writes:

> I got DJGPP a few days ago, wtih the basics, that
> came in the following packages: bnu2951b.zip, djdev203.zip,
> gcc2952b.zip gpp2952b.zip lgp2952b.zip and mak3791b.zip
> 
> Everytime I try to run make on a makefile, I get the following error:
> 
> -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
>   -  -
> MAKE Version 3.6  Copyright (c) 1991 Borland International
> 
> Available memory 131469312 bytes
> 
>         gcc -o foobar.cgi foobar.cpp
> Load error: can't switch mode
> 
> ** error 106 ** deleting foobar
> -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -  -
>   -  -
> 
> 
> My system is Win98 btw...

Just add (or move) the line

PATH C:\DJGPP\BIN;%PATH%

to the *end* of autoexec.bat.

-- 
Prashant TR <tr AT midpec DOT com>
Web: http://www.midpec.com/

- Raw text -


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