cc ERROR: cannot exec /usr/lib32/cmplrs/fec ?

I ended up installing SGUG RPM which seems to be working nicely.

But the gcc from SGUG always fails with this error:
as ERROR parsing -mabi=n32: unknown flag
 
I can't say for sure, but it looks like you are passing the compiler a bad CFLAG - are you setting up the environment? This is a sample of how I setup my env before compiling anything:

Code:
export CC=gcc
export CXX=g++
export CFLAGS="-std=gnu99 -g -O2 -mips4"
#export CFLAGS="-std=gnu99 -g -O2 -mips4 -D_SGI_SOURCE -D_SGI_REENTRANT_FUNCTIONS -D_XOPEN_SOURCE=1000"
export CXXFLAGS="-g -O2 -mips4"
export CPPFLAGS="-I/usr/local/include -I/usr/nekoware/include"
export LDFLAGS="-L/usr/local/lib -L/usr/local/lib32 -L/usr/nekoware/lib"
#export LDFLAGS="-L/usr/local/lib -L/usr/local/lib32 -L/usr/nekoware/lib --warn-unresolved-symbols"
export MAKE=gmake
export PERL=/usr/local/bin/perl

perhaps you can show the sample code you are trying to compile
 
I haven't tried it yet, but it seems that running gcc from within sgugshell will solve the problem.
I didn't use any flags, but they are probably set in default IRIX env.
 
Edit: With apologies, I no longer wish to have involvement with SGUG or SGI communities in general,
and have also chosen to remove all of my content. Many things have changed since I co-founded, named, and ultimately
then left SGUG. There are many good people around, to whom I apologize for frustrating by removing these things, and
also many petty people that over the years whittled down both the enjoyment as well as sense of obligation I used to
feel to anyone else regarding what was ultimately just a hobby. Unfortunately one of the latter now writes the rules
and so it is time for me to take my things and go.

This message will replace all of my previous forum posts because deleting threads that I started would have removed
other peoples' posts.
 
Last edited:

About us

  • Silicon Graphics User Group (SGUG) is a community for users, developers, and admirers of Silicon Graphics (SGI) products. We aim to be a friendly hobbyist community for discussing all aspects of SGIs, including use, software development, the IRIX Operating System, and troubleshooting, as well as facilitating hardware exchange.

User Menu