delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/04/10/12:32:05

From: "Paradox" <ennui AT nettaxi DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: RSXNTDJ
Date: 10 Apr 1999 09:03:39 PDT
Organization: Concentric Internet Services
Lines: 46
Message-ID: <7ensor$ap3@chronicle.concentric.net>
NNTP-Posting-Host: ts016d03.chi-il.concentric.net
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2014.211
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I'm having problems installing RSXNTDJ on my computer. I've studied the .hlp
file for most of the morning and only succeeded in messing up the .env file.
I restored the .env file and edited the new path names by hand and
everything worked fine, but it still wouldn't refer to the RSXNTDJ specs, so
I backed up the DJGPP spec, and replaced it with the RSXNTDJ specs.
Now -Zwin32 works, but I can't access any of the win32 includes that came
with it. I'm trying to run the hello world program included with RSNTDJ, but
the compiler can't find <windows.h> or <Windows.h>

The following are exerpts from ny Spec file and my Autoexec.bat file and my
.env file.

Autoexec.bat
SET DJGPP=C:\programming\c-c++\djgpp\djgpp.env
SET RSXNTDJ=c:\programming\c-c++\djgpp\Rsxntdj

Specs

*cpp:
%{posix:-D_POSIX_SOURCE} %{Zmt: -D__MT__} %{Zdll: -D__DLL__}
%{Zcrtdll*:-D__CRTRSXNT__}\
%{Zwin32: -D__WIN32__ -D__RSXNT__ -D__EMX__ -Ic:/programming/c-c++/djgpp/rsx
ntdj/include}

*link:
%{Zwin32: -Lc:/programming/c-c++/djgpp/rsxntdj/lib/all}

ENV

[cpp]
CPLUS_INCLUDE_PATH=%/>;CPLUS_INCLUDE_PATH%%DJDIR%/lang/cxx;%DJDIR%/include;%
RSXNTDJ%/include/mssdk;%RSXNTDJ%/include/win32
C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include;RSXNTDJ%/include/mssdk;%RS
XNTDJ%/include/win32
OBJCPLUS_INCLUDE_PATH=%/>;OBJCPLUS_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang
/objc;%DJDIR%/lang/objc;%RSXNTDJ%/include/mssdk;%RSXNTDJ%/include/win32
OBJC_INCLUDE_PATH=%/>;OBJC_INCLUDE_PATH%%DJDIR%/include;%DJDIR%/lang/objc;%D
JDIR%/lang/objc;%RSXNTDJ%/include/mssdk;%RSXNTDJ%/include/win32

[gcc]
COMPILER_PATH=%/>;COMPILER_PATH%%DJDIR%/bin
LIBRARY_PATH=%/>;LIBRARY_PATH%%;%RSXNTDJ%/lib;%DJDIR%/lib




- Raw text -


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