problem building with cmake under cygwin (need clang)

LMH lmh_users-groups@molconn.com
Tue Jul 26 16:53:00 GMT 2016


Marco Atzeri wrote:
> On 26/07/2016 17:10, LMH wrote:
>> Csaba Raduly wrote:
>
>>>
>>> Steps for building in a separate build directory:
>>>
>>> mkdir _build
>>> cd    _build
>>> cmake ..
>>>
>>> Csaba
>>>
>>
>> I looked for the syntax for this when I first started. I assumed the the
>> author put the CMakeLists.txt file in the right place. I almost never
>> have my make file in the src directory when using gnu make, so this
>> looked the same to me. I didn't find any doc about how to have the
>> CMakeLists.txt and the src in different directories.
>>
>
> Csaba was clear but it seems you are misunderstanding,
> the call to cmake is
>
>         cmake [options] <path-to-source>
>
> so I will put together his suggestion and Tony's one:
>
> $ git pull https://bitbucket.org/tomilov/quickhull/src
> $ ls src/
> CMakeLists.txt  include  README.md  src  test
> $ mkdir build
> $ cd build
> $ cmake -DCMAKE_CXX_COMPILER=clang  ../src
>
> the "build" directory is in this case parallel to the "src" one.
>
> Unfortunately it will fail on "Compiler does not support C++1z standard"
> and you will need to modify the original CMakeLists.txt.
> I cut
> -------------------------------------------------------------------
> -CHECK_CXX_COMPILER_FLAG("-std=gnu++1z" COMPILER_SUPPORTS_CXX1Z)
> -if(NOT COMPILER_SUPPORTS_CXX1Z)
> -    message(FATAL_ERROR "Compiler does not support C++1z standard")
> -endif()
> -add_compile_options("-std=gnu++1z")
> -------------------------------------------------------------------
>
> But there are other issues on the road; I passed some with
>
> cmake -DCMAKE_CXX_COMPILER=clang -DCMAKE_CXX_FLAGS="-std=gnu++1z
> -I/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/
> -I/usr/lib/gcc/x86_64-pc-cygwin/5.4.0/include/c++/x86_64-pc-cygwin/" ../src
>
> but the build stop here
> --------------------------------------------------------------------------
> /pub/temp/src/src/simple_use.cpp:146:16: fatal error: no member named 'chrono' in
> namespace 'std'
>      using std::chrono::duration_cast;
>            ~~~~~^
> 15 warnings and 1 error generated.
> make[2]: *** [CMakeFiles/qh.dir/build.make:66:
> CMakeFiles/qh.dir/src/simple_use.cpp.o] Error 1
> ---------------------------------------------------------------------------
>
> and I am out of my C++ knowledge
>
> Regards
> Marco
>
> --
> Problem reports:       http://cygwin.com/problems.html
> FAQ:                   http://cygwin.com/faq/
> Documentation:         http://cygwin.com/docs.html
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
>
>

Thanks you for the clarification.

I implemented your steps,

$ ls src/
CMakeLists.txt  include  README.md  src  test

$ mkdir build

$ cd build/

$ cmake -DCMAKE_CXX_COMPILER=clang  ../src

I get the following output, which is the same error output I was getting before. It 
is different then the errors you are specifying.

-- The C compiler identification is GNU 4.9.3
-- The CXX compiler identification is unknown
CMake Warning at /usr/share/cmake-3.3.2/Modules/Platform/CYGWIN.cmake:15 (message):
   CMake no longer defines WIN32 on Cygwin!

   (1) If you are just trying to build this project, ignore this warning or
   quiet it by setting CMAKE_LEGACY_CYGWIN_WIN32=0 in your environment or in
   the CMake cache.  If later configuration or build errors occur then this
   project may have been written under the assumption that Cygwin is WIN32.
   In that case, set CMAKE_LEGACY_CYGWIN_WIN32=1 instead.

   (2) If you are developing this project, add the line

     set(CMAKE_LEGACY_CYGWIN_WIN32 0) # Remove when CMake >= 2.8.4 is required

   at the top of your top-level CMakeLists.txt file or set the minimum
   required version of CMake to 2.8.4 or higher.  Then teach your project to
   build on Cygwin without WIN32.
Call Stack (most recent call first):
   /usr/share/cmake-3.3.2/Modules/CMakeSystemSpecificInformation.cmake:36 (include)
   CMakeLists.txt:1 (project)


-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/clang
-- Check for working CXX compiler: /usr/bin/clang -- broken
CMake Error at /usr/share/cmake-3.3.2/Modules/CMakeTestCXXCompiler.cmake:54 (message):
   The C++ compiler "/usr/bin/clang" is not able to compile a simple test
   program.

   It fails with the following output:

    Change Dir: /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp

   Run Build Command:"/usr/bin/make.exe" "cmTC_e1f3f/fast"

   /usr/bin/make -f CMakeFiles/cmTC_e1f3f.dir/build.make
   CMakeFiles/cmTC_e1f3f.dir/build

   make[1]: Entering directory
   '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'

   Building CXX object CMakeFiles/cmTC_e1f3f.dir/testCXXCompiler.cxx.o

   /usr/bin/clang -o CMakeFiles/cmTC_e1f3f.dir/testCXXCompiler.cxx.o -c
 
/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx


   CMakeFiles/cmTC_e1f3f.dir/build.make:65: recipe for target
   'CMakeFiles/cmTC_e1f3f.dir/testCXXCompiler.cxx.o' failed

   make[1]: Leaving directory
   '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'

   Makefile:126: recipe for target 'cmTC_e1f3f/fast' failed

   make[1]: *** [CMakeFiles/cmTC_e1f3f.dir/testCXXCompiler.cxx.o] Error 127

   make: *** [cmTC_e1f3f/fast] Error 2


   CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
   CMakeLists.txt:1 (project)


-- Configuring incomplete, errors occurred!
See also 
"/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeOutput.log".
See also 
"/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeError.log".

It looks like it is still using gnu for the compiler and not clang. It looks like it 
can't identify the c++ compiler at all. I tried this,

cmake -DCMAKE_CXX_COMPILER=clang++ ../src

because I think that CXX is the c++ compiler, but this doesn't make any difference. I 
have attached the cmake error and output logs in case that is useful.

It just looks like there is something missing or misconfigured in my installation. 
The which clang and which clang++ commands return the expected values. If cmake isn't 
able to build a test app, then there is something wrong at that end I think.

LMH




-------------- next part --------------
The system is: CYGWIN - 2.3.1(0.291/5/3) - i686
Compiling the C compiler identification source file "CMakeCCompilerId.c" succeeded.
Compiler: /usr/bin/cc 
Build flags: 
Id flags: 

The output was:
0


Compilation of the C compiler identification source "CMakeCCompilerId.c" produced "a.exe"

The C compiler identification is GNU, found in "/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/3.3.2/CompilerIdC/a.exe"

Determining if the C compiler works passed with the following output:
Change Dir: /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make.exe" "cmTC_25c78/fast"
/usr/bin/make -f CMakeFiles/cmTC_25c78.dir/build.make CMakeFiles/cmTC_25c78.dir/build
make[1]: Entering directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_25c78.dir/testCCompiler.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_25c78.dir/testCCompiler.c.o   -c /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp/testCCompiler.c
Linking C executable cmTC_25c78.exe
/usr/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_25c78.dir/link.txt --verbose=1
/usr/bin/cc     -Wl,--enable-auto-import  CMakeFiles/cmTC_25c78.dir/testCCompiler.c.o  -o cmTC_25c78.exe -Wl,--out-implib,libcmTC_25c78.dll.a -Wl,--major-image-version,0,--minor-image-version,0  
make[1]: Leaving directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'


Detecting C compiler ABI info compiled with the following output:
Change Dir: /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make.exe" "cmTC_aeee7/fast"
/usr/bin/make -f CMakeFiles/cmTC_aeee7.dir/build.make CMakeFiles/cmTC_aeee7.dir/build
make[1]: Entering directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_aeee7.dir/CMakeCCompilerABI.c.o
/usr/bin/cc    -o CMakeFiles/cmTC_aeee7.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.3.2/Modules/CMakeCCompilerABI.c
Linking C executable cmTC_aeee7.exe
/usr/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_aeee7.dir/link.txt --verbose=1
/usr/bin/cc     -Wl,--enable-auto-import -v CMakeFiles/cmTC_aeee7.dir/CMakeCCompilerABI.c.o  -o cmTC_aeee7.exe -Wl,--out-implib,libcmTC_aeee7.dll.a -Wl,--major-image-version,0,--minor-image-version,0   
Using built-in specs.
COLLECT_GCC=/usr/bin/cc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.9.3/lto-wrapper.exe
Target: i686-pc-cygwin
Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.i686/src/gcc-4.9.3/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.i686/src/gcc-4.9.3 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id
Thread model: posix
gcc version 4.9.3 (GCC) 
COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.9.3/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/
LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.9.3/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/lib/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../:/lib/:/usr/lib/
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_aeee7.exe' '-mtune=generic' '-march=i686'
 /usr/lib/gcc/i686-pc-cygwin/4.9.3/collect2.exe -plugin /usr/lib/gcc/i686-pc-cygwin/4.9.3/cyglto_plugin.dll -plugin-opt=/usr/lib/gcc/i686-pc-cygwin/4.9.3/lto-wrapper.exe -plugin-opt=-fresolution=/tmp/ccUzhMKY.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lcygwin -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --wrap _Znwj --wrap _Znaj --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwjRKSt9nothrow_t --wrap _ZnajRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t -Bdynamic --dll-search-prefix=cyg --large-address-aware --tsaware -o cmTC_aeee7.exe /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../crt0.o /usr/lib/gcc/i686-pc-cygwin/4.9.3/crtbegin.o -L/usr/lib/gcc/i686-pc-cygwin/4.9.3 -L/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/lib -L/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../.. --enable-auto-import CMakeFiles/cmTC_aeee7.dir/CMakeCCompilerABI.c.o --out-implib libcmTC_aeee7.dll.a --major-image-version 0 --minor-image-version 0 -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../default-manifest.o /usr/lib/gcc/i686-pc-cygwin/4.9.3/crtend.o
make[1]: Leaving directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'


Parsed C implicit link information from above output:
  link line regex: [^( *|.*[/\])(ld\.exe|([^/\]+-)?ld|collect2)[^/\]*( |$)]
  ignore line: [Change Dir: /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp]
  ignore line: []
  ignore line: [Run Build Command:"/usr/bin/make.exe" "cmTC_aeee7/fast"]
  ignore line: [/usr/bin/make -f CMakeFiles/cmTC_aeee7.dir/build.make CMakeFiles/cmTC_aeee7.dir/build]
  ignore line: [make[1]: Entering directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp']
  ignore line: [Building C object CMakeFiles/cmTC_aeee7.dir/CMakeCCompilerABI.c.o]
  ignore line: [/usr/bin/cc    -o CMakeFiles/cmTC_aeee7.dir/CMakeCCompilerABI.c.o   -c /usr/share/cmake-3.3.2/Modules/CMakeCCompilerABI.c]
  ignore line: [Linking C executable cmTC_aeee7.exe]
  ignore line: [/usr/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_aeee7.dir/link.txt --verbose=1]
  ignore line: [/usr/bin/cc     -Wl,--enable-auto-import -v CMakeFiles/cmTC_aeee7.dir/CMakeCCompilerABI.c.o  -o cmTC_aeee7.exe -Wl,--out-implib,libcmTC_aeee7.dll.a -Wl,--major-image-version,0,--minor-image-version,0   ]
  ignore line: [Using built-in specs.]
  ignore line: [COLLECT_GCC=/usr/bin/cc]
  ignore line: [COLLECT_LTO_WRAPPER=/usr/lib/gcc/i686-pc-cygwin/4.9.3/lto-wrapper.exe]
  ignore line: [Target: i686-pc-cygwin]
  ignore line: [Configured with: /cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.i686/src/gcc-4.9.3/configure --srcdir=/cygdrive/i/szsz/tmpp/gcc/gcc-4.9.3-1.i686/src/gcc-4.9.3 --prefix=/usr --exec-prefix=/usr --localstatedir=/var --sysconfdir=/etc --docdir=/usr/share/doc/gcc --htmldir=/usr/share/doc/gcc/html -C --build=i686-pc-cygwin --host=i686-pc-cygwin --target=i686-pc-cygwin --without-libiconv-prefix --without-libintl-prefix --libexecdir=/usr/lib --enable-shared --enable-shared-libgcc --enable-static --enable-version-specific-runtime-libs --enable-bootstrap --enable-__cxa_atexit --with-dwarf2 --with-arch=i686 --with-tune=generic --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,lto,objc,obj-c++ --enable-graphite --enable-threads=posix --enable-libatomic --enable-libgomp --disable-libitm --enable-libquadmath --enable-libquadmath-support --enable-libssp --enable-libada --enable-libjava --enable-libgcj-sublibs --disable-java-awt --disable-symvers --with-ecj-jar=/usr/share/java/ecj.jar --with-gnu-ld --with-gnu-as --with-cloog-include=/usr/include/cloog-isl --without-libiconv-prefix --without-libintl-prefix --with-system-zlib --enable-linker-build-id]
  ignore line: [Thread model: posix]
  ignore line: [gcc version 4.9.3 (GCC) ]
  ignore line: [COMPILER_PATH=/usr/lib/gcc/i686-pc-cygwin/4.9.3/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/:/usr/lib/gcc/i686-pc-cygwin/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/bin/]
  ignore line: [LIBRARY_PATH=/usr/lib/gcc/i686-pc-cygwin/4.9.3/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/lib/:/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../:/lib/:/usr/lib/]
  ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_aeee7.exe' '-mtune=generic' '-march=i686']
  link line: [ /usr/lib/gcc/i686-pc-cygwin/4.9.3/collect2.exe -plugin /usr/lib/gcc/i686-pc-cygwin/4.9.3/cyglto_plugin.dll -plugin-opt=/usr/lib/gcc/i686-pc-cygwin/4.9.3/lto-wrapper.exe -plugin-opt=-fresolution=/tmp/ccUzhMKY.res -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lcygwin -plugin-opt=-pass-through=-ladvapi32 -plugin-opt=-pass-through=-lshell32 -plugin-opt=-pass-through=-luser32 -plugin-opt=-pass-through=-lkernel32 -plugin-opt=-pass-through=-lgcc_s -plugin-opt=-pass-through=-lgcc --build-id --wrap _Znwj --wrap _Znaj --wrap _ZdlPv --wrap _ZdaPv --wrap _ZnwjRKSt9nothrow_t --wrap _ZnajRKSt9nothrow_t --wrap _ZdlPvRKSt9nothrow_t --wrap _ZdaPvRKSt9nothrow_t -Bdynamic --dll-search-prefix=cyg --large-address-aware --tsaware -o cmTC_aeee7.exe /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../crt0.o /usr/lib/gcc/i686-pc-cygwin/4.9.3/crtbegin.o -L/usr/lib/gcc/i686-pc-cygwin/4.9.3 -L/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/lib -L/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../.. --enable-auto-import CMakeFiles/cmTC_aeee7.dir/CMakeCCompilerABI.c.o --out-implib libcmTC_aeee7.dll.a --major-image-version 0 --minor-image-version 0 -lgcc_s -lgcc -lcygwin -ladvapi32 -lshell32 -luser32 -lkernel32 -lgcc_s -lgcc /usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../default-manifest.o /usr/lib/gcc/i686-pc-cygwin/4.9.3/crtend.o]
    arg [/usr/lib/gcc/i686-pc-cygwin/4.9.3/collect2.exe] ==> ignore
    arg [-plugin] ==> ignore
    arg [/usr/lib/gcc/i686-pc-cygwin/4.9.3/cyglto_plugin.dll] ==> ignore
    arg [-plugin-opt=/usr/lib/gcc/i686-pc-cygwin/4.9.3/lto-wrapper.exe] ==> ignore
    arg [-plugin-opt=-fresolution=/tmp/ccUzhMKY.res] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [-plugin-opt=-pass-through=-lcygwin] ==> ignore
    arg [-plugin-opt=-pass-through=-ladvapi32] ==> ignore
    arg [-plugin-opt=-pass-through=-lshell32] ==> ignore
    arg [-plugin-opt=-pass-through=-luser32] ==> ignore
    arg [-plugin-opt=-pass-through=-lkernel32] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc_s] ==> ignore
    arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
    arg [--build-id] ==> ignore
    arg [--wrap] ==> ignore
    arg [_Znwj] ==> ignore
    arg [--wrap] ==> ignore
    arg [_Znaj] ==> ignore
    arg [--wrap] ==> ignore
    arg [_ZdlPv] ==> ignore
    arg [--wrap] ==> ignore
    arg [_ZdaPv] ==> ignore
    arg [--wrap] ==> ignore
    arg [_ZnwjRKSt9nothrow_t] ==> ignore
    arg [--wrap] ==> ignore
    arg [_ZnajRKSt9nothrow_t] ==> ignore
    arg [--wrap] ==> ignore
    arg [_ZdlPvRKSt9nothrow_t] ==> ignore
    arg [--wrap] ==> ignore
    arg [_ZdaPvRKSt9nothrow_t] ==> ignore
    arg [-Bdynamic] ==> ignore
    arg [--dll-search-prefix=cyg] ==> ignore
    arg [--large-address-aware] ==> ignore
    arg [--tsaware] ==> ignore
    arg [-o] ==> ignore
    arg [cmTC_aeee7.exe] ==> ignore
    arg [/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../crt0.o] ==> ignore
    arg [/usr/lib/gcc/i686-pc-cygwin/4.9.3/crtbegin.o] ==> ignore
    arg [-L/usr/lib/gcc/i686-pc-cygwin/4.9.3] ==> dir [/usr/lib/gcc/i686-pc-cygwin/4.9.3]
    arg [-L/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/lib] ==> dir [/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/lib]
    arg [-L/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../..] ==> dir [/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../..]
    arg [--enable-auto-import] ==> ignore
    arg [CMakeFiles/cmTC_aeee7.dir/CMakeCCompilerABI.c.o] ==> ignore
    arg [--out-implib] ==> ignore
    arg [libcmTC_aeee7.dll.a] ==> ignore
    arg [--major-image-version] ==> ignore
    arg [0] ==> ignore
    arg [--minor-image-version] ==> ignore
    arg [0] ==> ignore
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [-lcygwin] ==> lib [cygwin]
    arg [-ladvapi32] ==> lib [advapi32]
    arg [-lshell32] ==> lib [shell32]
    arg [-luser32] ==> lib [user32]
    arg [-lkernel32] ==> lib [kernel32]
    arg [-lgcc_s] ==> lib [gcc_s]
    arg [-lgcc] ==> lib [gcc]
    arg [/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../default-manifest.o] ==> ignore
    arg [/usr/lib/gcc/i686-pc-cygwin/4.9.3/crtend.o] ==> ignore
  remove lib [gcc_s]
  remove lib [gcc]
  remove lib [gcc_s]
  remove lib [gcc]
  collapse library dir [/usr/lib/gcc/i686-pc-cygwin/4.9.3] ==> [/usr/lib/gcc/i686-pc-cygwin/4.9.3]
  collapse library dir [/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../../../i686-pc-cygwin/lib] ==> [/usr/i686-pc-cygwin/lib]
  collapse library dir [/usr/lib/gcc/i686-pc-cygwin/4.9.3/../../..] ==> [/usr/lib]
  implicit libs: [cygwin;advapi32;shell32;user32;kernel32]
  implicit dirs: [/usr/lib/gcc/i686-pc-cygwin/4.9.3;/usr/i686-pc-cygwin/lib;/usr/lib]
  implicit fwks: []




Detecting C [-std=c11] compiler features compiled with the following output:
Change Dir: /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make.exe" "cmTC_7cecb/fast"
/usr/bin/make -f CMakeFiles/cmTC_7cecb.dir/build.make CMakeFiles/cmTC_7cecb.dir/build
make[1]: Entering directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_7cecb.dir/feature_tests.c.o
/usr/bin/cc   -std=c11 -o CMakeFiles/cmTC_7cecb.dir/feature_tests.c.o   -c /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_7cecb.exe
/usr/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_7cecb.dir/link.txt --verbose=1
/usr/bin/cc     -Wl,--enable-auto-import  CMakeFiles/cmTC_7cecb.dir/feature_tests.c.o  -o cmTC_7cecb.exe -Wl,--out-implib,libcmTC_7cecb.dll.a -Wl,--major-image-version,0,--minor-image-version,0  
make[1]: Leaving directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:1c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c99] compiler features compiled with the following output:
Change Dir: /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make.exe" "cmTC_45fe8/fast"
/usr/bin/make -f CMakeFiles/cmTC_45fe8.dir/build.make CMakeFiles/cmTC_45fe8.dir/build
make[1]: Entering directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_45fe8.dir/feature_tests.c.o
/usr/bin/cc   -std=c99 -o CMakeFiles/cmTC_45fe8.dir/feature_tests.c.o   -c /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_45fe8.exe
/usr/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_45fe8.dir/link.txt --verbose=1
/usr/bin/cc     -Wl,--enable-auto-import  CMakeFiles/cmTC_45fe8.dir/feature_tests.c.o  -o cmTC_45fe8.exe -Wl,--out-implib,libcmTC_45fe8.dll.a -Wl,--major-image-version,0,--minor-image-version,0  
make[1]: Leaving directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:1c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:1c_variadic_macros


Detecting C [-std=c90] compiler features compiled with the following output:
Change Dir: /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make.exe" "cmTC_9b7ff/fast"
/usr/bin/make -f CMakeFiles/cmTC_9b7ff.dir/build.make CMakeFiles/cmTC_9b7ff.dir/build
make[1]: Entering directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'
Building C object CMakeFiles/cmTC_9b7ff.dir/feature_tests.c.o
/usr/bin/cc   -std=c90 -o CMakeFiles/cmTC_9b7ff.dir/feature_tests.c.o   -c /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/feature_tests.c
Linking C executable cmTC_9b7ff.exe
/usr/bin/cmake.exe -E cmake_link_script CMakeFiles/cmTC_9b7ff.dir/link.txt --verbose=1
/usr/bin/cc     -Wl,--enable-auto-import  CMakeFiles/cmTC_9b7ff.dir/feature_tests.c.o  -o cmTC_9b7ff.exe -Wl,--out-implib,libcmTC_9b7ff.dll.a -Wl,--major-image-version,0,--minor-image-version,0  
make[1]: Leaving directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'


    Feature record: C_FEATURE:1c_function_prototypes
    Feature record: C_FEATURE:0c_restrict
    Feature record: C_FEATURE:0c_static_assert
    Feature record: C_FEATURE:0c_variadic_macros
-------------- next part --------------
Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/clang++ 
Build flags: 
Id flags: 

The output was:
127


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/clang++ 
Build flags: 
Id flags: -c

The output was:
127


Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
Determining if the CXX compiler works failed with the following output:
Change Dir: /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make.exe" "cmTC_29d2e/fast"
/usr/bin/make -f CMakeFiles/cmTC_29d2e.dir/build.make CMakeFiles/cmTC_29d2e.dir/build
make[1]: Entering directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_29d2e.dir/testCXXCompiler.cxx.o
/usr/bin/clang++     -o CMakeFiles/cmTC_29d2e.dir/testCXXCompiler.cxx.o -c /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
CMakeFiles/cmTC_29d2e.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_29d2e.dir/testCXXCompiler.cxx.o' failed
make[1]: Leaving directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'
Makefile:126: recipe for target 'cmTC_29d2e/fast' failed
make[1]: *** [CMakeFiles/cmTC_29d2e.dir/testCXXCompiler.cxx.o] Error 127
make: *** [cmTC_29d2e/fast] Error 2


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/clang++ 
Build flags: 
Id flags: 

The output was:
127


Compiling the CXX compiler identification source file "CMakeCXXCompilerId.cpp" failed.
Compiler: /usr/bin/clang++ 
Build flags: 
Id flags: -c

The output was:
127


Checking whether the CXX compiler is IAR using "" did not match "IAR .+ Compiler":
Determining if the CXX compiler works failed with the following output:
Change Dir: /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp

Run Build Command:"/usr/bin/make.exe" "cmTC_ddcc9/fast"
/usr/bin/make -f CMakeFiles/cmTC_ddcc9.dir/build.make CMakeFiles/cmTC_ddcc9.dir/build
make[1]: Entering directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'
Building CXX object CMakeFiles/cmTC_ddcc9.dir/testCXXCompiler.cxx.o
/usr/bin/clang++     -o CMakeFiles/cmTC_ddcc9.dir/testCXXCompiler.cxx.o -c /cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
CMakeFiles/cmTC_ddcc9.dir/build.make:65: recipe for target 'CMakeFiles/cmTC_ddcc9.dir/testCXXCompiler.cxx.o' failed
make[1]: Leaving directory '/cygdrive/g/shared_data/SMD/ATomilov_quickhull/build/CMakeFiles/CMakeTmp'
make[1]: *** [CMakeFiles/cmTC_ddcc9.dir/testCXXCompiler.cxx.o] Error 127
Makefile:126: recipe for target 'cmTC_ddcc9/fast' failed
make: *** [cmTC_ddcc9/fast] Error 2


-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list