Mail Archives: djgpp/1999/07/31/06:18:26
>SET DJGPP=C:\DJGPP\DJGPP.ENV
>rem SET RSXNTDJ=C:\DJGPP\RSXNTDJ
>SET MSSDK=C:\MSSDK
>
>Do I want to uncomment the rsx line?
>
>For djgpp.env, I have standard stuff and
>+RSXNTDJ=%DJDIR%/rsxntdj
It is probably better if you uncomment the line in your autoexec.bat and get rid of the
line in your djgpp.env, otherwise some other programs might not work correctly (ie grc).
Also make sure that RSXNTDJ/bin is in your PATH!!!
>[cpp]
>CPLUS_INCLUDE_PATH=%RSXNTDJ%/include;%RSXNTDJ%/include/win32;%/>;CPLUS_INCLUDE_PATH%%DJDI
R%/lang/cxx
>C_INCLUDE_PATH=%/>;C_INCLUDE_PATH%%DJDIR%/include
>
>and
>
>[gcc]
>COMPILER_PATH=%RSXNTDJ%/bin;%/>;COMPILER_PATH%%DJDIR%/bin
>LIBRARY_PATH=%RSXNTDJ%/lib;%/>;LIBRARY_PATH%%DJDIR%/lib
You don't need the %RSXNTDJ%/bin in the COMPILER path variable because you should be
putting RSXNTDJ/bin in your PATH in your autoexec.bat.
Don't add the %RSXNTDJ%/lib to the LIBRARY_PATH variable because you will stuff up your
original DOS DJGPP installation, it will find the wrong specs file. The RSXNTDJ specs file
is automatically selected when you run gccw32.
--
Johan Venter
ICQ 3643877
Visit The TPU DJGPP Interest Group:
http://surf.to/djgppig
>at some point it couldn't find windows.h so I added the rsx/win32 dir to the
>inc_path
>
>Please tell me what the correct compiler_path, lib_path, and inc_paths are.
>Thanks alot.
>
>
>>>Johan: I had already downloaded
>>>rsxntdj. That's where my problem
>>>came from. Since DJGPP used c:/djgpp/rsxntdj/lib/specs,
>>>it gave me the error compiling
>>>a "dos" program. If you can compile
>>>that program with the -v switch and it
>>>says it is using c:/djgpp/rsxntdj/lib/specs,
>>>please let me know. Mine only compiles
>>>if it is using c:/djgpp/lib/specs.
>>
>>Well, then you've added something to your LIBRARY_PATH environment variable
>>that you
>>shouldn't. NOTHING should be added to that variable.
>>The issue of specs files has become irrelevant in RSXNTDJ 1.5 (check that
>>this is your
>>version).
>>Please post your autoexec.bat and djgpp.env.
>>
>
>
><<remove nospam in email address>>
>
- Raw text -