[cfarm-users] Please install CMake on GCC119

Noah Misch noah at leadboat.com
Mon Jul 16 02:47:33 CEST 2018


On Sun, Jul 15, 2018 at 07:51:39PM -0400, David Edelsohn wrote:
> On Sun, Jul 15, 2018 at 5:33 PM Noah Misch via cfarm-users <cfarm-users at lists.tetaneutral.net> wrote:
> > On Sun, Jul 15, 2018 at 02:19:36PM -0400, Jeffrey Walton via cfarm-users wrote:
> > > We have the (dis)pleasure of maintaining CMake source files. If it is
> > > not too much trouble could someone install Cmake on GCC119.
> >
> > When I needed cmake on gcc119, I installed a private copy of cmake-3.12.0-rc2 as
> > follows:
> >
> >   ./bootstrap --prefix=$HOME/sw/cmake --parallel=10 --verbose CC=gcc CXX=g++ CFLAGS=-maix64 CXXFLAGS=-maix64 LDFLAGS=-Wl,-bbigtoc
> >   gmake -j10
> >   gmake test
> >   gmake -j4 install
> >
> > (This doesn't fill your request, but I'm conveying these facts in case they help
> > you or someone who does fill it.)
> >
> > > CMake is kind of fragile to begin with. I think it would be prudent to
> > > test on AIX to see how things break and then fix the breaks.
> 
> Why does cmake need to be compiled as 64 bit?

I don't have reason to suspect it needs that.  I may have used it by reflex.

> And linking with bigtoc
> is a very inefficient, bad choice.  If it really overflows the TOC, it
> should be compiled with -mcmodel=large.

Good to know.  With no option, it did overflow the TOC.


More information about the cfarm-users mailing list