www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/21/17:46:47

From: Allens <allen DOT asjp AT cableol DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Please HELP!! I need to program for windows!!
Date: Sun, 19 Jul 1998 18:24:44 +0100
Organization: Cable Online
Lines: 84
Message-ID: <35B22BDC.381@cableol.co.uk>
References: <35afa75c DOT 3540959 AT gateway> <35B0E057 DOT 7B93 AT cableol DOT co DOT uk>
NNTP-Posting-Host: 194.168.181.53
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Allens wrote:
> 
> Tom Beauchamp wrote:
> >
> > I can't get RSXNTDJ to work, and I can't find lcc-w32 anywhere!
> >
> > RSXNTDJ gives me this problem:
> >
> > d:/djgpp/bin/ld.exe: cannot open -lc_app: No such file or directory
> > (ENOENT)
> > whenever I try to compile anything with the RSXNTDJ header or try to
> > run make on any of the example files.
> >
> > Thanks,
> >
> > Tom Beauchamp
> > /*                                               */
> > Visit the TOMB
> > http://www.geocities.com/Area51/Shadowlands/3419
> > -Midi
> > -Movies
> > -Programming
> > -X-Files
> > -Star Wars
> 
> These are the untested instructions I recieved from Clark Case, so don't
> blame me if they are wrong, and make backups of everything....
> By the way, I think you're problem is you are using version 2.8.1 of
> djgpp, and RSXNT is designed for 2.7.2.
> 
> Peter Allen
> 
> After much messing around, I got RSXNTDJ to work for
> the most part with gcc version 2.8.1. Here are the
> steps I eventually ended up following:
> 
> 1) Follow directions in readme.exe.
> 
> 2) Include windows.h in test program in readme.exe
> 
> 3) In the specs file (for me, it is at
> c:/djgpp/rsxntdj/lib/specs), in the *link section,
> some changes need to be made. The origional read
> something like the following:
> *link:
> %{Zwin32: -Lc:/djgpp/rsxntdj/lib/all}
> However, during compilation, it seemed to be looking
> for a library that lived both in
> c:/djgpp/rsxntdj/lib/mt and in .../lib/st. I randomly
> chose to include mt, so the statement ended up
> looking like this:
> *link:
> %{Zwin32: -Lc:/djgpp/rsxntdj/lib/all
> -Lc:/djgpp/rsxntdj/lib/mt}
> I have no idea what the difference is between these
> two directories, except one, which leads to...
> 
> 4)There was one lib that lived in the st directory
> that  wasn't in mt, and it was needed in compiling
> one of the samples. This was libcrtcs.a. I just
> copied this one into the mt directory.
> 
> 5)To get the resource compiler to work, I added the
> following to my path statement in the autoexec file:
> c:\djgpp\lib\gcc-lib\djgpp\2.81
> 
> Sooo, all is well in RSXNTDJ land? Not quite. I can't
> seem to compile c++ stuff under djgpp. In the c++
> sample, there is apparently an error in the makefile,
> so it doesn't work. And, if I change the name of
> test.c to test.cpp and try to compile it, I get the
> following error:
> 
> Error: missing stab strings - not linked with rsxnt
> 
> I compiled with gcc -Zwin32 test.cpp -o test.exe.
> This same error happened with some other c++ stuff
> under win32.

And I have just noticed the bit on lcc-win32.  You can get it
at 
http://www.cs.virginia.edu/~lcc-win32/

	Peter Allen

- Raw text -


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