Hello everyone,
i'm trying to port the latest cmake version (3.7.0) to AmigaOS4.
I've setup the CC and CXX variable pointing to my gnu compilers.
Btw i receive this error as you can see in the bootstrap log file:
________________________________________________________________
Try: AmigaOS:SDK/SDK/gcc/bin/gcc
Line: AmigaOS:SDK/SDK/gcc/bin/gcc cmake_bootstrap_1586378720_test.c -o
cmake_bootstrap_1586378720_test
---------- file -----------------------
#ifdef __cplusplus
# error "The CMAKE_C_COMPILER is set to a C++ compiler"
#endif
#include<stdio.h>
#if defined(__CLASSIC_C__)
int main(argc, argv)
int argc;
char* argv[];
#else
int main(int argc, char* argv[])
#endif
{
printf("%d%c", (argv != 0), (char)0x0a);
return argc-1;
}
------------------------------------------
gcc: fatal error: input file 'cmake_bootstrap_1586378720_test' is the same
as output file
compilation terminated.
Test failed to compile
________________________________________________________________________
Any hint on this?
Thank you very much
KR
Davide
--
Powered by www.kitware.com
Please keep messages on-topic and check the CMake FAQ at:
http://www.cmake.org/Wiki/CMake_FAQ
Kitware offers various services to support the CMake community. For more
information on each offering, please visit:
CMake Support: http://cmake.org/cmake/help/support.html
CMake Consulting: http://cmake.org/cmake/help/consulting.html
CMake Training Courses: http://cmake.org/cmake/help/training.html
Visit other Kitware open-source projects at
http://www.kitware.com/opensource/opensource.html
Follow this link to subscribe/unsubscribe:
http://public.kitware.com/mailman/listinfo/cmake