This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
RE: IRIX installation problems
- From: "Gabriel Soubies" <gabriel dot soubies at thales-is dot com>
- To: "Steve ROBBINS" <stever at bic dot mni dot mcgill dot ca>
- Cc: <gsl-discuss at sources dot redhat dot com>
- Date: Tue, 10 Dec 2002 15:55:43 +0100
- Subject: RE: IRIX installation problems
I finally managed to compile it!
I forced compilation with the C compiler as Steve Robbins suggested.
If it can be of any help to anybody in the future, here are the flags I used
to compile it:
setenv CFLAGS '-x c -LANG:std=off -OPT:IEEE_NaN_inf=ON -anach'
The flag that changed my life is -LANG:std=off.
No casting problem anymore.
Anyway, I had to edit some files that contained mallocs that were not
explicitly cast to the type of variable to which they were assigned.
Example:
float *pFloat = malloc(......); // not accepted
float *pFloat = (float*)malloc(......); // accepted
I didn't find a way to make it accept to MipsPro 7.3.
I think it deserved to be noted.
Thanks again to everybody that helped me!