Mercurial > hg > graal-compiler
comparison make/windows/build_vm_def.sh @ 12355:cefad50507d8
Merge with hs25-b53
author | Gilles Duboscq <duboscq@ssw.jku.at> |
---|---|
date | Fri, 11 Oct 2013 10:38:03 +0200 |
parents | e522a00b91aa c062a6e1fa33 |
children | d8041d695d19 |
comparison
equal
deleted
inserted
replaced
12058:ccb4f2af2319 | 12355:cefad50507d8 |
---|---|
40 else | 40 else |
41 SH=`which sh` | 41 SH=`which sh` |
42 MKS_HOME=`dirname "$SH"` | 42 MKS_HOME=`dirname "$SH"` |
43 fi | 43 fi |
44 | 44 |
45 echo "EXPORTS" > vm1.def | |
46 | |
47 AWK="$MKS_HOME/awk.exe" | 45 AWK="$MKS_HOME/awk.exe" |
48 if [ ! -e $AWK ]; then | 46 if [ ! -e $AWK ]; then |
49 AWK="$MKS_HOME/gawk.exe" | 47 AWK="$MKS_HOME/gawk.exe" |
50 fi | 48 fi |
51 GREP="$MKS_HOME/grep.exe" | 49 GREP="$MKS_HOME/grep.exe" |
53 UNIQ="$MKS_HOME/uniq.exe" | 51 UNIQ="$MKS_HOME/uniq.exe" |
54 CAT="$MKS_HOME/cat.exe" | 52 CAT="$MKS_HOME/cat.exe" |
55 RM="$MKS_HOME/rm.exe" | 53 RM="$MKS_HOME/rm.exe" |
56 DUMPBIN="link.exe /dump" | 54 DUMPBIN="link.exe /dump" |
57 export VS_UNICODE_OUTPUT= | 55 export VS_UNICODE_OUTPUT= |
56 | |
57 if [ "$1" = "-nosa" ]; then | |
58 echo EXPORTS > vm.def | |
59 echo "" | |
60 echo "***" | |
61 echo "*** Not building SA: BUILD_WIN_SA != 1" | |
62 echo "*** C++ Vtables NOT included in vm.def" | |
63 echo "*** This jvm.dll will NOT work properly with SA." | |
64 echo "***" | |
65 echo "*** When in doubt, set BUILD_WIN_SA=1, clean and rebuild." | |
66 echo "***" | |
67 echo "" | |
68 exit | |
69 fi | |
70 | |
71 echo "EXPORTS" > vm1.def | |
58 | 72 |
59 # When called from IDE the first param should contain the link version, otherwise may be nill | 73 # When called from IDE the first param should contain the link version, otherwise may be nill |
60 if [ "x$1" != "x" ]; then | 74 if [ "x$1" != "x" ]; then |
61 LD_VER="$1" | 75 LD_VER="$1" |
62 fi | 76 fi |