author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Wed, 08 Jun 2016 00:20:44 +0100 | |
branch | jv |
changeset 1440 | b822d6dc20e7 |
parent 1423 | f30fc933e35e |
parent 1430 | b02e9366f9fc |
child 1443 | b18e4c988c35 |
permissions | -rw-r--r-- |
331
a0be330a1f43
moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
1 |
"* |
609 | 2 |
* Encoding: iso8859-1 |
3 |
* |
|
331
a0be330a1f43
moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
4 |
* $Header$ |
a0be330a1f43
moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
5 |
* |
399 | 6 |
* MIMEType: application/x-smalltalk-source |
7 |
* |
|
331
a0be330a1f43
moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
8 |
* ST/X startup configuration file - for win95, win98 and winNT OS. |
a0be330a1f43
moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
9 |
* |
a0be330a1f43
moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
10 |
* DONT add site specific things here - use your own h_xxx.rc file instead |
a0be330a1f43
moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
11 |
* where xxx stands for your hostname(s) |
a0be330a1f43
moved compiler setup into host-specific file.
Claus Gittinger <cg@exept.de>
parents:
diff
changeset
|
12 |
*" |
1243
1fc6b3f01e48
End chung after initial comment / encoding spec
Stefan Vogel <sv@exept.de>
parents:
921
diff
changeset
|
13 |
! |
357
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
14 |
"/ look in registry for LibDir ... |
723 | 15 |
|k rel curr libDir| |
357
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
16 |
|
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
17 |
rel := Smalltalk versionString. |
672 | 18 |
k := Win32OperatingSystem registryEntry key:('HKEY_LOCAL_MACHINE\Software\eXept\Smalltalk/X\',rel). |
357
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
19 |
k isNil ifTrue:[ |
672 | 20 |
k := Win32OperatingSystem registryEntry key:'HKEY_LOCAL_MACHINE\Software\eXept\Smalltalk/X'. |
357
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
21 |
k notNil ifTrue:[ |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
22 |
curr := k valueNamed:'CurrentVersion'. |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
23 |
curr isString ifTrue:[ |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
24 |
k close. |
672 | 25 |
k := Win32OperatingSystem registryEntry key:('HKEY_LOCAL_MACHINE\Software\eXept\Smalltalk/X\',curr). |
357
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
26 |
] |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
27 |
] |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
28 |
]. |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
29 |
k notNil ifTrue:[ |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
30 |
libDir := k valueNamed:'LibDir'. |
410 | 31 |
(libDir notNil and:[libDir asFilename exists]) ifTrue:[ |
670 | 32 |
(Smalltalk systemPath includes:(libDir asFilename pathName)) ifFalse:[ |
33 |
Smalltalk systemPath addFirst:(libDir asFilename pathName). |
|
34 |
Smalltalk flushPathCaches |
|
35 |
] |
|
357
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
36 |
]. |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
37 |
k close. |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
38 |
]. |
dc01b7bc319e
add LibDir setting from registry to systemPath
Claus Gittinger <cg@exept.de>
parents:
331
diff
changeset
|
39 |
! |
1430 | 40 |
'C:\Programme\mingw-w64\mingw64\bin' |
41 |
'C:\Programme\mingw-w64\mingw\bin' |
|
42 |
'C:\Programs\mingw-w64\mingw64\bin' |
|
43 |
'C:\Programs\mingw-w64\mingw\bin' |
|
44 |
'C:\Program Files\mingw-w64\mingw64\bin' |
|
45 |
'C:\Program Files\mingw-w64\mingw\bin' |
|
46 |
'C:\mingw-w64\mingw64\bin' |
|
47 |
'C:\Programme\mingw-w32\mingw32\bin' |
|
48 |
'C:\Programme\mingw-w32\mingw\bin' |
|
49 |
'C:\Programs\mingw-w32\mingw32\bin' |
|
50 |
'C:\Programs\mingw-w32\mingw\bin' |
|
51 |
'C:\Program Files\mingw-w32\mingw32\bin' |
|
52 |
'C:\Program Files\mingw-w32\mingw\bin' |
|
53 |
'C:\mingw-w32\mingw32\bin' |
|
1440 | 54 |
'C:\mingw-w32\mingw\bin' |