cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/27/01:32:51

From: "Scott Daddy-o" <chimpo AT earthling DOT net>
Newsgroups: comp.os.msdos.djgpp
Subject: Installation error when compiling
Lines: 70
Message-ID: <y%5F1.40$3k1.177263@news2.randori.com>
Date: Wed, 26 Aug 1998 22:13:20 -0700
NNTP-Posting-Host: 204.181.57.110
NNTP-Posting-Date: Wed, 26 Aug 1998 22:19:26 PDT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

I'm new to DJGPP and C++ in general (I'm taking CSE200 at ASU and they
reccommend this program as some great freeware.)  But when I try to compile
a simple program (copied directly from my textbook) I get the error
"gcc.exe" installation problem, cannot exec 'as': No such file or directory
(ENOENT)"  and then it returns me to the c:\DJGPP prompt.  I browsed th mail
archives and found someone with the same problem.  I looked at the responses
and they said to make sure you have your path and environment set in the
Autoexec.bat file, which I do.  It said that if that doesn't work to post a
few things, so I will and hopefully someone can help me.

1)autoexec.bat file:

@PATH C:\PROGRA~1\WIN98RK;%PATH%
SET SOUND=C:\PROGRA~1\CREATIVE\CTSND
SET MIDI=SYNTH:1 MAP:E MODE:0
SET BLASTER=A220 I5 D1 H5 P330 T6
@ECHO OFF
PATH
C:\PROGRA~1\WIN98RK;c:\windows;c:\windows\COMMAND;C:\IBMVTYPE\BIN;C:\IBMTOOL
S
LH c:\windows\COMMAND\DOSKEY
C:\IBMTOOLS\RESUME.EXE
REM - Following LOCK command added by Windows Setup
ECHO y | LOCK > NUL
C:\IBMTOOLS\IBMPFILE.EXE
UNLOCK
C:\IBMAV95\IBMAVSH /F00
set DJGPP=c:\Djgpp\DJGPP.ENV
set PATH=C:\Djgpp\BIN;%PATH%

config.sys

DEVICE=C:\WINDOWS\HIMEM.SYS /testmem:off
DEVICE=C:\WINDOWS\EMM386.EXE NOEMS I=E000-EFFF X=F000-FEFF
FILES=40
BUFFERS=50
DOS=HIGH,UMB
DEVICEHIGH=C:\WINDOWS\COMMAND\IBMIDECD.SYS /D:IBMCD001

2) environ.1st file

TMP=c:\windows\TEMP
TEMP=C:\windows\TEMP
PROMPT=$p$g
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
SOUND=C:\PROGRA~1\CREATIVE\CTSND
MIDI=SYNTH:1 MAP:E MODE:0
DJGPP=c:\Djgpp\DJGPP.ENV
PATH=C:\DJGPP\BIN;C:\PROGRA~1\WIN98RK;C:\WINDOWS;C:\WINDOWS\COMMAND;C:\IBMVT
YPE\BIN;C:\IBMTOOLS
windir=C:\WINDOWS
BLASTER=A220 I5 D1 H5 P330 T6
CMDLINE=gcc greet.cc

3) go32-v2

DPMI memory available: 36583 Kb
DPMI swap space available: 25885 Kb
(Does the fact that I have like twelve windows open while running the
go32-v2 program affect this?)

4)The only changes I made to the DJGPP.ENV file is I changed the LFN=n line
to LFN=y.

Thanks for any help I can recieve.

Scott


- Raw text -


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