Re: [CMake] Custom installation of cmake

2019-10-21 Thread Mahmood Naderan via CMake
Thanks. I found it much easier to use the installer package (.sh file). I wanted a new gcc for building cmake. since the system default is 4.8.5. The installer package is available and installed that to my custom folder. Regards, Mahmood On Sunday, October 20, 2019, 8:58:25 PM GMT+3:30, Ray

Re: [CMake] Custom installation of cmake

2019-10-20 Thread Raymond Wan
Hi Mahmood, Did you try typing "./bootstrap --help"? Perhaps something there is what you need? Ray On Sun, Oct 20, 2019 at 2:19 AM Mahmood Naderan via CMake wrote: > > OK and how about custom installation path of cmake? > > > Regards, > Mahmood -- Powered by www.kitware.com Please keep me

Re: [CMake] Custom installation of cmake

2019-10-20 Thread Robert Maynard via CMake
The easiest way is to specify the custom compiler via the CC and CXX environment variables. On Sat, Oct 19, 2019 at 2:19 PM Mahmood Naderan via CMake wrote: > > OK and how about custom installation path of cmake? > > > Regards, > Mahmood > > > On Saturday, October 19, 2019, 4:44:28 PM GMT+3:30, 1

Re: [CMake] Custom installation of cmake

2019-10-19 Thread Mahmood Naderan via CMake
OK and how about custom installation path of cmake? Regards, Mahmood On Saturday, October 19, 2019, 4:44:28 PM GMT+3:30, 15 knots wrote: What worked for me, is to add 'ools/gcc-7.1.0/bin/' in front of the PATh environment variable for the time cmake is invoked. E.g from bash. PATH=too

[CMake] Custom installation of cmake

2019-10-19 Thread Mahmood Naderan via CMake
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-dumpx86_64-pc-linux-gnu-gcc x86_64-pc-linux-gnu-gcc-ranlib cpp gcc-nm gcov-toolx86_64-pc-linux-