gcl-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcl-devel] gclm.bat


From: Mike Thomas
Subject: [Gcl-devel] gclm.bat
Date: Tue, 30 Dec 2003 16:37:18 +1000

Hi Vadim.

| One suggestion about gcl.bat script.
| It is good idea to place "" around %PATH%
| This helps if path has directories with spaces.
| In this case original path command in the
| gcl.bat fails.

I'm don't get that on Win XP eg:

C:\Documents and Settings\miketh>path a b;c d;ef
C:\Documents and Settings\miketh>echo %path%
a b;c d;ef
C:\Documents and Settings\miketh>path blah blah;%path%
C:\Documents and Settings\miketh>echo %path%
blah blah;a b;c d;ef

Here is the path which gcl.bat passes in to GCL under Windows XP (and from
past experience, also W2000):

>(si::getenv "PATH")

"C:\\Progra~1\\GCL-2.6.1\\mingw\\bin;C:\\lang\\texmf\\miktex\\bin\\;C:\\lang
\\ms
dotnetSDK\\Bin\\;C:\\Program Files\\Microsoft Visual Studio
.NET\\Common7\\IDE\\
;C:\\WINDOWS\\Microsoft.NET\\Framework\\v1.0.3705\\;C:\\Program
Files\\Microsoft
 Visual Studio
.NET\\Vc7\\bin\\;C:\\lang\\Tcl-8.4.1.0\\bin;C:\\WINDOWS\\system32
;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\Common
Files\\Adapte
c
Shared\\System;C:\\lang\\ocaml\\bin;C:\\lang\\texmf\\miktex\\bin\\;C:\\lang\
\M
SDOTN~1\\Bin\\;C:\\PROGRA~1\\MICROS~1.NET\\Common7\\IDE\\;C:\\WINDOWS\\MICRO
S~1.
NET\\FRAMEW~1\\V10~1.370\\;C:\\PROGRA~1\\MICROS~1.NET\\Vc7\\bin\\;C:\\lang\\
TCL-
84~1.0\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:
\\PR
OGRA~1\\COMMON~1\\ADAPTE~1\\System;C:\\lang\\ocaml\\bin;c:\\lang\\sml-nj-110
.9.1
\\bin;c:\\lang\\Palmdev\\apache-ant-1.5.4\\bin"

Are you getting something different on Win 98 or ME?

| Finally I wonder about gclm.bat.  Strange but
| it doesn't work to me on both Win XP and Win Me.
| Maybe we should replace it by a simpler script -
| something like gcl.bat but with GCL installation
| path in some environment variable?

It works for me under NT2000 and XP but I can't test under ME - you're
probably right though - it's something I picked up off the web which does
some tricky stuff I don't really understand to establish the current working
directory.  It isn't meant to be used in a release install of GCL - more of
a convenience for developers.

What goes wrong for you when you use it on XP and ME?

Cheers

Mike Thomas.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]