Page 2 of 2

Re: Glib failing thread test

Posted: Tue Apr 18, 2017 8:46 pm
by foetz
praetor242 wrote:I talked to the glib devs and they said it's best to just build it with gcc (and then gave me a million reasons why)

of course, the foss guys always do. keep in mind tho that for irix in most cases mipspro delivers much better results so only fall back to gcc if you really need something that doesn't build with mipspro at all.

Re: Glib failing thread test

Posted: Tue Apr 18, 2017 9:02 pm
by praetor242
Yeah, I'm not thrilled about using GCC, especially the last IRIX supported version (4.7) because it doesn' t have all the optimizers the latest version has. GCC is actually pretty quick, just not this version. It was dark times.

I'd prefer to use MIPSPro, but no getting glib to compile with it is going to happen, so gcc it is. :(

Re: Glib failing thread test

Posted: Wed Apr 19, 2017 6:47 pm
by praetor242
So it appears nekoware's GCC C++ compiler is broken. I wrote a quick 'hello world' program, and tried compiling it with g++, and it bitched about pthread and didn't compile. I noticed this when gmp kept failing with --enable-cxx.

So I'm following This (http://www.nekochan.net/wiki/Build_GCC_4.7.1_on_IRIX) guide on building gcc on IRIX, which I fear might be a little interesting with broken C++ support. :( Unless building a c++ compiler is part of gcc's bootstrapping.