annotate make/windows/cross_build.bat @ 196:d1605aabd0a1

6719955: Update copyright year Summary: Update copyright year for files that have been modified in 2008 Reviewed-by: ohair, tbell
author xdono
date Wed, 02 Jul 2008 12:55:16 -0700
parents a294fd0c4b38
children
rev   line source
duke@0 1 @echo off
duke@0 2 REM
xdono@196 3 REM Copyright 2003-2008 Sun Microsystems, Inc. All Rights Reserved.
duke@0 4 REM DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
duke@0 5 REM
duke@0 6 REM This code is free software; you can redistribute it and/or modify it
duke@0 7 REM under the terms of the GNU General Public License version 2 only, as
duke@0 8 REM published by the Free Software Foundation.
duke@0 9 REM
duke@0 10 REM This code is distributed in the hope that it will be useful, but WITHOUT
duke@0 11 REM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
duke@0 12 REM FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
duke@0 13 REM version 2 for more details (a copy is included in the LICENSE file that
duke@0 14 REM accompanied this code).
duke@0 15 REM
duke@0 16 REM You should have received a copy of the GNU General Public License version
duke@0 17 REM 2 along with this work; if not, write to the Free Software Foundation,
duke@0 18 REM Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
duke@0 19 REM
duke@0 20 REM Please contact Sun Microsystems, Inc., 4150 Network Circle, Santa Clara,
duke@0 21 REM CA 95054 USA or visit www.sun.com if you need additional information or
duke@0 22 REM have any questions.
duke@0 23 REM
duke@0 24 REM
duke@0 25
duke@0 26 REM Cross compile IA64 compiler2 VM
duke@0 27 REM Usage:
duke@0 28 REM cross_compile flavor workspace bootstrap_dir [build_id]
duke@0 29 REM %1 %2 %3 %4
duke@0 30 REM
duke@0 31 REM Set current directory
duke@0 32 for /F %%i in ('cd') do set CD=%%i
duke@0 33 echo Setting up Visual C++ Compilation Environment
duke@0 34 if "%MSVCDir%" == "" goto setdir1
duke@0 35 goto setenv1
duke@0 36 :setdir1
duke@0 37 SET MSVCDir=C:\Program Files\Microsoft Visual Studio\VC98
duke@0 38 :setenv1
duke@0 39 SET OLDINCLUDE=%INCLUDE%
duke@0 40 SET OLDLIB=%LIB%
duke@0 41 SET OLDPATH=%PATH%
duke@0 42 call "%MSVCDir%\Bin\VCVARS32"
kamg@91 43 call %2\make\windows\build %1 adlc %2 %3 %4
duke@0 44 SET INCLUDE=%OLDINCLUDE%
duke@0 45 SET LIB=%OLDLIB%
duke@0 46 SET PATH=%OLDPATH%
duke@0 47 echo Setting up 64-BIT Compilation Environment
duke@0 48 if "%MSSdk%" == "" goto setdir2
duke@0 49 goto setenv2
duke@0 50 :setdir2
duke@0 51 SET MSSdk=C:\Program Files\Microsoft SDK
duke@0 52 :setenv2
duke@0 53 call "%MSSdk%\SetEnv.bat" /XP64
duke@0 54 SET ALT_ADLC_PATH=%CD%\windows_i486_compiler2\generated
kamg@91 55 call %2\make\windows\build %1 compiler2 %2 %3 %4
duke@0 56 SET INCLUDE=%OLDINCLUDE%
duke@0 57 SET LIB=%OLDLIB%
duke@0 58 SET PATH=%OLDPATH%
duke@0 59 SET OLDINCLUDE=
duke@0 60 SET OLDLIB=
duke@0 61 SET OLDPATH=