This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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!



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]