Ticket #66427: cmake_bootstrap.log

File cmake_bootstrap.log, 93.2 KB (added by jmgurney (John-Mark Gurney), 17 months ago)

cmake configure failure log, showing failure to run x86_64 binary

Line 
1Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation  ' works.
2Try: /usr/bin/clang
3Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation   cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
34Try: /usr/bin/clang
35Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
66Try: /usr/bin/clang
67Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
98Try: /usr/bin/clang
99Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu1x ' works.
130Try: /usr/bin/clang
131Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu1x  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation /std:c11 ' works.
162Try: /usr/bin/clang
163Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation /std:c11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -h ' works.
194Try: /usr/bin/clang
195Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -h  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation std=c11,gnu  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
258Try: /usr/bin/clang
259Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
290Try: /usr/bin/clang
291Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu1x ' works.
322Try: /usr/bin/clang
323Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu1x  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
354Try: /usr/bin/clang
355Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -Qstd=c11 ' works.
386Try: /usr/bin/clang
387Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -Qstd=c11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
415clang: error: unknown argument '-Qstd=c11'; did you mean '-std=c11'?
416Test failed to compile
417Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
418Try: /usr/bin/clang
419Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
447./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
448Test produced non-zero return code
449Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
450Try: /usr/bin/clang
451Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
482Try: /usr/bin/clang
483Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std:c11 ' works.
514Try: /usr/bin/clang
515Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std:c11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
543clang: error: unknown argument: '-std:c11'
544Test failed to compile
545Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -c11 ' works.
546Try: /usr/bin/clang
547Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -c11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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: '-c11'
576Test failed to compile
577Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=c11 ' works.
578Try: /usr/bin/clang
579Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=c11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --c11 ' works.
610Try: /usr/bin/clang
611Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --c11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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: unsupported option '--c11'
640Test failed to compile
641Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -qlanglvl=extc1x ' works.
642Try: /usr/bin/clang
643Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -qlanglvl=extc1x  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
671clang: error: unknown argument: '-qlanglvl=extc1x'
672Test failed to compile
673Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -qlanglvl=extc1x ' works.
674Try: /usr/bin/clang
675Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -qlanglvl=extc1x  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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: unknown argument: '-qlanglvl=extc1x'
704Test failed to compile
705Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11 ' works.
706Try: /usr/bin/clang
707Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu++11 ' works.
738Try: /usr/bin/clang
739Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu++11  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
767error: invalid argument '-std=gnu++11' not allowed with 'C'
768Test failed to compile
769Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu++0x ' works.
770Try: /usr/bin/clang
771Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu++0x  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
799error: invalid argument '-std=gnu++0x' not allowed with 'C'
800Test failed to compile
801Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu++14 ' works.
802Try: /usr/bin/clang
803Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu++14  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
831error: invalid argument '-std=gnu++14' not allowed with 'C'
832Test failed to compile
833Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation  ' works.
834Try: /usr/bin/clang
835Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation   cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
866Try: /usr/bin/clang
867Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
895./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
896Test produced non-zero return code
897Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
898Try: /usr/bin/clang
899Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
927./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
928Test produced non-zero return code
929Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
930Try: /usr/bin/clang
931Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
959./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
960Test produced non-zero return code
961Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -h ' works.
962Try: /usr/bin/clang
963Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -h  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
991clang: error: unknown argument: '-h'
992Test failed to compile
993Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation c99,gnu ' works.
994Try: /usr/bin/clang
995Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation c99,gnu  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1023clang: error: no such file or directory: 'c99,gnu'
1024Test failed to compile
1025Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
1026Try: /usr/bin/clang
1027Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
1058Try: /usr/bin/clang
1059Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
1090Try: /usr/bin/clang
1091Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1119./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1120Test produced non-zero return code
1121Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -Qstd=c99 ' works.
1122Try: /usr/bin/clang
1123Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -Qstd=c99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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: unknown argument '-Qstd=c99'; did you mean '-std=c99'?
1152Test failed to compile
1153Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
1154Try: /usr/bin/clang
1155Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
1186Try: /usr/bin/clang
1187Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
1218Try: /usr/bin/clang
1219Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -c99 ' works.
1250Try: /usr/bin/clang
1251Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -c99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1279clang: error: unknown argument: '-c99'
1280Test failed to compile
1281Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=c99 ' works.
1282Try: /usr/bin/clang
1283Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=c99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1311./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1312Test produced non-zero return code
1313Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -xc99 ' works.
1314Try: /usr/bin/clang
1315Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -xc99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1343clang: error: language not recognized: 'c99'
1344Test failed to compile
1345Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --c99 ' works.
1346Try: /usr/bin/clang
1347Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --c99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1375clang: error: unsupported option '--c99'
1376Test failed to compile
1377Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -qlanglvl=extc99 ' works.
1378Try: /usr/bin/clang
1379Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -qlanglvl=extc99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1407clang: error: unknown argument: '-qlanglvl=extc99'
1408Test failed to compile
1409Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99 ' works.
1410Try: /usr/bin/clang
1411Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu99  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation  ' works.
1442Try: /usr/bin/clang
1443Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation   cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1471./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1472Test produced non-zero return code
1473Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90 ' works.
1474Try: /usr/bin/clang
1475Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90 ' works.
1506Try: /usr/bin/clang
1507Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1535./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1536Test produced non-zero return code
1537Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90 ' works.
1538Try: /usr/bin/clang
1539Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1567./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1568Test produced non-zero return code
1569Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -h ' works.
1570Try: /usr/bin/clang
1571Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -h  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1599clang: error: unknown argument: '-h'
1600Test failed to compile
1601Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation noc99,gnu ' works.
1602Try: /usr/bin/clang
1603Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation noc99,gnu  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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: no such file or directory: 'noc99,gnu'
1632Test failed to compile
1633Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu89 ' works.
1634Try: /usr/bin/clang
1635Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1663./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1664Test produced non-zero return code
1665Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90 ' works.
1666Try: /usr/bin/clang
1667Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu89 ' works.
1698Try: /usr/bin/clang
1699Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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 884: ./cmake_bootstrap_37307_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/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --c89 ' works.
1730Try: /usr/bin/clang
1731Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --c89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1759clang: error: unsupported option '--c89'
1760Test failed to compile
1761Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -e ' works.
1762Try: /usr/bin/clang
1763Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -e  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
1791Undefined symbols for architecture x86_64:
1792  "cmake_bootstrap_37307_test.c", referenced from:
1793     implicit entry/start for main executable
1794ld: symbol(s) not found for architecture x86_64
1795clang: error: linker command failed with exit code 1 (use -v to see invocation)
1796Test failed to compile
1797Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -e ' works.
1798Try: /usr/bin/clang
1799Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -e  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
1800----------  file   -----------------------
1801
1802#ifdef __cplusplus
1803# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1804#endif
1805
1806#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1807#error "On AIX with GNU we need the -pthread flag."
1808#endif
1809
1810#if defined(__sun) && __STDC_VERSION__ < 199901L
1811#error "On Solaris we need C99."
1812#endif
1813
1814#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1815#error "On HP-UX we need GCC 4.9 or higher."
1816#endif
1817
1818#include <stdio.h>
1819
1820int main(int argc, char* argv[])
1821{
1822  printf("%d%c", (argv != 0), (char)0x0a);
1823  return argc - 1;
1824}
1825
1826------------------------------------------
1827Undefined symbols for architecture x86_64:
1828  "cmake_bootstrap_37307_test.c", referenced from:
1829     implicit entry/start for main executable
1830ld: symbol(s) not found for architecture x86_64
1831clang: error: linker command failed with exit code 1 (use -v to see invocation)
1832Test failed to compile
1833Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90 ' works.
1834Try: /usr/bin/clang
1835Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
1836----------  file   -----------------------
1837
1838#ifdef __cplusplus
1839# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1840#endif
1841
1842#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1843#error "On AIX with GNU we need the -pthread flag."
1844#endif
1845
1846#if defined(__sun) && __STDC_VERSION__ < 199901L
1847#error "On Solaris we need C99."
1848#endif
1849
1850#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1851#error "On HP-UX we need GCC 4.9 or higher."
1852#endif
1853
1854#include <stdio.h>
1855
1856int main(int argc, char* argv[])
1857{
1858  printf("%d%c", (argv != 0), (char)0x0a);
1859  return argc - 1;
1860}
1861
1862------------------------------------------
1863./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1864Test produced non-zero return code
1865Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -Qstd=c89 ' works.
1866Try: /usr/bin/clang
1867Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -Qstd=c89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
1868----------  file   -----------------------
1869
1870#ifdef __cplusplus
1871# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1872#endif
1873
1874#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1875#error "On AIX with GNU we need the -pthread flag."
1876#endif
1877
1878#if defined(__sun) && __STDC_VERSION__ < 199901L
1879#error "On Solaris we need C99."
1880#endif
1881
1882#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1883#error "On HP-UX we need GCC 4.9 or higher."
1884#endif
1885
1886#include <stdio.h>
1887
1888int main(int argc, char* argv[])
1889{
1890  printf("%d%c", (argv != 0), (char)0x0a);
1891  return argc - 1;
1892}
1893
1894------------------------------------------
1895clang: error: unknown argument '-Qstd=c89'; did you mean '-std=c89'?
1896Test failed to compile
1897Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu89 ' works.
1898Try: /usr/bin/clang
1899Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
1900----------  file   -----------------------
1901
1902#ifdef __cplusplus
1903# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1904#endif
1905
1906#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1907#error "On AIX with GNU we need the -pthread flag."
1908#endif
1909
1910#if defined(__sun) && __STDC_VERSION__ < 199901L
1911#error "On Solaris we need C99."
1912#endif
1913
1914#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1915#error "On HP-UX we need GCC 4.9 or higher."
1916#endif
1917
1918#include <stdio.h>
1919
1920int main(int argc, char* argv[])
1921{
1922  printf("%d%c", (argv != 0), (char)0x0a);
1923  return argc - 1;
1924}
1925
1926------------------------------------------
1927./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1928Test produced non-zero return code
1929Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90 ' works.
1930Try: /usr/bin/clang
1931Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
1932----------  file   -----------------------
1933
1934#ifdef __cplusplus
1935# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1936#endif
1937
1938#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1939#error "On AIX with GNU we need the -pthread flag."
1940#endif
1941
1942#if defined(__sun) && __STDC_VERSION__ < 199901L
1943#error "On Solaris we need C99."
1944#endif
1945
1946#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1947#error "On HP-UX we need GCC 4.9 or higher."
1948#endif
1949
1950#include <stdio.h>
1951
1952int main(int argc, char* argv[])
1953{
1954  printf("%d%c", (argv != 0), (char)0x0a);
1955  return argc - 1;
1956}
1957
1958------------------------------------------
1959./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1960Test produced non-zero return code
1961Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90 ' works.
1962Try: /usr/bin/clang
1963Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu90  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
1964----------  file   -----------------------
1965
1966#ifdef __cplusplus
1967# error "The CMAKE_C_COMPILER is set to a C++ compiler"
1968#endif
1969
1970#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
1971#error "On AIX with GNU we need the -pthread flag."
1972#endif
1973
1974#if defined(__sun) && __STDC_VERSION__ < 199901L
1975#error "On Solaris we need C99."
1976#endif
1977
1978#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
1979#error "On HP-UX we need GCC 4.9 or higher."
1980#endif
1981
1982#include <stdio.h>
1983
1984int main(int argc, char* argv[])
1985{
1986  printf("%d%c", (argv != 0), (char)0x0a);
1987  return argc - 1;
1988}
1989
1990------------------------------------------
1991./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
1992Test produced non-zero return code
1993Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -c89 ' works.
1994Try: /usr/bin/clang
1995Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -c89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
1996----------  file   -----------------------
1997
1998#ifdef __cplusplus
1999# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2000#endif
2001
2002#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2003#error "On AIX with GNU we need the -pthread flag."
2004#endif
2005
2006#if defined(__sun) && __STDC_VERSION__ < 199901L
2007#error "On Solaris we need C99."
2008#endif
2009
2010#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2011#error "On HP-UX we need GCC 4.9 or higher."
2012#endif
2013
2014#include <stdio.h>
2015
2016int main(int argc, char* argv[])
2017{
2018  printf("%d%c", (argv != 0), (char)0x0a);
2019  return argc - 1;
2020}
2021
2022------------------------------------------
2023clang: error: unknown argument: '-c89'
2024Test failed to compile
2025Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=c89 ' works.
2026Try: /usr/bin/clang
2027Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=c89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
2028----------  file   -----------------------
2029
2030#ifdef __cplusplus
2031# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2032#endif
2033
2034#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2035#error "On AIX with GNU we need the -pthread flag."
2036#endif
2037
2038#if defined(__sun) && __STDC_VERSION__ < 199901L
2039#error "On Solaris we need C99."
2040#endif
2041
2042#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2043#error "On HP-UX we need GCC 4.9 or higher."
2044#endif
2045
2046#include <stdio.h>
2047
2048int main(int argc, char* argv[])
2049{
2050  printf("%d%c", (argv != 0), (char)0x0a);
2051  return argc - 1;
2052}
2053
2054------------------------------------------
2055./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
2056Test produced non-zero return code
2057Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --c89 ' works.
2058Try: /usr/bin/clang
2059Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --c89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
2060----------  file   -----------------------
2061
2062#ifdef __cplusplus
2063# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2064#endif
2065
2066#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2067#error "On AIX with GNU we need the -pthread flag."
2068#endif
2069
2070#if defined(__sun) && __STDC_VERSION__ < 199901L
2071#error "On Solaris we need C99."
2072#endif
2073
2074#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2075#error "On HP-UX we need GCC 4.9 or higher."
2076#endif
2077
2078#include <stdio.h>
2079
2080int main(int argc, char* argv[])
2081{
2082  printf("%d%c", (argv != 0), (char)0x0a);
2083  return argc - 1;
2084}
2085
2086------------------------------------------
2087clang: error: unsupported option '--c89'
2088Test failed to compile
2089Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --relaxed_ansi ' works.
2090Try: /usr/bin/clang
2091Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation --relaxed_ansi  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_test
2092----------  file   -----------------------
2093
2094#ifdef __cplusplus
2095# error "The CMAKE_C_COMPILER is set to a C++ compiler"
2096#endif
2097
2098#if defined(_AIX) && defined(__GNUC__) && !defined(_THREAD_SAFE)
2099#error "On AIX with GNU we need the -pthread flag."
2100#endif
2101
2102#if defined(__sun) && __STDC_VERSION__ < 199901L
2103#error "On Solaris we need C99."
2104#endif
2105
2106#if defined(__hpux) && !(defined(__GNUC__) && ((__GNUC__ * 100) + __GNUC_MINOR__) >= 409)
2107#error "On HP-UX we need GCC 4.9 or higher."
2108#endif
2109
2110#include <stdio.h>
2111
2112int main(int argc, char* argv[])
2113{
2114  printf("%d%c", (argv != 0), (char)0x0a);
2115  return argc - 1;
2116}
2117
2118------------------------------------------
2119clang: error: unsupported option '--relaxed_ansi'
2120Test failed to compile
2121Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -qlanglvl=extc89 ' works.
2122Try: /usr/bin/clang
2123Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -qlanglvl=extc89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
2151clang: error: unknown argument: '-qlanglvl=extc89'
2152Test failed to compile
2153Checking whether '/usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu89 ' works.
2154Try: /usr/bin/clang
2155Line: /usr/bin/clang -pipe -Os -arch x86_64 -isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -L/opt/local/lib -Wl,-headerpad_max_install_names -arch x86_64 -Wl,-syslibroot,/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -framework CoreFoundation -std=gnu89  cmake_bootstrap_37307_test.c -o cmake_bootstrap_37307_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------------------------------------------
2183./bootstrap: line 884: ./cmake_bootstrap_37307_test: Bad CPU type in executable
2184Test produced non-zero return code