h_win32.rc
author Claus Gittinger <cg@exept.de>
Wed, 07 Jul 1999 20:12:37 +0200
changeset 371 ff10a765331c
parent 366 397c5e4955e6
child 399 5a842f5d7196
permissions -rw-r--r--
for now: disable JIT for sparcV9 architectures

"*
 * $Header$
 *
 * ST/X startup configuration file - for win95, win98 and winNT OS.
 *
 * DONT add site specific things here - use your own h_xxx.rc file instead
 * where xxx stands for your hostname(s)
 *"

"/ look in registry for LibDir ...
|k rel curr|

rel := Smalltalk versionString.
k := Win32OperatingSystem::RegistryEntry key:('HKEY_LOCAL_MACHINE\Software\eXept\Smalltalk/X\',rel).
k isNil ifTrue:[
    k := Win32OperatingSystem::RegistryEntry key:'HKEY_LOCAL_MACHINE\Software\eXept\Smalltalk/X'.
    k notNil ifTrue:[
	curr := k valueNamed:'CurrentVersion'.
	curr isString ifTrue:[
	    k close.
	    k := Win32OperatingSystem::RegistryEntry key:('HKEY_LOCAL_MACHINE\Software\eXept\Smalltalk/X\',curr).
	]
    ]
].
k notNil ifTrue:[
    libDir := k valueNamed:'LibDir'.
    libDir notNil ifTrue:[
	Smalltalk systemPath addFirst:libDir.
	Smalltalk flushPathCaches
    ].
    k close.
].
!

"/
"/ right now, stx can only be used with a 
"/ borland C-compiler.
"/

"/ msc
"/ Compiler ccPath:'cl'.
"/ Compiler ccCompilationOptions:'/O1'.

"/ borland
Compiler ccPath:'bcc32'.
Compiler ccCompilationOptions:''.

Compiler stcCompilationIncludes: '-I../../include -I..\..\libopengl -ID:\STX\PROJECTS\smalltalk\include -IC:\Programme\borland\cbuilder3\include'.
Compiler stcCompilationDefines: ''.
Compiler stcCompilationOptions: '+optinline +inlineNew'.
Compiler ccCompilationOptions: ''.
ObjectFileLoader linkArgs: '-L..\..\libbc -LC:\Programme\Borland\CBuilder3\lib -r -c -ap -Tpd -Gi -w-dup'.
ObjectFileLoader linkCommand: 'ilink32'.

!