Ticket #70048: cmake_bootstrap.log

File cmake_bootstrap.log, 112.2 KB (added by conradkun (Conrad Cardona), 6 months ago)

/opt/local/var/macports/build/_opt_local_var_macports_sources_github.com_macports_macports-ports_devel_cmake/cmake/work/cmake-3.29.3-x86_64/Bootstrap.cmk/cmake_bootstrap.log

Line 
1Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation  ' works.
2Try: /usr/bin/clang
3Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation   cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
4----------  file   -----------------------
5
6#ifdef __cplusplus
7# error "The CMAKE_C_COMPILER is set to a C++ compiler"
8#endif
9
10#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
11#error "On AIX with GNU we need the -pthread flag."
12#endif
13
14#if defined(__sun) && __STDC_VERSION__ < 199901L
15#error "On Solaris we need C99."
16#endif
17
18#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
19#error "On HP-UX we need GCC 4.9 or higher."
20#endif
21
22#include <stdio.h>
23
24int main(int argc, char* argv[])
25{
26  printf("%d%c", (argv != 0), (char)0x0a);
27  return argc - 1;
28}
29
30------------------------------------------
31./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
32Test produced non-zero return code
33Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
34Try: /usr/bin/clang
35Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
36----------  file   -----------------------
37
38#ifdef __cplusplus
39# error "The CMAKE_C_COMPILER is set to a C++ compiler"
40#endif
41
42#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
43#error "On AIX with GNU we need the -pthread flag."
44#endif
45
46#if defined(__sun) && __STDC_VERSION__ < 199901L
47#error "On Solaris we need C99."
48#endif
49
50#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
51#error "On HP-UX we need GCC 4.9 or higher."
52#endif
53
54#include <stdio.h>
55
56int main(int argc, char* argv[])
57{
58  printf("%d%c", (argv != 0), (char)0x0a);
59  return argc - 1;
60}
61
62------------------------------------------
63./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
64Test produced non-zero return code
65Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
66Try: /usr/bin/clang
67Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
68----------  file   -----------------------
69
70#ifdef __cplusplus
71# error "The CMAKE_C_COMPILER is set to a C++ compiler"
72#endif
73
74#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
75#error "On AIX with GNU we need the -pthread flag."
76#endif
77
78#if defined(__sun) && __STDC_VERSION__ < 199901L
79#error "On Solaris we need C99."
80#endif
81
82#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
83#error "On HP-UX we need GCC 4.9 or higher."
84#endif
85
86#include <stdio.h>
87
88int main(int argc, char* argv[])
89{
90  printf("%d%c", (argv != 0), (char)0x0a);
91  return argc - 1;
92}
93
94------------------------------------------
95./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
96Test produced non-zero return code
97Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
98Try: /usr/bin/clang
99Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
100----------  file   -----------------------
101
102#ifdef __cplusplus
103# error "The CMAKE_C_COMPILER is set to a C++ compiler"
104#endif
105
106#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
107#error "On AIX with GNU we need the -pthread flag."
108#endif
109
110#if defined(__sun) && __STDC_VERSION__ < 199901L
111#error "On Solaris we need C99."
112#endif
113
114#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
115#error "On HP-UX we need GCC 4.9 or higher."
116#endif
117
118#include <stdio.h>
119
120int main(int argc, char* argv[])
121{
122  printf("%d%c", (argv != 0), (char)0x0a);
123  return argc - 1;
124}
125
126------------------------------------------
127./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
128Test produced non-zero return code
129Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu1x ' works.
130Try: /usr/bin/clang
131Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu1x  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
132----------  file   -----------------------
133
134#ifdef __cplusplus
135# error "The CMAKE_C_COMPILER is set to a C++ compiler"
136#endif
137
138#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
139#error "On AIX with GNU we need the -pthread flag."
140#endif
141
142#if defined(__sun) && __STDC_VERSION__ < 199901L
143#error "On Solaris we need C99."
144#endif
145
146#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
147#error "On HP-UX we need GCC 4.9 or higher."
148#endif
149
150#include <stdio.h>
151
152int main(int argc, char* argv[])
153{
154  printf("%d%c", (argv != 0), (char)0x0a);
155  return argc - 1;
156}
157
158------------------------------------------
159./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
160Test produced non-zero return code
161Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation /std:c11 ' works.
162Try: /usr/bin/clang
163Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation /std:c11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
164----------  file   -----------------------
165
166#ifdef __cplusplus
167# error "The CMAKE_C_COMPILER is set to a C++ compiler"
168#endif
169
170#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
171#error "On AIX with GNU we need the -pthread flag."
172#endif
173
174#if defined(__sun) && __STDC_VERSION__ < 199901L
175#error "On Solaris we need C99."
176#endif
177
178#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
179#error "On HP-UX we need GCC 4.9 or higher."
180#endif
181
182#include <stdio.h>
183
184int main(int argc, char* argv[])
185{
186  printf("%d%c", (argv != 0), (char)0x0a);
187  return argc - 1;
188}
189
190------------------------------------------
191clang: error: no such file or directory: '/std:c11'
192Test failed to compile
193Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -h ' works.
194Try: /usr/bin/clang
195Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -h  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
196----------  file   -----------------------
197
198#ifdef __cplusplus
199# error "The CMAKE_C_COMPILER is set to a C++ compiler"
200#endif
201
202#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
203#error "On AIX with GNU we need the -pthread flag."
204#endif
205
206#if defined(__sun) && __STDC_VERSION__ < 199901L
207#error "On Solaris we need C99."
208#endif
209
210#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
211#error "On HP-UX we need GCC 4.9 or higher."
212#endif
213
214#include <stdio.h>
215
216int main(int argc, char* argv[])
217{
218  printf("%d%c", (argv != 0), (char)0x0a);
219  return argc - 1;
220}
221
222------------------------------------------
223clang: error: unknown argument: '-h'
224Test failed to compile
225Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation std=c11,gnu ' works.
226Try: /usr/bin/clang
227Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation std=c11,gnu  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
228----------  file   -----------------------
229
230#ifdef __cplusplus
231# error "The CMAKE_C_COMPILER is set to a C++ compiler"
232#endif
233
234#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
235#error "On AIX with GNU we need the -pthread flag."
236#endif
237
238#if defined(__sun) && __STDC_VERSION__ < 199901L
239#error "On Solaris we need C99."
240#endif
241
242#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
243#error "On HP-UX we need GCC 4.9 or higher."
244#endif
245
246#include <stdio.h>
247
248int main(int argc, char* argv[])
249{
250  printf("%d%c", (argv != 0), (char)0x0a);
251  return argc - 1;
252}
253
254------------------------------------------
255clang: error: no such file or directory: 'std=c11,gnu'; did you mean '-std=c11,gnu'?
256Test failed to compile
257Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
258Try: /usr/bin/clang
259Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
260----------  file   -----------------------
261
262#ifdef __cplusplus
263# error "The CMAKE_C_COMPILER is set to a C++ compiler"
264#endif
265
266#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
267#error "On AIX with GNU we need the -pthread flag."
268#endif
269
270#if defined(__sun) && __STDC_VERSION__ < 199901L
271#error "On Solaris we need C99."
272#endif
273
274#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
275#error "On HP-UX we need GCC 4.9 or higher."
276#endif
277
278#include <stdio.h>
279
280int main(int argc, char* argv[])
281{
282  printf("%d%c", (argv != 0), (char)0x0a);
283  return argc - 1;
284}
285
286------------------------------------------
287./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
288Test produced non-zero return code
289Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
290Try: /usr/bin/clang
291Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
292----------  file   -----------------------
293
294#ifdef __cplusplus
295# error "The CMAKE_C_COMPILER is set to a C++ compiler"
296#endif
297
298#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
299#error "On AIX with GNU we need the -pthread flag."
300#endif
301
302#if defined(__sun) && __STDC_VERSION__ < 199901L
303#error "On Solaris we need C99."
304#endif
305
306#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
307#error "On HP-UX we need GCC 4.9 or higher."
308#endif
309
310#include <stdio.h>
311
312int main(int argc, char* argv[])
313{
314  printf("%d%c", (argv != 0), (char)0x0a);
315  return argc - 1;
316}
317
318------------------------------------------
319./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
320Test produced non-zero return code
321Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
322Try: /usr/bin/clang
323Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
324----------  file   -----------------------
325
326#ifdef __cplusplus
327# error "The CMAKE_C_COMPILER is set to a C++ compiler"
328#endif
329
330#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
331#error "On AIX with GNU we need the -pthread flag."
332#endif
333
334#if defined(__sun) && __STDC_VERSION__ < 199901L
335#error "On Solaris we need C99."
336#endif
337
338#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
339#error "On HP-UX we need GCC 4.9 or higher."
340#endif
341
342#include <stdio.h>
343
344int main(int argc, char* argv[])
345{
346  printf("%d%c", (argv != 0), (char)0x0a);
347  return argc - 1;
348}
349
350------------------------------------------
351./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
352Test produced non-zero return code
353Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu1x ' works.
354Try: /usr/bin/clang
355Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu1x  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
356----------  file   -----------------------
357
358#ifdef __cplusplus
359# error "The CMAKE_C_COMPILER is set to a C++ compiler"
360#endif
361
362#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
363#error "On AIX with GNU we need the -pthread flag."
364#endif
365
366#if defined(__sun) && __STDC_VERSION__ < 199901L
367#error "On Solaris we need C99."
368#endif
369
370#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
371#error "On HP-UX we need GCC 4.9 or higher."
372#endif
373
374#include <stdio.h>
375
376int main(int argc, char* argv[])
377{
378  printf("%d%c", (argv != 0), (char)0x0a);
379  return argc - 1;
380}
381
382------------------------------------------
383./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
384Test produced non-zero return code
385Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
386Try: /usr/bin/clang
387Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
388----------  file   -----------------------
389
390#ifdef __cplusplus
391# error "The CMAKE_C_COMPILER is set to a C++ compiler"
392#endif
393
394#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
395#error "On AIX with GNU we need the -pthread flag."
396#endif
397
398#if defined(__sun) && __STDC_VERSION__ < 199901L
399#error "On Solaris we need C99."
400#endif
401
402#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
403#error "On HP-UX we need GCC 4.9 or higher."
404#endif
405
406#include <stdio.h>
407
408int main(int argc, char* argv[])
409{
410  printf("%d%c", (argv != 0), (char)0x0a);
411  return argc - 1;
412}
413
414------------------------------------------
415./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
416Test produced non-zero return code
417Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -Qstd=c11 ' works.
418Try: /usr/bin/clang
419Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -Qstd=c11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
420----------  file   -----------------------
421
422#ifdef __cplusplus
423# error "The CMAKE_C_COMPILER is set to a C++ compiler"
424#endif
425
426#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
427#error "On AIX with GNU we need the -pthread flag."
428#endif
429
430#if defined(__sun) && __STDC_VERSION__ < 199901L
431#error "On Solaris we need C99."
432#endif
433
434#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
435#error "On HP-UX we need GCC 4.9 or higher."
436#endif
437
438#include <stdio.h>
439
440int main(int argc, char* argv[])
441{
442  printf("%d%c", (argv != 0), (char)0x0a);
443  return argc - 1;
444}
445
446------------------------------------------
447clang: error: unknown argument '-Qstd=c11'; did you mean '-std=c11'?
448Test failed to compile
449Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
450Try: /usr/bin/clang
451Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
452----------  file   -----------------------
453
454#ifdef __cplusplus
455# error "The CMAKE_C_COMPILER is set to a C++ compiler"
456#endif
457
458#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
459#error "On AIX with GNU we need the -pthread flag."
460#endif
461
462#if defined(__sun) && __STDC_VERSION__ < 199901L
463#error "On Solaris we need C99."
464#endif
465
466#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
467#error "On HP-UX we need GCC 4.9 or higher."
468#endif
469
470#include <stdio.h>
471
472int main(int argc, char* argv[])
473{
474  printf("%d%c", (argv != 0), (char)0x0a);
475  return argc - 1;
476}
477
478------------------------------------------
479./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
480Test produced non-zero return code
481Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
482Try: /usr/bin/clang
483Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
484----------  file   -----------------------
485
486#ifdef __cplusplus
487# error "The CMAKE_C_COMPILER is set to a C++ compiler"
488#endif
489
490#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
491#error "On AIX with GNU we need the -pthread flag."
492#endif
493
494#if defined(__sun) && __STDC_VERSION__ < 199901L
495#error "On Solaris we need C99."
496#endif
497
498#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
499#error "On HP-UX we need GCC 4.9 or higher."
500#endif
501
502#include <stdio.h>
503
504int main(int argc, char* argv[])
505{
506  printf("%d%c", (argv != 0), (char)0x0a);
507  return argc - 1;
508}
509
510------------------------------------------
511./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
512Test produced non-zero return code
513Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
514Try: /usr/bin/clang
515Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
516----------  file   -----------------------
517
518#ifdef __cplusplus
519# error "The CMAKE_C_COMPILER is set to a C++ compiler"
520#endif
521
522#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
523#error "On AIX with GNU we need the -pthread flag."
524#endif
525
526#if defined(__sun) && __STDC_VERSION__ < 199901L
527#error "On Solaris we need C99."
528#endif
529
530#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
531#error "On HP-UX we need GCC 4.9 or higher."
532#endif
533
534#include <stdio.h>
535
536int main(int argc, char* argv[])
537{
538  printf("%d%c", (argv != 0), (char)0x0a);
539  return argc - 1;
540}
541
542------------------------------------------
543./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
544Test produced non-zero return code
545Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std:c11 ' works.
546Try: /usr/bin/clang
547Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std:c11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
548----------  file   -----------------------
549
550#ifdef __cplusplus
551# error "The CMAKE_C_COMPILER is set to a C++ compiler"
552#endif
553
554#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
555#error "On AIX with GNU we need the -pthread flag."
556#endif
557
558#if defined(__sun) && __STDC_VERSION__ < 199901L
559#error "On Solaris we need C99."
560#endif
561
562#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
563#error "On HP-UX we need GCC 4.9 or higher."
564#endif
565
566#include <stdio.h>
567
568int main(int argc, char* argv[])
569{
570  printf("%d%c", (argv != 0), (char)0x0a);
571  return argc - 1;
572}
573
574------------------------------------------
575clang: error: unknown argument: '-std:c11'
576Test failed to compile
577Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c11 ' works.
578Try: /usr/bin/clang
579Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
580----------  file   -----------------------
581
582#ifdef __cplusplus
583# error "The CMAKE_C_COMPILER is set to a C++ compiler"
584#endif
585
586#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
587#error "On AIX with GNU we need the -pthread flag."
588#endif
589
590#if defined(__sun) && __STDC_VERSION__ < 199901L
591#error "On Solaris we need C99."
592#endif
593
594#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
595#error "On HP-UX we need GCC 4.9 or higher."
596#endif
597
598#include <stdio.h>
599
600int main(int argc, char* argv[])
601{
602  printf("%d%c", (argv != 0), (char)0x0a);
603  return argc - 1;
604}
605
606------------------------------------------
607./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
608Test produced non-zero return code
609Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -c11 ' works.
610Try: /usr/bin/clang
611Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -c11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
612----------  file   -----------------------
613
614#ifdef __cplusplus
615# error "The CMAKE_C_COMPILER is set to a C++ compiler"
616#endif
617
618#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
619#error "On AIX with GNU we need the -pthread flag."
620#endif
621
622#if defined(__sun) && __STDC_VERSION__ < 199901L
623#error "On Solaris we need C99."
624#endif
625
626#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
627#error "On HP-UX we need GCC 4.9 or higher."
628#endif
629
630#include <stdio.h>
631
632int main(int argc, char* argv[])
633{
634  printf("%d%c", (argv != 0), (char)0x0a);
635  return argc - 1;
636}
637
638------------------------------------------
639clang: error: unknown argument: '-c11'
640Test failed to compile
641Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c11 ' works.
642Try: /usr/bin/clang
643Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
644----------  file   -----------------------
645
646#ifdef __cplusplus
647# error "The CMAKE_C_COMPILER is set to a C++ compiler"
648#endif
649
650#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
651#error "On AIX with GNU we need the -pthread flag."
652#endif
653
654#if defined(__sun) && __STDC_VERSION__ < 199901L
655#error "On Solaris we need C99."
656#endif
657
658#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
659#error "On HP-UX we need GCC 4.9 or higher."
660#endif
661
662#include <stdio.h>
663
664int main(int argc, char* argv[])
665{
666  printf("%d%c", (argv != 0), (char)0x0a);
667  return argc - 1;
668}
669
670------------------------------------------
671./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
672Test produced non-zero return code
673Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --c11 ' works.
674Try: /usr/bin/clang
675Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --c11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
676----------  file   -----------------------
677
678#ifdef __cplusplus
679# error "The CMAKE_C_COMPILER is set to a C++ compiler"
680#endif
681
682#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
683#error "On AIX with GNU we need the -pthread flag."
684#endif
685
686#if defined(__sun) && __STDC_VERSION__ < 199901L
687#error "On Solaris we need C99."
688#endif
689
690#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
691#error "On HP-UX we need GCC 4.9 or higher."
692#endif
693
694#include <stdio.h>
695
696int main(int argc, char* argv[])
697{
698  printf("%d%c", (argv != 0), (char)0x0a);
699  return argc - 1;
700}
701
702------------------------------------------
703clang: error: unsupported option '--c11'
704Test failed to compile
705Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
706Try: /usr/bin/clang
707Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
708----------  file   -----------------------
709
710#ifdef __cplusplus
711# error "The CMAKE_C_COMPILER is set to a C++ compiler"
712#endif
713
714#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
715#error "On AIX with GNU we need the -pthread flag."
716#endif
717
718#if defined(__sun) && __STDC_VERSION__ < 199901L
719#error "On Solaris we need C99."
720#endif
721
722#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
723#error "On HP-UX we need GCC 4.9 or higher."
724#endif
725
726#include <stdio.h>
727
728int main(int argc, char* argv[])
729{
730  printf("%d%c", (argv != 0), (char)0x0a);
731  return argc - 1;
732}
733
734------------------------------------------
735./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
736Test produced non-zero return code
737Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --iso=11 ' works.
738Try: /usr/bin/clang
739Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --iso=11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
740----------  file   -----------------------
741
742#ifdef __cplusplus
743# error "The CMAKE_C_COMPILER is set to a C++ compiler"
744#endif
745
746#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
747#error "On AIX with GNU we need the -pthread flag."
748#endif
749
750#if defined(__sun) && __STDC_VERSION__ < 199901L
751#error "On Solaris we need C99."
752#endif
753
754#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
755#error "On HP-UX we need GCC 4.9 or higher."
756#endif
757
758#include <stdio.h>
759
760int main(int argc, char* argv[])
761{
762  printf("%d%c", (argv != 0), (char)0x0a);
763  return argc - 1;
764}
765
766------------------------------------------
767clang: error: unsupported option '--iso=11'
768Test failed to compile
769Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -qlanglvl=extc1x ' works.
770Try: /usr/bin/clang
771Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -qlanglvl=extc1x  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
772----------  file   -----------------------
773
774#ifdef __cplusplus
775# error "The CMAKE_C_COMPILER is set to a C++ compiler"
776#endif
777
778#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
779#error "On AIX with GNU we need the -pthread flag."
780#endif
781
782#if defined(__sun) && __STDC_VERSION__ < 199901L
783#error "On Solaris we need C99."
784#endif
785
786#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
787#error "On HP-UX we need GCC 4.9 or higher."
788#endif
789
790#include <stdio.h>
791
792int main(int argc, char* argv[])
793{
794  printf("%d%c", (argv != 0), (char)0x0a);
795  return argc - 1;
796}
797
798------------------------------------------
799clang: error: unknown argument: '-qlanglvl=extc1x'
800Test failed to compile
801Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -qlanglvl=extc1x ' works.
802Try: /usr/bin/clang
803Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -qlanglvl=extc1x  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
804----------  file   -----------------------
805
806#ifdef __cplusplus
807# error "The CMAKE_C_COMPILER is set to a C++ compiler"
808#endif
809
810#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
811#error "On AIX with GNU we need the -pthread flag."
812#endif
813
814#if defined(__sun) && __STDC_VERSION__ < 199901L
815#error "On Solaris we need C99."
816#endif
817
818#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
819#error "On HP-UX we need GCC 4.9 or higher."
820#endif
821
822#include <stdio.h>
823
824int main(int argc, char* argv[])
825{
826  printf("%d%c", (argv != 0), (char)0x0a);
827  return argc - 1;
828}
829
830------------------------------------------
831clang: error: unknown argument: '-qlanglvl=extc1x'
832Test failed to compile
833Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11 ' works.
834Try: /usr/bin/clang
835Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
836----------  file   -----------------------
837
838#ifdef __cplusplus
839# error "The CMAKE_C_COMPILER is set to a C++ compiler"
840#endif
841
842#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
843#error "On AIX with GNU we need the -pthread flag."
844#endif
845
846#if defined(__sun) && __STDC_VERSION__ < 199901L
847#error "On Solaris we need C99."
848#endif
849
850#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
851#error "On HP-UX we need GCC 4.9 or higher."
852#endif
853
854#include <stdio.h>
855
856int main(int argc, char* argv[])
857{
858  printf("%d%c", (argv != 0), (char)0x0a);
859  return argc - 1;
860}
861
862------------------------------------------
863./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
864Test produced non-zero return code
865Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu++11 ' works.
866Try: /usr/bin/clang
867Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu++11  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
868----------  file   -----------------------
869
870#ifdef __cplusplus
871# error "The CMAKE_C_COMPILER is set to a C++ compiler"
872#endif
873
874#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
875#error "On AIX with GNU we need the -pthread flag."
876#endif
877
878#if defined(__sun) && __STDC_VERSION__ < 199901L
879#error "On Solaris we need C99."
880#endif
881
882#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
883#error "On HP-UX we need GCC 4.9 or higher."
884#endif
885
886#include <stdio.h>
887
888int main(int argc, char* argv[])
889{
890  printf("%d%c", (argv != 0), (char)0x0a);
891  return argc - 1;
892}
893
894------------------------------------------
895error: invalid argument '-std=gnu++11' not allowed with 'C'
896Test failed to compile
897Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu++0x ' works.
898Try: /usr/bin/clang
899Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu++0x  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
900----------  file   -----------------------
901
902#ifdef __cplusplus
903# error "The CMAKE_C_COMPILER is set to a C++ compiler"
904#endif
905
906#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
907#error "On AIX with GNU we need the -pthread flag."
908#endif
909
910#if defined(__sun) && __STDC_VERSION__ < 199901L
911#error "On Solaris we need C99."
912#endif
913
914#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
915#error "On HP-UX we need GCC 4.9 or higher."
916#endif
917
918#include <stdio.h>
919
920int main(int argc, char* argv[])
921{
922  printf("%d%c", (argv != 0), (char)0x0a);
923  return argc - 1;
924}
925
926------------------------------------------
927error: invalid argument '-std=gnu++0x' not allowed with 'C'
928Test failed to compile
929Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu++14 ' works.
930Try: /usr/bin/clang
931Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu++14  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
932----------  file   -----------------------
933
934#ifdef __cplusplus
935# error "The CMAKE_C_COMPILER is set to a C++ compiler"
936#endif
937
938#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
939#error "On AIX with GNU we need the -pthread flag."
940#endif
941
942#if defined(__sun) && __STDC_VERSION__ < 199901L
943#error "On Solaris we need C99."
944#endif
945
946#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
947#error "On HP-UX we need GCC 4.9 or higher."
948#endif
949
950#include <stdio.h>
951
952int main(int argc, char* argv[])
953{
954  printf("%d%c", (argv != 0), (char)0x0a);
955  return argc - 1;
956}
957
958------------------------------------------
959error: invalid argument '-std=gnu++14' not allowed with 'C'
960Test failed to compile
961Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation  ' works.
962Try: /usr/bin/clang
963Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation   cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
964----------  file   -----------------------
965
966#ifdef __cplusplus
967# error "The CMAKE_C_COMPILER is set to a C++ compiler"
968#endif
969
970#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
971#error "On AIX with GNU we need the -pthread flag."
972#endif
973
974#if defined(__sun) && __STDC_VERSION__ < 199901L
975#error "On Solaris we need C99."
976#endif
977
978#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
979#error "On HP-UX we need GCC 4.9 or higher."
980#endif
981
982#include <stdio.h>
983
984int main(int argc, char* argv[])
985{
986  printf("%d%c", (argv != 0), (char)0x0a);
987  return argc - 1;
988}
989
990------------------------------------------
991./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
992Test produced non-zero return code
993Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
994Try: /usr/bin/clang
995Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
996----------  file   -----------------------
997
998#ifdef __cplusplus
999# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1000#endif
1001
1002#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1003#error "On AIX with GNU we need the -pthread flag."
1004#endif
1005
1006#if defined(__sun) && __STDC_VERSION__ < 199901L
1007#error "On Solaris we need C99."
1008#endif
1009
1010#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1011#error "On HP-UX we need GCC 4.9 or higher."
1012#endif
1013
1014#include <stdio.h>
1015
1016int main(int argc, char* argv[])
1017{
1018  printf("%d%c", (argv != 0), (char)0x0a);
1019  return argc - 1;
1020}
1021
1022------------------------------------------
1023./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1024Test produced non-zero return code
1025Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1026Try: /usr/bin/clang
1027Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1028----------  file   -----------------------
1029
1030#ifdef __cplusplus
1031# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1032#endif
1033
1034#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1035#error "On AIX with GNU we need the -pthread flag."
1036#endif
1037
1038#if defined(__sun) && __STDC_VERSION__ < 199901L
1039#error "On Solaris we need C99."
1040#endif
1041
1042#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1043#error "On HP-UX we need GCC 4.9 or higher."
1044#endif
1045
1046#include <stdio.h>
1047
1048int main(int argc, char* argv[])
1049{
1050  printf("%d%c", (argv != 0), (char)0x0a);
1051  return argc - 1;
1052}
1053
1054------------------------------------------
1055./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1056Test produced non-zero return code
1057Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1058Try: /usr/bin/clang
1059Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1060----------  file   -----------------------
1061
1062#ifdef __cplusplus
1063# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1064#endif
1065
1066#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1067#error "On AIX with GNU we need the -pthread flag."
1068#endif
1069
1070#if defined(__sun) && __STDC_VERSION__ < 199901L
1071#error "On Solaris we need C99."
1072#endif
1073
1074#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1075#error "On HP-UX we need GCC 4.9 or higher."
1076#endif
1077
1078#include <stdio.h>
1079
1080int main(int argc, char* argv[])
1081{
1082  printf("%d%c", (argv != 0), (char)0x0a);
1083  return argc - 1;
1084}
1085
1086------------------------------------------
1087./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1088Test produced non-zero return code
1089Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -h ' works.
1090Try: /usr/bin/clang
1091Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -h  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1092----------  file   -----------------------
1093
1094#ifdef __cplusplus
1095# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1096#endif
1097
1098#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1099#error "On AIX with GNU we need the -pthread flag."
1100#endif
1101
1102#if defined(__sun) && __STDC_VERSION__ < 199901L
1103#error "On Solaris we need C99."
1104#endif
1105
1106#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1107#error "On HP-UX we need GCC 4.9 or higher."
1108#endif
1109
1110#include <stdio.h>
1111
1112int main(int argc, char* argv[])
1113{
1114  printf("%d%c", (argv != 0), (char)0x0a);
1115  return argc - 1;
1116}
1117
1118------------------------------------------
1119clang: error: unknown argument: '-h'
1120Test failed to compile
1121Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation c99,gnu ' works.
1122Try: /usr/bin/clang
1123Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation c99,gnu  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1124----------  file   -----------------------
1125
1126#ifdef __cplusplus
1127# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1128#endif
1129
1130#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1131#error "On AIX with GNU we need the -pthread flag."
1132#endif
1133
1134#if defined(__sun) && __STDC_VERSION__ < 199901L
1135#error "On Solaris we need C99."
1136#endif
1137
1138#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1139#error "On HP-UX we need GCC 4.9 or higher."
1140#endif
1141
1142#include <stdio.h>
1143
1144int main(int argc, char* argv[])
1145{
1146  printf("%d%c", (argv != 0), (char)0x0a);
1147  return argc - 1;
1148}
1149
1150------------------------------------------
1151clang: error: no such file or directory: 'c99,gnu'
1152Test failed to compile
1153Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1154Try: /usr/bin/clang
1155Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1156----------  file   -----------------------
1157
1158#ifdef __cplusplus
1159# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1160#endif
1161
1162#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1163#error "On AIX with GNU we need the -pthread flag."
1164#endif
1165
1166#if defined(__sun) && __STDC_VERSION__ < 199901L
1167#error "On Solaris we need C99."
1168#endif
1169
1170#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1171#error "On HP-UX we need GCC 4.9 or higher."
1172#endif
1173
1174#include <stdio.h>
1175
1176int main(int argc, char* argv[])
1177{
1178  printf("%d%c", (argv != 0), (char)0x0a);
1179  return argc - 1;
1180}
1181
1182------------------------------------------
1183./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1184Test produced non-zero return code
1185Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1186Try: /usr/bin/clang
1187Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1188----------  file   -----------------------
1189
1190#ifdef __cplusplus
1191# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1192#endif
1193
1194#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1195#error "On AIX with GNU we need the -pthread flag."
1196#endif
1197
1198#if defined(__sun) && __STDC_VERSION__ < 199901L
1199#error "On Solaris we need C99."
1200#endif
1201
1202#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1203#error "On HP-UX we need GCC 4.9 or higher."
1204#endif
1205
1206#include <stdio.h>
1207
1208int main(int argc, char* argv[])
1209{
1210  printf("%d%c", (argv != 0), (char)0x0a);
1211  return argc - 1;
1212}
1213
1214------------------------------------------
1215./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1216Test produced non-zero return code
1217Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1218Try: /usr/bin/clang
1219Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1220----------  file   -----------------------
1221
1222#ifdef __cplusplus
1223# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1224#endif
1225
1226#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1227#error "On AIX with GNU we need the -pthread flag."
1228#endif
1229
1230#if defined(__sun) && __STDC_VERSION__ < 199901L
1231#error "On Solaris we need C99."
1232#endif
1233
1234#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1235#error "On HP-UX we need GCC 4.9 or higher."
1236#endif
1237
1238#include <stdio.h>
1239
1240int main(int argc, char* argv[])
1241{
1242  printf("%d%c", (argv != 0), (char)0x0a);
1243  return argc - 1;
1244}
1245
1246------------------------------------------
1247./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1248Test produced non-zero return code
1249Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1250Try: /usr/bin/clang
1251Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1252----------  file   -----------------------
1253
1254#ifdef __cplusplus
1255# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1256#endif
1257
1258#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1259#error "On AIX with GNU we need the -pthread flag."
1260#endif
1261
1262#if defined(__sun) && __STDC_VERSION__ < 199901L
1263#error "On Solaris we need C99."
1264#endif
1265
1266#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1267#error "On HP-UX we need GCC 4.9 or higher."
1268#endif
1269
1270#include <stdio.h>
1271
1272int main(int argc, char* argv[])
1273{
1274  printf("%d%c", (argv != 0), (char)0x0a);
1275  return argc - 1;
1276}
1277
1278------------------------------------------
1279./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1280Test produced non-zero return code
1281Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -Qstd=c99 ' works.
1282Try: /usr/bin/clang
1283Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -Qstd=c99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1284----------  file   -----------------------
1285
1286#ifdef __cplusplus
1287# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1288#endif
1289
1290#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1291#error "On AIX with GNU we need the -pthread flag."
1292#endif
1293
1294#if defined(__sun) && __STDC_VERSION__ < 199901L
1295#error "On Solaris we need C99."
1296#endif
1297
1298#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1299#error "On HP-UX we need GCC 4.9 or higher."
1300#endif
1301
1302#include <stdio.h>
1303
1304int main(int argc, char* argv[])
1305{
1306  printf("%d%c", (argv != 0), (char)0x0a);
1307  return argc - 1;
1308}
1309
1310------------------------------------------
1311clang: error: unknown argument '-Qstd=c99'; did you mean '-std=c99'?
1312Test failed to compile
1313Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1314Try: /usr/bin/clang
1315Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1316----------  file   -----------------------
1317
1318#ifdef __cplusplus
1319# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1320#endif
1321
1322#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1323#error "On AIX with GNU we need the -pthread flag."
1324#endif
1325
1326#if defined(__sun) && __STDC_VERSION__ < 199901L
1327#error "On Solaris we need C99."
1328#endif
1329
1330#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1331#error "On HP-UX we need GCC 4.9 or higher."
1332#endif
1333
1334#include <stdio.h>
1335
1336int main(int argc, char* argv[])
1337{
1338  printf("%d%c", (argv != 0), (char)0x0a);
1339  return argc - 1;
1340}
1341
1342------------------------------------------
1343./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1344Test produced non-zero return code
1345Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1346Try: /usr/bin/clang
1347Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1348----------  file   -----------------------
1349
1350#ifdef __cplusplus
1351# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1352#endif
1353
1354#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1355#error "On AIX with GNU we need the -pthread flag."
1356#endif
1357
1358#if defined(__sun) && __STDC_VERSION__ < 199901L
1359#error "On Solaris we need C99."
1360#endif
1361
1362#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1363#error "On HP-UX we need GCC 4.9 or higher."
1364#endif
1365
1366#include <stdio.h>
1367
1368int main(int argc, char* argv[])
1369{
1370  printf("%d%c", (argv != 0), (char)0x0a);
1371  return argc - 1;
1372}
1373
1374------------------------------------------
1375./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1376Test produced non-zero return code
1377Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1378Try: /usr/bin/clang
1379Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1380----------  file   -----------------------
1381
1382#ifdef __cplusplus
1383# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1384#endif
1385
1386#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1387#error "On AIX with GNU we need the -pthread flag."
1388#endif
1389
1390#if defined(__sun) && __STDC_VERSION__ < 199901L
1391#error "On Solaris we need C99."
1392#endif
1393
1394#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1395#error "On HP-UX we need GCC 4.9 or higher."
1396#endif
1397
1398#include <stdio.h>
1399
1400int main(int argc, char* argv[])
1401{
1402  printf("%d%c", (argv != 0), (char)0x0a);
1403  return argc - 1;
1404}
1405
1406------------------------------------------
1407./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1408Test produced non-zero return code
1409Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c99 ' works.
1410Try: /usr/bin/clang
1411Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1412----------  file   -----------------------
1413
1414#ifdef __cplusplus
1415# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1416#endif
1417
1418#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1419#error "On AIX with GNU we need the -pthread flag."
1420#endif
1421
1422#if defined(__sun) && __STDC_VERSION__ < 199901L
1423#error "On Solaris we need C99."
1424#endif
1425
1426#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1427#error "On HP-UX we need GCC 4.9 or higher."
1428#endif
1429
1430#include <stdio.h>
1431
1432int main(int argc, char* argv[])
1433{
1434  printf("%d%c", (argv != 0), (char)0x0a);
1435  return argc - 1;
1436}
1437
1438------------------------------------------
1439./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1440Test produced non-zero return code
1441Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -c99 ' works.
1442Try: /usr/bin/clang
1443Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -c99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1444----------  file   -----------------------
1445
1446#ifdef __cplusplus
1447# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1448#endif
1449
1450#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1451#error "On AIX with GNU we need the -pthread flag."
1452#endif
1453
1454#if defined(__sun) && __STDC_VERSION__ < 199901L
1455#error "On Solaris we need C99."
1456#endif
1457
1458#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1459#error "On HP-UX we need GCC 4.9 or higher."
1460#endif
1461
1462#include <stdio.h>
1463
1464int main(int argc, char* argv[])
1465{
1466  printf("%d%c", (argv != 0), (char)0x0a);
1467  return argc - 1;
1468}
1469
1470------------------------------------------
1471clang: error: unknown argument: '-c99'
1472Test failed to compile
1473Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c99 ' works.
1474Try: /usr/bin/clang
1475Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1476----------  file   -----------------------
1477
1478#ifdef __cplusplus
1479# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1480#endif
1481
1482#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1483#error "On AIX with GNU we need the -pthread flag."
1484#endif
1485
1486#if defined(__sun) && __STDC_VERSION__ < 199901L
1487#error "On Solaris we need C99."
1488#endif
1489
1490#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1491#error "On HP-UX we need GCC 4.9 or higher."
1492#endif
1493
1494#include <stdio.h>
1495
1496int main(int argc, char* argv[])
1497{
1498  printf("%d%c", (argv != 0), (char)0x0a);
1499  return argc - 1;
1500}
1501
1502------------------------------------------
1503./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1504Test produced non-zero return code
1505Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -xc99 ' works.
1506Try: /usr/bin/clang
1507Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -xc99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1508----------  file   -----------------------
1509
1510#ifdef __cplusplus
1511# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1512#endif
1513
1514#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1515#error "On AIX with GNU we need the -pthread flag."
1516#endif
1517
1518#if defined(__sun) && __STDC_VERSION__ < 199901L
1519#error "On Solaris we need C99."
1520#endif
1521
1522#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1523#error "On HP-UX we need GCC 4.9 or higher."
1524#endif
1525
1526#include <stdio.h>
1527
1528int main(int argc, char* argv[])
1529{
1530  printf("%d%c", (argv != 0), (char)0x0a);
1531  return argc - 1;
1532}
1533
1534------------------------------------------
1535clang: error: language not recognized: 'c99'
1536Test failed to compile
1537Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --c99 ' works.
1538Try: /usr/bin/clang
1539Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --c99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1540----------  file   -----------------------
1541
1542#ifdef __cplusplus
1543# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1544#endif
1545
1546#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1547#error "On AIX with GNU we need the -pthread flag."
1548#endif
1549
1550#if defined(__sun) && __STDC_VERSION__ < 199901L
1551#error "On Solaris we need C99."
1552#endif
1553
1554#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1555#error "On HP-UX we need GCC 4.9 or higher."
1556#endif
1557
1558#include <stdio.h>
1559
1560int main(int argc, char* argv[])
1561{
1562  printf("%d%c", (argv != 0), (char)0x0a);
1563  return argc - 1;
1564}
1565
1566------------------------------------------
1567clang: error: unsupported option '--c99'
1568Test failed to compile
1569Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1570Try: /usr/bin/clang
1571Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1572----------  file   -----------------------
1573
1574#ifdef __cplusplus
1575# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1576#endif
1577
1578#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1579#error "On AIX with GNU we need the -pthread flag."
1580#endif
1581
1582#if defined(__sun) && __STDC_VERSION__ < 199901L
1583#error "On Solaris we need C99."
1584#endif
1585
1586#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1587#error "On HP-UX we need GCC 4.9 or higher."
1588#endif
1589
1590#include <stdio.h>
1591
1592int main(int argc, char* argv[])
1593{
1594  printf("%d%c", (argv != 0), (char)0x0a);
1595  return argc - 1;
1596}
1597
1598------------------------------------------
1599./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1600Test produced non-zero return code
1601Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --iso=99 ' works.
1602Try: /usr/bin/clang
1603Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --iso=99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1604----------  file   -----------------------
1605
1606#ifdef __cplusplus
1607# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1608#endif
1609
1610#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1611#error "On AIX with GNU we need the -pthread flag."
1612#endif
1613
1614#if defined(__sun) && __STDC_VERSION__ < 199901L
1615#error "On Solaris we need C99."
1616#endif
1617
1618#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1619#error "On HP-UX we need GCC 4.9 or higher."
1620#endif
1621
1622#include <stdio.h>
1623
1624int main(int argc, char* argv[])
1625{
1626  printf("%d%c", (argv != 0), (char)0x0a);
1627  return argc - 1;
1628}
1629
1630------------------------------------------
1631clang: error: unsupported option '--iso=99'
1632Test failed to compile
1633Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -qlanglvl=extc99 ' works.
1634Try: /usr/bin/clang
1635Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -qlanglvl=extc99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1636----------  file   -----------------------
1637
1638#ifdef __cplusplus
1639# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1640#endif
1641
1642#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1643#error "On AIX with GNU we need the -pthread flag."
1644#endif
1645
1646#if defined(__sun) && __STDC_VERSION__ < 199901L
1647#error "On Solaris we need C99."
1648#endif
1649
1650#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1651#error "On HP-UX we need GCC 4.9 or higher."
1652#endif
1653
1654#include <stdio.h>
1655
1656int main(int argc, char* argv[])
1657{
1658  printf("%d%c", (argv != 0), (char)0x0a);
1659  return argc - 1;
1660}
1661
1662------------------------------------------
1663clang: error: unknown argument: '-qlanglvl=extc99'
1664Test failed to compile
1665Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99 ' works.
1666Try: /usr/bin/clang
1667Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1668----------  file   -----------------------
1669
1670#ifdef __cplusplus
1671# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1672#endif
1673
1674#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1675#error "On AIX with GNU we need the -pthread flag."
1676#endif
1677
1678#if defined(__sun) && __STDC_VERSION__ < 199901L
1679#error "On Solaris we need C99."
1680#endif
1681
1682#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1683#error "On HP-UX we need GCC 4.9 or higher."
1684#endif
1685
1686#include <stdio.h>
1687
1688int main(int argc, char* argv[])
1689{
1690  printf("%d%c", (argv != 0), (char)0x0a);
1691  return argc - 1;
1692}
1693
1694------------------------------------------
1695./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1696Test produced non-zero return code
1697Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation  ' works.
1698Try: /usr/bin/clang
1699Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation   cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1700----------  file   -----------------------
1701
1702#ifdef __cplusplus
1703# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1704#endif
1705
1706#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1707#error "On AIX with GNU we need the -pthread flag."
1708#endif
1709
1710#if defined(__sun) && __STDC_VERSION__ < 199901L
1711#error "On Solaris we need C99."
1712#endif
1713
1714#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1715#error "On HP-UX we need GCC 4.9 or higher."
1716#endif
1717
1718#include <stdio.h>
1719
1720int main(int argc, char* argv[])
1721{
1722  printf("%d%c", (argv != 0), (char)0x0a);
1723  return argc - 1;
1724}
1725
1726------------------------------------------
1727./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1728Test produced non-zero return code
1729Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90 ' works.
1730Try: /usr/bin/clang
1731Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1732----------  file   -----------------------
1733
1734#ifdef __cplusplus
1735# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1736#endif
1737
1738#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1739#error "On AIX with GNU we need the -pthread flag."
1740#endif
1741
1742#if defined(__sun) && __STDC_VERSION__ < 199901L
1743#error "On Solaris we need C99."
1744#endif
1745
1746#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1747#error "On HP-UX we need GCC 4.9 or higher."
1748#endif
1749
1750#include <stdio.h>
1751
1752int main(int argc, char* argv[])
1753{
1754  printf("%d%c", (argv != 0), (char)0x0a);
1755  return argc - 1;
1756}
1757
1758------------------------------------------
1759./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1760Test produced non-zero return code
1761Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90 ' works.
1762Try: /usr/bin/clang
1763Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1764----------  file   -----------------------
1765
1766#ifdef __cplusplus
1767# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1768#endif
1769
1770#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1771#error "On AIX with GNU we need the -pthread flag."
1772#endif
1773
1774#if defined(__sun) && __STDC_VERSION__ < 199901L
1775#error "On Solaris we need C99."
1776#endif
1777
1778#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1779#error "On HP-UX we need GCC 4.9 or higher."
1780#endif
1781
1782#include <stdio.h>
1783
1784int main(int argc, char* argv[])
1785{
1786  printf("%d%c", (argv != 0), (char)0x0a);
1787  return argc - 1;
1788}
1789
1790------------------------------------------
1791./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1792Test produced non-zero return code
1793Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90 ' works.
1794Try: /usr/bin/clang
1795Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1796----------  file   -----------------------
1797
1798#ifdef __cplusplus
1799# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1800#endif
1801
1802#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1803#error "On AIX with GNU we need the -pthread flag."
1804#endif
1805
1806#if defined(__sun) && __STDC_VERSION__ < 199901L
1807#error "On Solaris we need C99."
1808#endif
1809
1810#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1811#error "On HP-UX we need GCC 4.9 or higher."
1812#endif
1813
1814#include <stdio.h>
1815
1816int main(int argc, char* argv[])
1817{
1818  printf("%d%c", (argv != 0), (char)0x0a);
1819  return argc - 1;
1820}
1821
1822------------------------------------------
1823./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1824Test produced non-zero return code
1825Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -h ' works.
1826Try: /usr/bin/clang
1827Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -h  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1828----------  file   -----------------------
1829
1830#ifdef __cplusplus
1831# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1832#endif
1833
1834#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1835#error "On AIX with GNU we need the -pthread flag."
1836#endif
1837
1838#if defined(__sun) && __STDC_VERSION__ < 199901L
1839#error "On Solaris we need C99."
1840#endif
1841
1842#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1843#error "On HP-UX we need GCC 4.9 or higher."
1844#endif
1845
1846#include <stdio.h>
1847
1848int main(int argc, char* argv[])
1849{
1850  printf("%d%c", (argv != 0), (char)0x0a);
1851  return argc - 1;
1852}
1853
1854------------------------------------------
1855clang: error: unknown argument: '-h'
1856Test failed to compile
1857Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation noc99,gnu ' works.
1858Try: /usr/bin/clang
1859Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation noc99,gnu  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1860----------  file   -----------------------
1861
1862#ifdef __cplusplus
1863# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1864#endif
1865
1866#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1867#error "On AIX with GNU we need the -pthread flag."
1868#endif
1869
1870#if defined(__sun) && __STDC_VERSION__ < 199901L
1871#error "On Solaris we need C99."
1872#endif
1873
1874#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1875#error "On HP-UX we need GCC 4.9 or higher."
1876#endif
1877
1878#include <stdio.h>
1879
1880int main(int argc, char* argv[])
1881{
1882  printf("%d%c", (argv != 0), (char)0x0a);
1883  return argc - 1;
1884}
1885
1886------------------------------------------
1887clang: error: no such file or directory: 'noc99,gnu'
1888Test failed to compile
1889Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90 ' works.
1890Try: /usr/bin/clang
1891Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1892----------  file   -----------------------
1893
1894#ifdef __cplusplus
1895# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1896#endif
1897
1898#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1899#error "On AIX with GNU we need the -pthread flag."
1900#endif
1901
1902#if defined(__sun) && __STDC_VERSION__ < 199901L
1903#error "On Solaris we need C99."
1904#endif
1905
1906#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1907#error "On HP-UX we need GCC 4.9 or higher."
1908#endif
1909
1910#include <stdio.h>
1911
1912int main(int argc, char* argv[])
1913{
1914  printf("%d%c", (argv != 0), (char)0x0a);
1915  return argc - 1;
1916}
1917
1918------------------------------------------
1919./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1920Test produced non-zero return code
1921Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu89 ' works.
1922Try: /usr/bin/clang
1923Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1924----------  file   -----------------------
1925
1926#ifdef __cplusplus
1927# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1928#endif
1929
1930#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1931#error "On AIX with GNU we need the -pthread flag."
1932#endif
1933
1934#if defined(__sun) && __STDC_VERSION__ < 199901L
1935#error "On Solaris we need C99."
1936#endif
1937
1938#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1939#error "On HP-UX we need GCC 4.9 or higher."
1940#endif
1941
1942#include <stdio.h>
1943
1944int main(int argc, char* argv[])
1945{
1946  printf("%d%c", (argv != 0), (char)0x0a);
1947  return argc - 1;
1948}
1949
1950------------------------------------------
1951./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1952Test produced non-zero return code
1953Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90 ' works.
1954Try: /usr/bin/clang
1955Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1956----------  file   -----------------------
1957
1958#ifdef __cplusplus
1959# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1960#endif
1961
1962#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1963#error "On AIX with GNU we need the -pthread flag."
1964#endif
1965
1966#if defined(__sun) && __STDC_VERSION__ < 199901L
1967#error "On Solaris we need C99."
1968#endif
1969
1970#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1971#error "On HP-UX we need GCC 4.9 or higher."
1972#endif
1973
1974#include <stdio.h>
1975
1976int main(int argc, char* argv[])
1977{
1978  printf("%d%c", (argv != 0), (char)0x0a);
1979  return argc - 1;
1980}
1981
1982------------------------------------------
1983./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
1984Test produced non-zero return code
1985Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu89 ' works.
1986Try: /usr/bin/clang
1987Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
1988----------  file   -----------------------
1989
1990#ifdef __cplusplus
1991# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1992#endif
1993
1994#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1995#error "On AIX with GNU we need the -pthread flag."
1996#endif
1997
1998#if defined(__sun) && __STDC_VERSION__ < 199901L
1999#error "On Solaris we need C99."
2000#endif
2001
2002#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2003#error "On HP-UX we need GCC 4.9 or higher."
2004#endif
2005
2006#include <stdio.h>
2007
2008int main(int argc, char* argv[])
2009{
2010  printf("%d%c", (argv != 0), (char)0x0a);
2011  return argc - 1;
2012}
2013
2014------------------------------------------
2015./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
2016Test produced non-zero return code
2017Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --c89 ' works.
2018Try: /usr/bin/clang
2019Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --c89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2020----------  file   -----------------------
2021
2022#ifdef __cplusplus
2023# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2024#endif
2025
2026#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2027#error "On AIX with GNU we need the -pthread flag."
2028#endif
2029
2030#if defined(__sun) && __STDC_VERSION__ < 199901L
2031#error "On Solaris we need C99."
2032#endif
2033
2034#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2035#error "On HP-UX we need GCC 4.9 or higher."
2036#endif
2037
2038#include <stdio.h>
2039
2040int main(int argc, char* argv[])
2041{
2042  printf("%d%c", (argv != 0), (char)0x0a);
2043  return argc - 1;
2044}
2045
2046------------------------------------------
2047clang: error: unsupported option '--c89'
2048Test failed to compile
2049Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -e ' works.
2050Try: /usr/bin/clang
2051Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -e  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2052----------  file   -----------------------
2053
2054#ifdef __cplusplus
2055# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2056#endif
2057
2058#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2059#error "On AIX with GNU we need the -pthread flag."
2060#endif
2061
2062#if defined(__sun) && __STDC_VERSION__ < 199901L
2063#error "On Solaris we need C99."
2064#endif
2065
2066#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2067#error "On HP-UX we need GCC 4.9 or higher."
2068#endif
2069
2070#include <stdio.h>
2071
2072int main(int argc, char* argv[])
2073{
2074  printf("%d%c", (argv != 0), (char)0x0a);
2075  return argc - 1;
2076}
2077
2078------------------------------------------
2079Undefined symbols for architecture x86_64:
2080  "cmake_bootstrap_34363_test.c", referenced from:
2081     implicit entry/start for main executable
2082ld: symbol(s) not found for architecture x86_64
2083clang: error: linker command failed with exit code 1 (use -v to see invocation)
2084Test failed to compile
2085Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -e ' works.
2086Try: /usr/bin/clang
2087Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -e  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2088----------  file   -----------------------
2089
2090#ifdef __cplusplus
2091# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2092#endif
2093
2094#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2095#error "On AIX with GNU we need the -pthread flag."
2096#endif
2097
2098#if defined(__sun) && __STDC_VERSION__ < 199901L
2099#error "On Solaris we need C99."
2100#endif
2101
2102#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2103#error "On HP-UX we need GCC 4.9 or higher."
2104#endif
2105
2106#include <stdio.h>
2107
2108int main(int argc, char* argv[])
2109{
2110  printf("%d%c", (argv != 0), (char)0x0a);
2111  return argc - 1;
2112}
2113
2114------------------------------------------
2115Undefined symbols for architecture x86_64:
2116  "cmake_bootstrap_34363_test.c", referenced from:
2117     implicit entry/start for main executable
2118ld: symbol(s) not found for architecture x86_64
2119clang: error: linker command failed with exit code 1 (use -v to see invocation)
2120Test failed to compile
2121Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90 ' works.
2122Try: /usr/bin/clang
2123Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2124----------  file   -----------------------
2125
2126#ifdef __cplusplus
2127# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2128#endif
2129
2130#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2131#error "On AIX with GNU we need the -pthread flag."
2132#endif
2133
2134#if defined(__sun) && __STDC_VERSION__ < 199901L
2135#error "On Solaris we need C99."
2136#endif
2137
2138#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2139#error "On HP-UX we need GCC 4.9 or higher."
2140#endif
2141
2142#include <stdio.h>
2143
2144int main(int argc, char* argv[])
2145{
2146  printf("%d%c", (argv != 0), (char)0x0a);
2147  return argc - 1;
2148}
2149
2150------------------------------------------
2151./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
2152Test produced non-zero return code
2153Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -Qstd=c89 ' works.
2154Try: /usr/bin/clang
2155Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -Qstd=c89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2156----------  file   -----------------------
2157
2158#ifdef __cplusplus
2159# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2160#endif
2161
2162#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2163#error "On AIX with GNU we need the -pthread flag."
2164#endif
2165
2166#if defined(__sun) && __STDC_VERSION__ < 199901L
2167#error "On Solaris we need C99."
2168#endif
2169
2170#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2171#error "On HP-UX we need GCC 4.9 or higher."
2172#endif
2173
2174#include <stdio.h>
2175
2176int main(int argc, char* argv[])
2177{
2178  printf("%d%c", (argv != 0), (char)0x0a);
2179  return argc - 1;
2180}
2181
2182------------------------------------------
2183clang: error: unknown argument '-Qstd=c89'; did you mean '-std=c89'?
2184Test failed to compile
2185Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu89 ' works.
2186Try: /usr/bin/clang
2187Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2188----------  file   -----------------------
2189
2190#ifdef __cplusplus
2191# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2192#endif
2193
2194#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2195#error "On AIX with GNU we need the -pthread flag."
2196#endif
2197
2198#if defined(__sun) && __STDC_VERSION__ < 199901L
2199#error "On Solaris we need C99."
2200#endif
2201
2202#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2203#error "On HP-UX we need GCC 4.9 or higher."
2204#endif
2205
2206#include <stdio.h>
2207
2208int main(int argc, char* argv[])
2209{
2210  printf("%d%c", (argv != 0), (char)0x0a);
2211  return argc - 1;
2212}
2213
2214------------------------------------------
2215./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
2216Test produced non-zero return code
2217Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90 ' works.
2218Try: /usr/bin/clang
2219Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2220----------  file   -----------------------
2221
2222#ifdef __cplusplus
2223# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2224#endif
2225
2226#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2227#error "On AIX with GNU we need the -pthread flag."
2228#endif
2229
2230#if defined(__sun) && __STDC_VERSION__ < 199901L
2231#error "On Solaris we need C99."
2232#endif
2233
2234#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2235#error "On HP-UX we need GCC 4.9 or higher."
2236#endif
2237
2238#include <stdio.h>
2239
2240int main(int argc, char* argv[])
2241{
2242  printf("%d%c", (argv != 0), (char)0x0a);
2243  return argc - 1;
2244}
2245
2246------------------------------------------
2247./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
2248Test produced non-zero return code
2249Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90 ' works.
2250Try: /usr/bin/clang
2251Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2252----------  file   -----------------------
2253
2254#ifdef __cplusplus
2255# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2256#endif
2257
2258#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2259#error "On AIX with GNU we need the -pthread flag."
2260#endif
2261
2262#if defined(__sun) && __STDC_VERSION__ < 199901L
2263#error "On Solaris we need C99."
2264#endif
2265
2266#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2267#error "On HP-UX we need GCC 4.9 or higher."
2268#endif
2269
2270#include <stdio.h>
2271
2272int main(int argc, char* argv[])
2273{
2274  printf("%d%c", (argv != 0), (char)0x0a);
2275  return argc - 1;
2276}
2277
2278------------------------------------------
2279./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
2280Test produced non-zero return code
2281Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c89 ' works.
2282Try: /usr/bin/clang
2283Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2284----------  file   -----------------------
2285
2286#ifdef __cplusplus
2287# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2288#endif
2289
2290#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2291#error "On AIX with GNU we need the -pthread flag."
2292#endif
2293
2294#if defined(__sun) && __STDC_VERSION__ < 199901L
2295#error "On Solaris we need C99."
2296#endif
2297
2298#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2299#error "On HP-UX we need GCC 4.9 or higher."
2300#endif
2301
2302#include <stdio.h>
2303
2304int main(int argc, char* argv[])
2305{
2306  printf("%d%c", (argv != 0), (char)0x0a);
2307  return argc - 1;
2308}
2309
2310------------------------------------------
2311./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
2312Test produced non-zero return code
2313Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -c89 ' works.
2314Try: /usr/bin/clang
2315Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -c89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2316----------  file   -----------------------
2317
2318#ifdef __cplusplus
2319# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2320#endif
2321
2322#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2323#error "On AIX with GNU we need the -pthread flag."
2324#endif
2325
2326#if defined(__sun) && __STDC_VERSION__ < 199901L
2327#error "On Solaris we need C99."
2328#endif
2329
2330#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2331#error "On HP-UX we need GCC 4.9 or higher."
2332#endif
2333
2334#include <stdio.h>
2335
2336int main(int argc, char* argv[])
2337{
2338  printf("%d%c", (argv != 0), (char)0x0a);
2339  return argc - 1;
2340}
2341
2342------------------------------------------
2343clang: error: unknown argument: '-c89'
2344Test failed to compile
2345Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c89 ' works.
2346Try: /usr/bin/clang
2347Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=c89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2348----------  file   -----------------------
2349
2350#ifdef __cplusplus
2351# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2352#endif
2353
2354#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2355#error "On AIX with GNU we need the -pthread flag."
2356#endif
2357
2358#if defined(__sun) && __STDC_VERSION__ < 199901L
2359#error "On Solaris we need C99."
2360#endif
2361
2362#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2363#error "On HP-UX we need GCC 4.9 or higher."
2364#endif
2365
2366#include <stdio.h>
2367
2368int main(int argc, char* argv[])
2369{
2370  printf("%d%c", (argv != 0), (char)0x0a);
2371  return argc - 1;
2372}
2373
2374------------------------------------------
2375./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
2376Test produced non-zero return code
2377Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --c89 ' works.
2378Try: /usr/bin/clang
2379Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --c89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2380----------  file   -----------------------
2381
2382#ifdef __cplusplus
2383# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2384#endif
2385
2386#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2387#error "On AIX with GNU we need the -pthread flag."
2388#endif
2389
2390#if defined(__sun) && __STDC_VERSION__ < 199901L
2391#error "On Solaris we need C99."
2392#endif
2393
2394#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2395#error "On HP-UX we need GCC 4.9 or higher."
2396#endif
2397
2398#include <stdio.h>
2399
2400int main(int argc, char* argv[])
2401{
2402  printf("%d%c", (argv != 0), (char)0x0a);
2403  return argc - 1;
2404}
2405
2406------------------------------------------
2407clang: error: unsupported option '--c89'
2408Test failed to compile
2409Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --relaxed_ansi ' works.
2410Try: /usr/bin/clang
2411Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --relaxed_ansi  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2412----------  file   -----------------------
2413
2414#ifdef __cplusplus
2415# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2416#endif
2417
2418#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2419#error "On AIX with GNU we need the -pthread flag."
2420#endif
2421
2422#if defined(__sun) && __STDC_VERSION__ < 199901L
2423#error "On Solaris we need C99."
2424#endif
2425
2426#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2427#error "On HP-UX we need GCC 4.9 or higher."
2428#endif
2429
2430#include <stdio.h>
2431
2432int main(int argc, char* argv[])
2433{
2434  printf("%d%c", (argv != 0), (char)0x0a);
2435  return argc - 1;
2436}
2437
2438------------------------------------------
2439clang: error: unsupported option '--relaxed_ansi'
2440Test failed to compile
2441Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90 ' works.
2442Try: /usr/bin/clang
2443Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2444----------  file   -----------------------
2445
2446#ifdef __cplusplus
2447# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2448#endif
2449
2450#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2451#error "On AIX with GNU we need the -pthread flag."
2452#endif
2453
2454#if defined(__sun) && __STDC_VERSION__ < 199901L
2455#error "On Solaris we need C99."
2456#endif
2457
2458#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2459#error "On HP-UX we need GCC 4.9 or higher."
2460#endif
2461
2462#include <stdio.h>
2463
2464int main(int argc, char* argv[])
2465{
2466  printf("%d%c", (argv != 0), (char)0x0a);
2467  return argc - 1;
2468}
2469
2470------------------------------------------
2471./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
2472Test produced non-zero return code
2473Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --iso=90 ' works.
2474Try: /usr/bin/clang
2475Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation --iso=90  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2476----------  file   -----------------------
2477
2478#ifdef __cplusplus
2479# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2480#endif
2481
2482#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2483#error "On AIX with GNU we need the -pthread flag."
2484#endif
2485
2486#if defined(__sun) && __STDC_VERSION__ < 199901L
2487#error "On Solaris we need C99."
2488#endif
2489
2490#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2491#error "On HP-UX we need GCC 4.9 or higher."
2492#endif
2493
2494#include <stdio.h>
2495
2496int main(int argc, char* argv[])
2497{
2498  printf("%d%c", (argv != 0), (char)0x0a);
2499  return argc - 1;
2500}
2501
2502------------------------------------------
2503clang: error: unsupported option '--iso=90'
2504Test failed to compile
2505Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -qlanglvl=extc89 ' works.
2506Try: /usr/bin/clang
2507Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -qlanglvl=extc89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2508----------  file   -----------------------
2509
2510#ifdef __cplusplus
2511# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2512#endif
2513
2514#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2515#error "On AIX with GNU we need the -pthread flag."
2516#endif
2517
2518#if defined(__sun) && __STDC_VERSION__ < 199901L
2519#error "On Solaris we need C99."
2520#endif
2521
2522#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2523#error "On HP-UX we need GCC 4.9 or higher."
2524#endif
2525
2526#include <stdio.h>
2527
2528int main(int argc, char* argv[])
2529{
2530  printf("%d%c", (argv != 0), (char)0x0a);
2531  return argc - 1;
2532}
2533
2534------------------------------------------
2535clang: error: unknown argument: '-qlanglvl=extc89'
2536Test failed to compile
2537Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu89 ' works.
2538Try: /usr/bin/clang
2539Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX12.sdk -framework CoreFoundation -std=gnu89  cmake_bootstrap_34363_test.c -o cmake_bootstrap_34363_test
2540----------  file   -----------------------
2541
2542#ifdef __cplusplus
2543# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2544#endif
2545
2546#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2547#error "On AIX with GNU we need the -pthread flag."
2548#endif
2549
2550#if defined(__sun) && __STDC_VERSION__ < 199901L
2551#error "On Solaris we need C99."
2552#endif
2553
2554#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2555#error "On HP-UX we need GCC 4.9 or higher."
2556#endif
2557
2558#include <stdio.h>
2559
2560int main(int argc, char* argv[])
2561{
2562  printf("%d%c", (argv != 0), (char)0x0a);
2563  return argc - 1;
2564}
2565
2566------------------------------------------
2567./bootstrap: line 914: ./cmake_bootstrap_34363_test: Bad CPU type in executable
2568Test produced non-zero return code