Branch: Tag:

2000-02-29

2000-02-29 03:15:43 by Fredrik Hübinette (Hubbe) <hubbe@hubbe.net>

initial cygwin support, still requires VC++ or Watcom, experimental

Rev: NT/init_nt:1.24
Rev: NT/tools/bash-fixup:1.2
Rev: NT/tools/lib.pike:1.10
Rev: lib/master.pike.in:1.102

1:   #!/bin/sh    - #This can be 'sprsh' or 'wine' + #This can be 'sprsh', 'wine' or 'cygwin'   REMOTE_METHOD=sprsh      # Choose 'rntcc' for Watcom or 'rntcl' for Microsoft VC++
57:   esac       - # Don't edit + # Don't edit anything below this point..      case /$0 in    */init_nt)
72:    ;;   esac    + if [ "x$OSTYPE" = xcygwin32 ]; then +  REMOTE_METHOD=cygwin +  driveletter=`echo $base | sed -e 's@^//\(.\)/.*@\1@` +  if [ "x$driveletter" != "x" ]; then +  NTDRIVE=${driveletter}: +  NTMOUNT="//$driveletter" +  fi +  mkdir $base/cygtools 2>/dev/null || : +  ( +  cd $base/tools +  cp rntcc rntcl ar nm ranlib uname bash-fixup sprsh lib lib.pike $base/cygtools || : +  ) +  SHELL=bash +  +  NT_TOOL_PATH=$base/cygtools + else    NT_TOOL_PATH=$base/tools -  + fi    -  +  +    export NT_TOOL_PATH      if [ ! -d "$NT_TOOL_PATH" ]; then
89:      NTTOOLS=$NT_TOOL_PATH/lib    +    if [ "x$NTMOUNT" = x ]; then    MNTREPLACE=""    PIKE_PATH_TRANSLATE=""