Mail Archives: djgpp/1996/03/28/13:58:21
Xref: | news2.mv.net comp.os.msdos.djgpp:2221
|
From: | sfortin AT searchtech DOT com (Samuel Fortin)
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | RW Tools.h++ and djgpp (long)
|
Date: | Thu, 28 Mar 1996 15:30:54 GMT
|
Organization: | MindSpring Enterprises
|
Lines: | 68
|
Message-ID: | <315aa4c7.52691639@nntp3.mindspring.com>
|
NNTP-Posting-Host: | 205.164.238.87
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Hello,
I am very new to the djgpp C++ development enviroment. I apologize in
advance for the length of this posting.
I have 1 specific question for anyone who may be using the Rogue Wave
Tools.h++ C++ Foundation Class library (I have v6.4) in this
environment, plus two very general questions for those who may be
reading this message.
[1]. Specific: I am having alittle difficulty compiling and linking
some application code to the Rogue Wave Tools.h++ library. Prior to
this I have compiled and linked this code with a Borland large memory
model library for DOS with success.
Now, with some excellent advice received thus far, I have managed to
compile RW's modules and build a object library archive which I can
link test programs against (RW's example1.cpp- through example9.cpp
found in the rogue\toolexam directory) under gcc. I'm well on my
way....but....
The problem that I am having right now is that the last example in
RW's test suite: (example9.cpp) is generating a run-time error posted
by RW:
Failed assertion ("RWDiskPageHeap::swapIn(RWHandle,void*): Invalid
handle", (handleValid(h)) !=0) at line 231 of `diskpage.cpp'.
Abort!
And, unfortunately, the application code I have is also generating a
RW run-time error:
Failed assertion ( "RWIsvDlist::insertAfterLink(RWIsvDlink*,
RWIsvDlink*): Internal error: attempt to add link after nil link",
(sl!=0) !=0) at line 281 of `idlist.cpp'.
Abort!
Now, I don't expect non-users of RW to help me here, and maybe those
that have read this far are saying: take these problems to the
debugger (see my next question):
What I am looking for is some help with the "#define" settings for
RW's <compiler.h> include file and any recommended gcc switches so
that I build the most compatible RW library that I can with the gcc
system. If you are currently using this foundation library and could
make recommendations to me, I'd appreciate it.
[2]. General/Debugger: When I invoke the DPMI compliant external
debugger, it appears that some escape sequences are not being honored
by the video system and/or driver I'm using (Diamond Stealth64
Graphics Accelerator 2001 Series). This is making use of the debugger
vertually impossible.
I suspect I need to make some change to the go32 environment variable.
The "set go32=" line in my autoexec.bat file currently it looks like
this:
set go32=2r1 ansi driver c:/stdvga.grn 640 480 16
Ideas anyone?
[3]. General/Documentation: I am looking for TEXT versions of the
documentation, and have read the djgpp FAQ. I have tried to get this
information via ftp from turnbull.sk.tsukuba.ac.jp but didn't manage
to locate it there (possibly I was pointed to the wrong directory via
the Windows FTP package I am using, so I'll try again).
However, just in case, does anyone know of another location with the
TEXT versions of the documentation? I am not really interested in the
info or tex versions.
Thank you.
- Raw text -