delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/06/03/17:06:18

Message-Id: <1.5.4.32.19970603210358.00671d8c@pop.xs4all.nl>
Mime-Version: 1.0
Date: Tue, 03 Jun 1997 23:03:58 +0200
To: djgpp AT delorie DOT com
From: Fulco Bohle <minstrel AT xs4all DOT nl>
Subject: Re: rsxntdj/windows95

>Date: Tue, 03 Jun 1997 23:02:01 +0200
>To: flange AT erols DOT com
>From: Fulco Bohle <minstrel AT xs4all DOT nl>
>Subject: Re: rsxntdj/windows95
>
>At 12:34 3-06-97 -0400, you wrote:
>>You mentioned in your post to the DJGPP newsgroup that you were
>>successful in getting RSXNTDJ to work. What binary distributions did you
>>use and what did you do to get it to compile?
>>
>>I've been working successfully with DJGPP for about a year now, but I
>>can't get RSXNT to compile even the example programs.
>>
>>Thanks in advance for you help,
>>
>>-Jack Edwards, Jr.
>>flange AT erols DOT com
>>
>>P.S. If you need any help with graphics code, etc., I'd be happy to
>>help.
>>
>>
>
Hi Jack,

I am using djgpp V2.01 and rsxntdj version 1.31. I cannot get it working
under ms-dos or win31x.
It works fine under win95 and probably winNT. This has something to do with
the dpmi interface and
running ntbind, grc and rsrc under (dj)make. I am using version 3.73 of make
(not the latest)!

read the installation instructions in rsxntdj.hlp carefully, but don't
replace ld.exe for it will 
not warn you for unresolved links !

copy djgpp.env to dos32.env and win32.env and make the modifications as
written in the installation instructions to win32.env.

Now just switch the djgpp environment variable between dos32.env and
win32.env to set a target os.

Don't forget to save the old path environment variable in for example
oldpath and add a search mapping to the rsxntdj/bin directory

I used the makefile below to compile the sample projects:

CC=gcc
RC=grc -c h:/djgpp/bin/cpp.exe
RSRC=rsrc
CFLAGS=-Wall -Zwin32
CFILE=bar

all:	$(CFILE).o
all:	$(CFILE).res
all:	$(CFILE).exe

$(CFILE).exe: $(CFILE).o $(CFILE).res
	$(CC) $(CFLAGS) $(CFILE).o -o $(CFILE).out -lcomct -lcomdl
	$(RSRC) $(CFILE).res $(CFILE).exe
	del $(CFILE).out

$(CFILE).res: $(CFILE).rc $(CFILE).h
	$(RC) -r -o $(CFILE).res $(CFILE).rc

$(CFILE).o: $(CFILE).c $(CFILE).h
	$(CC) -c $(CFLAGS) -o $(CFILE).o $(CFILE).c

succes and let me know if it works ( or not) !

With regards
Fulco Bohle




- Raw text -


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