/[eiffelstudio]/trunk/Delivery/studio/config/windows/esvars.bat
ViewVC logotype

Contents of /trunk/Delivery/studio/config/windows/esvars.bat

Parent Directory Parent Directory | Revision Log Revision Log


Revision 84651 - (show annotations)
Wed Oct 20 03:07:33 2010 UTC (9 years, 3 months ago) by king
File MIME type: text/plain
File size: 1017 byte(s)
Now setting path to mingw and msys tools should mingw be the currently selected C compiler, this allows us to use gcc, gdb, gprof, make and others out of the box.  If ISE_C_COMPILER is not mingw then behavior is as before.
1 @ECHO OFF
2
3 REM Locate the registry key location. This is the only place where the scripts needs to be changed
4 REM from version to version.
5 set RegKeyPath=HKEY_LOCAL_MACHINE\SOFTWARE\ISE\Eiffel67
6
7 FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "%RegKeyPath%" /v ISE_EIFFEL') DO SET ISE_EIFFEL=%%B
8 FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "%RegKeyPath%" /v ISE_PLATFORM') DO SET ISE_PLATFORM=%%B
9 FOR /F "tokens=2* delims= " %%A IN ('REG QUERY "%RegKeyPath%" /v ISE_C_COMPILER') DO SET ISE_C_COMPILER=%%B
10
11 ECHO EiffelStudio is ready to be used for the %ISE_PLATFORM% platform and %ISE_C_COMPILER% C compiler.
12
13 REM Set PATH so that one can easily access to our compiler and associated tools.
14 set PATH=%PATH%;%ISE_EIFFEL%\studio\spec\%ISE_PLATFORM%\bin;%ISE_EIFFEL%\tools\spec\%ISE_PLATFORM%\bin;%ISE_EIFFEL%\library\gobo\spec\%ISE_PLATFORM%\bin
15
16 REM Set mingw path if currently set C compiler.
17 if %ISE_C_COMPILER%==mingw set PATH=%ISE_EIFFEL%\gcc\windows\mingw\bin;%ISE_EIFFEL%\gcc\windows\msys\1.0\bin;%PATH%;
18

Properties

Name Value
svn:eol-style native
svn:keywords Author Date ID Revision

  ViewVC Help
Powered by ViewVC 1.1.23