Skip to content
Snippets Groups Projects
Commit a0ff7579 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Added support for ~/.init_ntrc.

Added support for rntecl & rntcl64.

Rev: NT/init_nt:1.26
parent 8cd44382
No related branches found
No related tags found
No related merge requests found
#!/bin/sh #!/bin/sh
# Support local settings.
if [ -f "$HOME/.init_ntrc" ]; then
. "$HOME/.init_ntrc"
fi
#This can be 'sprsh', 'wine' or 'cygwin' #This can be 'sprsh', 'wine' or 'cygwin'
REMOTE_METHOD=sprsh REMOTE_METHOD=${REMOTE_METHOD-sprsh}
# Choose 'rntcc' for Watcom or 'rntcl' for Microsoft VC++ # Choose 'rntcc' for Watcom or 'rntcl' for Microsoft VC++
# (Make sure VC++ is before Watcom in your path!) # (Make sure VC++ is before Watcom in your path!)
...@@ -24,18 +29,21 @@ NTDRIVE=${NTDRIVE-k:} ...@@ -24,18 +29,21 @@ NTDRIVE=${NTDRIVE-k:}
# What dir on the UNIX machine is on $NTDRIVE ? # What dir on the UNIX machine is on $NTDRIVE ?
# This variable MUST NOT end with a slash. # This variable MUST NOT end with a slash.
NTMOUNT= NTMOUNT=${NTMOUNT-}
# Use Simple Pike Remote SHell? # Use Simple Pike Remote SHell?
USE_SPRSH=yes USE_SPRSH=yes
# Port for sprsh # Port for sprsh
NTPORT=4711 NTPORT=${NTPORT-4711}
#These are only used if you use wine #These are only used if you use wine
watcom=D:\\CDROM watcom=D:\\CDROM
INCLUDE="$watcom\\H;$watcom\\H\\NT" INCLUDE="$watcom\\H;$watcom\\H\\NT"
# Used for IA64 cross-compiling.
IA64SDK=${IA64SDK-'C:\ia64sdk17'}
case "/$CC" in case "/$CC" in
*/rntcl) */rntcl)
MSVC='j:\winshare\vc98' MSVC='j:\winshare\vc98'
...@@ -48,6 +56,24 @@ lib=$MSVC\\Lib;$local\\lib ...@@ -48,6 +56,24 @@ lib=$MSVC\\Lib;$local\\lib
export REMOTE_VARIABLES export REMOTE_VARIABLES
;; ;;
*/rntcl64)
REMOTE_VARIABLES="
path=$IA64SDK\\bin\\Win64;$IA64SDK\\bin;
include=$IA64SDK\\Include;
lib=$IA64SDK\\Lib;
"
export REMOTE_VARIABLES
;;
*/rntecl)
REMOTE_VARIABLES="
path=$IA64SDK\\bin\\Intel64;$IA64SDK\\bin;
include=$IA64SDK\\Include;
lib=$IA64SDK\\Lib;
"
export REMOTE_VARIABLES
;;
*/rntcc) */rntcc)
watcom='j:\winshare\WATCOM' watcom='j:\winshare\WATCOM'
local='j:\winshare\WATCOM\local' local='j:\winshare\WATCOM\local'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment