Skip to content

Instantly share code, notes, and snippets.

@iMichka
Created October 18, 2014 20:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iMichka/f890a890a7acf4db15bf to your computer and use it in GitHub Desktop.
Save iMichka/f890a890a7acf4db15bf to your computer and use it in GitHub Desktop.
Determining if the function getpagesize exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec2800247375/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2800247375.dir/build.make CMakeFiles/cmTryCompileExec2800247375.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2800247375.dir/CheckFunctionExists.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -DCHECK_FUNCTION_EXISTS=getpagesize -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec2800247375.dir/CheckFunctionExists.c.o -c /usr/local/Cellar/cmake/3.0.2/share/cmake/Modules/CheckFunctionExists.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec2800247375.dir/CheckFunctionExists.c.o] Error 1
make[3]: *** [cmTryCompileExec2800247375/fast] Error 2
Determining if the include file inttypes.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec4124252039/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec4124252039.dir/build.make CMakeFiles/cmTryCompileExec4124252039.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec4124252039.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec4124252039.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec4124252039.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec4124252039/fast] Error 2
Determining if the include file memory.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec2975696025/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2975696025.dir/build.make CMakeFiles/cmTryCompileExec2975696025.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2975696025.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec2975696025.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec2975696025.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec2975696025/fast] Error 2
Determining if the include file stdint.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec1760061856/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec1760061856.dir/build.make CMakeFiles/cmTryCompileExec1760061856.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1760061856.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec1760061856.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec1760061856.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec1760061856/fast] Error 2
Determining if the include file stdlib.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec872700496/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec872700496.dir/build.make CMakeFiles/cmTryCompileExec872700496.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec872700496.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec872700496.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec872700496.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec872700496/fast] Error 2
Determining if the include file string.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec4266573005/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec4266573005.dir/build.make CMakeFiles/cmTryCompileExec4266573005.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec4266573005.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec4266573005.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec4266573005.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec4266573005/fast] Error 2
Determining if the include file strings.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec132375188/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec132375188.dir/build.make CMakeFiles/cmTryCompileExec132375188.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec132375188.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec132375188.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec132375188.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec132375188/fast] Error 2
Determining if the include file sys/stat.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec1681248749/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec1681248749.dir/build.make CMakeFiles/cmTryCompileExec1681248749.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1681248749.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec1681248749.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec1681248749.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec1681248749/fast] Error 2
Determining if the include file sys/types.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec2839985843/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2839985843.dir/build.make CMakeFiles/cmTryCompileExec2839985843.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2839985843.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec2839985843.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec2839985843.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec2839985843/fast] Error 2
Determining if the include file sys/param.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec764557663/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec764557663.dir/build.make CMakeFiles/cmTryCompileExec764557663.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec764557663.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec764557663.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec764557663.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec764557663/fast] Error 2
Determining if the include file unistd.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec1135854999/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec1135854999.dir/build.make CMakeFiles/cmTryCompileExec1135854999.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec1135854999.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec1135854999.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec1135854999.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec1135854999/fast] Error 2
Determining if the include file stddef.h exists failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec2233279565/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2233279565.dir/build.make CMakeFiles/cmTryCompileExec2233279565.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2233279565.dir/CheckIncludeFile.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec2233279565.dir/CheckIncludeFile.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CheckIncludeFile.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec2233279565.dir/CheckIncludeFile.c.o] Error 1
make[3]: *** [cmTryCompileExec2233279565/fast] Error 2
Determining size of unsigned short failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec2274167791/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec2274167791.dir/build.make CMakeFiles/cmTryCompileExec2274167791.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec2274167791.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec2274167791.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec2274167791.dir/CMAKE_SIZEOF_UNSIGNED_SHORT.c.o] Error 1
make[3]: *** [cmTryCompileExec2274167791/fast] Error 2
/Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_SHORT.c:
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(unsigned short))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of unsigned int failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec3115093633/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec3115093633.dir/build.make CMakeFiles/cmTryCompileExec3115093633.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec3115093633.dir/CMAKE_SIZEOF_UNSIGNED_INT.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec3115093633.dir/CMAKE_SIZEOF_UNSIGNED_INT.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_INT.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec3115093633.dir/CMAKE_SIZEOF_UNSIGNED_INT.c.o] Error 1
make[3]: *** [cmTryCompileExec3115093633/fast] Error 2
/Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_INT.c:
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(unsigned int))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Determining size of unsigned long failed with the following output:
Change Dir: /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp
Run Build Command:"/usr/bin/make" "cmTryCompileExec769564079/fast"
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cmTryCompileExec769564079.dir/build.make CMakeFiles/cmTryCompileExec769564079.dir/build
/usr/local/Cellar/cmake/3.0.2/bin/cmake -E cmake_progress_report /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CMakeTmp/CMakeFiles 1
Building C object CMakeFiles/cmTryCompileExec769564079.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o
/usr/local/Cellar/gcc/4.9.1/bin/gcc-4.9 -no-cpp-precomp -w -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -o CMakeFiles/cmTryCompileExec769564079.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o -c /Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.c
gcc-4.9: error: unrecognized command line option '-no-cpp-precomp'
make[4]: *** [CMakeFiles/cmTryCompileExec769564079.dir/CMAKE_SIZEOF_UNSIGNED_LONG.c.o] Error 1
make[3]: *** [cmTryCompileExec769564079/fast] Error 2
/Users/michkapopoff/repo/builds/mini-iw/gccxml/src/GCC_XML-build/CMakeFiles/CheckTypeSize/CMAKE_SIZEOF_UNSIGNED_LONG.c:
#undef KEY
#if defined(__i386)
# define KEY '_','_','i','3','8','6'
#elif defined(__x86_64)
# define KEY '_','_','x','8','6','_','6','4'
#elif defined(__ppc__)
# define KEY '_','_','p','p','c','_','_'
#elif defined(__ppc64__)
# define KEY '_','_','p','p','c','6','4','_','_'
#endif
#define SIZE (sizeof(unsigned long))
char info_size[] = {'I', 'N', 'F', 'O', ':', 's','i','z','e','[',
('0' + ((SIZE / 10000)%10)),
('0' + ((SIZE / 1000)%10)),
('0' + ((SIZE / 100)%10)),
('0' + ((SIZE / 10)%10)),
('0' + (SIZE % 10)),
']',
#ifdef KEY
' ','k','e','y','[', KEY, ']',
#endif
'\0'};
#ifdef __CLASSIC_C__
int main(argc, argv) int argc; char *argv[];
#else
int main(int argc, char *argv[])
#endif
{
int require = 0;
require += info_size[argc];
(void)argv;
return require;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment