annotate configure.rc @ 632:ed19b429a152

- added explicit arm64 target, and clang tool options to Windows' configure.bat - configure.{bat,rc} now writing Makefile.config, for consistency/compatibility (e.g. configure.bat can now be used to set up env flags for a non-nmake toolchain) - simplified/decluttered Windows and Plan9 configure scripts (removal of unused/stale options, ...) - removed stale test/makepkg.sh helper
author Tassilo Philipp
date Sat, 19 Nov 2022 15:45:41 +0100
parents 3e629dc19168
children a1732b269476
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
1 #!/bin/rc
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
2 #//////////////////////////////////////////////////////////////////////////////
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
3 #
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
4 # Copyright (c) 2007-2022 Daniel Adler <dadler@uni-goettingen.de>,
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
5 # Tassilo Philipp <tphilipp@potion-studios.com>
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
6 #
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
7 # Permission to use, copy, modify, and distribute this software for any
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
8 # purpose with or without fee is hereby granted, provided that the above
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
9 # copyright notice and this permission notice appear in all copies.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
10 #
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
11 # THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
12 # WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
13 # MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
14 # ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
15 # WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
16 # ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
17 # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
18 #
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
19 #//////////////////////////////////////////////////////////////////////////////
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
20
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
21 # --- configure settings ------------------------------------------------------
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
22
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
23 PACKAGE=dyncall
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
24
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
25
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
26 # --- message helpers ----------------------------------------------------
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
27 fn error {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
28 echo error: $*
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
29 exit 1
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
30 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
31 fn warning {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
32 echo warning: $*
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
33 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
34 fn info {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
35 echo $*
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
36 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
37
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
38
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
39 # --- print usage -------------------------------------------------------------
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
40
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
41 fn usage {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
42 echo $PACKAGE' configuration shell-script'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
43 echo 'Usage:'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
44 echo ' configure [ options ]'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
45 echo
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
46 echo 'Options:'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
47 echo ' --help'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
48 echo ' -h print this page'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
49 #echo
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
50 #echo ' --target-x86 build for x86 architecture platform'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
51 #echo ' --target-x64 build for x64 architecture platform'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
52 #echo ' --target-ppc32 build for ppc32 architecture platform'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
53 #echo ' --target-arm-arm build for ARM architecture platform (ARM mode)'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
54 #echo ' --target-arm-thumb build for ARM architecture platform (THUMB mode)'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
55 #echo
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
56 #echo ' --tool-pcc use Portable C Compiler'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
57 #echo
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
58 #echo ' --asm-xa use Plan9 Assemblers (0a, 1a, 2a, etc.)'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
59 echo
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
60 exit 0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
61 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
62
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
63
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
64 # --- guess os, arch, ... -------------------------------------------------
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
65
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
66 CONFIG_OS=()
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
67 fn guess_os {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
68 CONFIG_OS='plan9'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
69 info 'guess os '$CONFIG_OS
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
70 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
71
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
72 CONFIG_ARCH=()
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
73 fn guess_arch {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
74 CONFIG_ARCH='x86'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
75 switch($cputype) {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
76 case 386
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
77 CONFIG_ARCH='x86'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
78 case amd64
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
79 CONFIG_ARCH='x64'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
80 case arm
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
81 CONFIG_ARCH='arm32_arm'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
82 case power
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
83 CONFIG_ARCH='ppc32'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
84 case mips
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
85 CONFIG_ARCH='mips32'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
86 case *
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
87 warning 'unknown architecture '$cputype' - using default (x86)'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
88 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
89 info 'guess arch '$CONFIG_ARCH
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
90 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
91
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
92 CONFIG_TOOL=()
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
93 fn guess_tool {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
94 #CONFIG_TOOL=`{grep CC /$objtype/mkfile | sed s/CC.//}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
95 CONFIG_TOOL='pcc'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
96 info 'guess tool '$CONFIG_TOOL
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
97 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
98
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
99 CONFIG_ASM=()
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
100 fn guess_asm {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
101 CONFIG_ASM=`{grep AS /$objtype/mkfile | sed s/AS.//}
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
102 info 'guess assembler '$CONFIG_ASM
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
103 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
104
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
105 fn guess {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
106 if(~ $#CONFIG_OS 0) {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
107 guess_os
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
108 if(~ $#CONFIG_OS 0) {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
109 error 'unsupported operating system '$OS
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
110 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
111 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
112
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
113 if(~ $#CONFIG_ARCH 0) {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
114 guess_arch
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
115 if(~ $#CONFIG_ARCH 0) {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
116 error 'unsupported architecture '$ARCH
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
117 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
118 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
119
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
120 if(~ $#CONFIG_TOOL 0) {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
121 guess_tool
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
122 if(~ $#CONFIG_TOOL 0) {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
123 error 'no tool'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
124 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
125 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
126
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
127 if(~ $#CONFIG_ASM 0) {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
128 guess_asm
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
129 if(~ $#CONFIG_ASM 0) {
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
130 error 'no assembler tool'
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
131 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
132 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
133 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
134
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
135
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
136 # --- process arguments ------------------------------------------------------
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
137
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
138 fn args {
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
139 while(! ~ $#* 0 && ~ $1 -*) {
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
140 OPT=$1
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
141 shift
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
142
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
143 switch($OPT) {
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
144 case --help -h
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
145 usage
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
146 #case --target-x86
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
147 #CONFIG_ARCH='x86'
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
148 #case --target-x64
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
149 #CONFIG_ARCH='x64'
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
150 #case --target-ppc32
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
151 #CONFIG_ARCH='ppc32'
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
152 #case --target-arm-arm
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
153 #CONFIG_ARCH='arm32_arm'
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
154 #case --target-arm-thumb
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
155 #CONFIG_ARCH='arm32_thumb'
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
156 #case --tool-pcc
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
157 #CONFIG_TOOL=pcc
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
158 #CONFIG_ASM=2a
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
159 #case --tool-xa
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
160 #CONFIG_ASM=2a
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
161 case *
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
162 warning 'unknown option '$OPT
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
163 }
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
164 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
165 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
166
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
167
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
168
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
169 args $*
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
170 info '* configure package '$PACKAGE
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
171 guess
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
172
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
173 CONFIG_HOST=$CONFIG_OS
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
174 BUILD_HOST=$CONFIG_HOST
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
175 if(! ~ $CONFIG_HOST $CONFIG_OS) {
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
176 BUILD_HOST=$CONFIG_HOST'_'$CONFIG_OS
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
177 }
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
178
632
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
179 echo '#auto-generated by '$PACKAGE'/configure' >$1
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
180 echo 'CONFIG_PACKAGE='$PACKAGE >>$1
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
181 echo 'CONFIG_HOST='$CONFIG_HOST >>$1
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
182 echo 'CONFIG_OS='$CONFIG_OS >>$1
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
183 echo 'CONFIG_ARCH='$CONFIG_ARCH >>$1
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
184 echo 'CONFIG_TOOL='$CONFIG_TOOL >>$1
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
185 echo 'CONFIG_ASM='$CONFIG_ASM >>$1
ed19b429a152 - added explicit arm64 target, and clang tool options to Windows' configure.bat
Tassilo Philipp
parents: 0
diff changeset
186 echo '' >>$1
0
3e629dc19168 initial from svn dyncall-1745
Daniel Adler
parents:
diff changeset
187