C++ compiler problems

greenspun.com : LUSENET : Steve Heller's books : One Thread

First of all, it seems to start to compile then I get this message:

C:\WHOS\CODE>gcc -o itemtst1.o -c -I. -g itemtst1.cc -pedantic-errors -Wparenthe ses d:/djgpp/bin\ld.exe: cannot open linker script file djgpp.lnk: No such file or d irectory (ENOENT) Cannot move itemtst1. - No such file or directory Cannot move itemtst1.exe - No such file or directory

This is the contents of my autoexec.bat file:

@ECHO OFF SET BLASTER=A220 I5 D1

if exist c:\paprfix.bat call c:\paprfix.bat

\CPQS\TOOLS\MINIFER2.EXE CREV=,200 IF EXIST \PIPOST.BAT CALL \PIPOST.BAT IF EXIST \PIPOST.BAT DEL \PIPOST.BAT

set djgpptmp=c: set djgpprun=c: set DJGPP=%djgpprun%\djgpp\Djgpp.env set PATH=C:\WINDOWS;C:\WINDOWS\COMMAND;C:\DJGPP\BIN\;%PATH% call setdjgpp %djgpprun%\djgpp %djgpprun%/djgpp

and this is the context of my config.sys file:

DEVICE=C:\WINDOWS\HIMEM.SYS DEVICE=C:\WINDOWS\EMM386.EXE NOEMS DOS=HIGH,AUTO,UMB DEVICEHIGH=C:\WINDOWS\SYSTEM\CPQIDECD.SYS /D:IDECD001 FILESHIGH=40 BUFFERSHIGH=20,4 lastdrive=z

Thanks for your help and concern!!

-- Auguste Toluta'u (tolutaua@hotmail.com), July 31, 1999

Answers

Linking problems

Your problem is that you are missing the djgpp.lnk file that was omitted from the CD in the manufacturing process. Instructions on how to fix that are here.

-- Steve Heller (stheller@koyote.com), July 31, 1999.

Moderation questions? read the FAQ