www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/15/17:39:29

Message-Id: <35AD21F6.3EF6@iee.efei.br>
Date: Wed, 15 Jul 1998 18:41:10 -0300
From: Fernando Manoel Cambraia Guedes <fernando AT gerson DOT iee DOT efei DOT br>
Mime-Version: 1.0
To: djgpp AT delorie DOT com
Subject: bugs with c++ compiler

I've got some trouble while trying to compile c++ code. In fact, I made
a simple program to test the compiler:

#include <iostream.h>
main()
{
   cout << "testando";
}

I use RHIDE for developping with djgpp. At the first try, LFN was set to
'n', and I've got the following error (the comand line was called by
RHIDE):

command -> gcc -g -c teste.cpp -o teste.o

error   -> e:/djgpp/lang/cxx/iostream.h(31) Error: streambuf.h: No such
file or directory (ENOENT)

When I changed LFN to 'y', the long filename problem went out, but this
new problem appeared at the link phase:

command -> gcc -o teste.exe teste.o -lstdcx

error   -> e:/djgpp/bin/ld.exe: cannot open -lstdcx: No such file or
directory (ENOENT)

I tried to solve the problem by the FAQ, but the best I did was this. If
you could help-me, I'd be very grateful.

my hardware is:

Pentium 133, 32mb of memory.

I use Windows 95 (the last version before w98)

my enviroment variables were:

TMP=C:\WINDOWS\TEMP
TEMP=C:\WINDOWS\TEMP
winbootdir=C:\WINDOWS
COMSPEC=C:\WINDOWS\COMMAND.COM
PROMPT=$p$g
PATH=E:\DJGPP\BIN;C:\WINDOWS;C:\WINDOWS\COMMAND
DJGPP=E:\DJGPP\djgpp.env
MIDI=SYNTH:1 MAP:E
SOUND=C:\PROGRA~2\CREATIVE\CTSND
windir=C:\WINDOWS
BLASTER=A220 I5 D1 H5 P330 T6

when I run go32-v2, I get:

go32/v2 version 2.0 built Aug 12 1996 22:27:23
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries
as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in your
PATH
 but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.

DPMI memory available: 16007 Kb
DPMI swap space available: 0 Kb

My autoexec.bat:

E:\SDD\UNIVBE32.EXE -w
C:\SBCD\DRV\MSCDEX.EXE /D:MSCD001 /V /M:8
REM SET CTCM=C:\WINDOWS
SET BLASTER=A220 I5 D1 H5 P330 T6 
PROMPT $p$g
PATH C:\WINDOWS;C:\WINDOWS\COMMAND
rem set PATH=E:\TC\bin;%PATH%
set PATH=E:\DJGPP\bin;%PATH%
set DJGPP=E:\DJGPP\djgpp.env
mode con codepage prepare=((850) C:\WINDOWS\COMMAND\ega.cpi)
mode con codepage select=850
lh keyb br,,C:\WINDOWS\COMMAND\keyboard.sys 
C:\WINDOWS\COMMAND\doskey
SET MIDI=SYNTH:1 MAP:E
SET SOUND=C:\PROGRA~2\CREATIVE\CTSND

My config.sys is this (I tried with FILES=80, and it didn't work)

DEVICE=C:\WINDOWS\HIMEM.SYS
DEVICE=C:\WINDOWS\EMM386.EXE RAM
FILES=40
DOS=UMB
FCBS=16,0
DOS=HIGH
device=C:\WINDOWS\COMMAND\display.sys con=(ega,,1)
Country=055,850,C:\WINDOWS\COMMAND\country.sys
DEVICE=C:\SBCD\DRV\SBIDE.SYS /D:MSCD001 /P:170,15 /V

Thank you for the attention.

Fernando Manoel Cambraia Guedes		fernando AT iee DOT efei DOT br

Itajuba', Minas Gerais, Brazil.

- Raw text -


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