|
From: <mi...@cl...> - 2002-01-13 16:45:19
|
Hi! > I tried compiling under IRIX 6.5 with the SGI MIPSpro > C compiler. I first ran into a problem with the configure > script. > > [...] > > $ cc -c -fpic /tmp/foo.c > cc ERROR parsing -fpic: unknown flag OK, this is my fault; I designed a configure macro (MY_C_SWITCH in aclocal.m4) that is supposed to test whether a giver flag is accepted by the compiler, but the macro only parses errors of the form "unknown option", not "unknown flag". (The main problem is that the configure script should be designed to work on _any_ platforms, but I could only try it with gcc on i386 Linux/FreeBSD, sparc Solaris, and with Sun's cc on Solaris, not on IRIX...) A -fpic alike flag does not seem needed with MIPSpro, I assume the -shared link flag is sufficent to make shared libraries. I have updated the CVS, it may work better now. All comments are, of course, welcome. > Apart from that, the rest of the code compiled fine (I did not > try running it yet), but MIPSpro did generate a bunch of > warnings. Most of them were about unused variables, but there > were a couple of "interesting" ones. Is there a mechanism > for submitting patches, and would there be an interest > for warning cleanup patches? Sourceforge, which hosts the OpenQuicktime project, has some funky systems for submitting/tracking bugs and patches. Drop by the Sourceforge project page: http://sourceforge.net/projects/openquicktime/ You can also directly email the devel mailing-list with your patch attached, I will put it in the CVS. Can you put the "interesting" warning list together with your patch ? - Antoine |