cvs.gedasymbols.org/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/12/20:56:26

From: "gunno" <gunno AT no-spam DOT telia DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: RSXNTDJ needs a HowTo
Lines: 60
X-Newsreader: Microsoft Outlook Express 4.71.1712.3
X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3
Message-ID: <RbHs3.198$Udf.189957120@newsb.telia.net>
Date: Thu, 12 Aug 1999 21:41:05 GMT
NNTP-Posting-Host: 195.198.145.106
X-Complaints-To: abuse AT telia DOT com
X-Trace: newsb.telia.net 934494065 195.198.145.106 (Thu, 12 Aug 1999 23:41:05 CEST)
NNTP-Posting-Date: Thu, 12 Aug 1999 23:41:05 CEST
Organization: Telia Internet
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Alright, this is my story.
Thought I should learn windows programming and started with the rsxntdj I
downloaded together with djgpp some year ago. Everything worked fine until I
got to the C-PLUS example. Got error messages about missing stab strings
(never heard of such things before). Tracked that message to NTBIND who
couldn't find those strings although 'objdump' had no problem finding them.
Couldn't get further and started seeking information at Delorie's site and
in this group.
Found Johan Venter's advice to get the _latest_ version. Good point!

got RSXNTDJ v.1.5  -  and new problems...

1. ld couldn't find -lcomctl32. Searched in rsxntdj\lib and found a
libcomctl.a . Took a chance that that was a short DOS name for
libcomctl32.a, and made a copy of it with the longer name. Don't know if
that's right - but now the linker doesn't complain any more :-).

2. But grc had new complaints:
bar.rc:57: Invalid STRINGTABLE definition
bar.rc:62: Invalid STRINGTABLE definition
...
Tested some different things and finally found that changing the environment
variable "RSXNTDJ" to point to the old 1.3 version made grc happy and
working. Looks like this setting of the environment variable "RSXNTDJ" helps
grc to find some files which are in the older version. If I knew which
files, I could copy them to the newer version, but I haven't the faintest
idea.

(A drawback of setting "RSXNTDJ" to point to the old version is that gcc
can't find it's pieces and doesn't work any more. So I have to change that
variable back and forth)

3. Took a look at the RSXNTDJ html-page with 'bugfixes':
"GUI flag bug
Add the following line to /rsxntdj/source/emx4w32/winmain.c
__asm__(".stabs ...
"
Huh ??? Add it where (??!!) in that file? And then do what?
Recompile and make a new library or ... (And why ? Seems like things is
working fine as it is)

Summary:
I want to learn windows programming. I don't want to build a compiler. To
some extent I think I could patch one if I knew how it works. But I don't.
There are those 'djgpp.env' ,'specs', 'djgpp.djl', 'rsxntdj.djl' and
environment variables, Very confusing if you don't know when gcc reads them
and to what it uses them.
So:
1. I think a general description of how gcc works would be of great value.
(and if there is one, please tell me where)
2. And currently I feel a deep need for a 'How to set up - and patch -
RSXNTDJ'.








- Raw text -


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