[CMake] Custom installation of cmake
Mahmood Naderan
nt_mahmood at yahoo.com
Sat Oct 19 05:46:11 EDT 2019
Hi
I would like to compile cmake source with a non default gcc version. That is, I have built gcc in my home$ ls tools/gcc-7.1.0/bin/
c++ gcc-ar gcov-dump x86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc-ranlib
cpp gcc-nm gcov-tool x86_64-pc-linux-gnu-gcc-7.1.0
g++ gcc-ranlib x86_64-pc-linux-gnu-c++ x86_64-pc-linux-gnu-gcc-ar
gcc gcov x86_64-pc-linux-gnu-g++ x86_64-pc-linux-gnu-gcc-nm
and
$ ls ~/cmake-3.14.6
Auxiliary CMakeFiles configure doxygen.config Source
bootstrap CMakeGraphVizOptions.cmake CONTRIBUTING.rst Help Templates
Bootstrap.cmk CMakeLists.txt Copyright.txt Licenses Tests
CMakeCache.txt CMakeLogo.gif CTestConfig.cmake Modules Utilities
CMakeCPack.cmake cmake_uninstall.cmake.in CTestCustom.cmake.in Packaging
CMakeCPackOptions.cmake.in CompileFlags.cmake DartConfig.cmake README.rst
In the manual, it is only stated to build cmake with the default options which will install cmake in the system paths.
./bootstrap
make
make install
I want to give it my gcc and install it in my home. How can I do that?
Regards,
Mahmood
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://cmake.org/pipermail/cmake/attachments/20191019/4659124f/attachment.html>
More information about the CMake
mailing list