how do you build a 64-bit library on IRIX

Charles Yee yee@ll.mit.edu
Wed Dec 19 13:20:00 GMT 2001


gsl-discuss@lists.thewrittenword.com wrote:

> On Thu, Sep 27, 2001 at 12:12:02PM -0400, Charles Yee wrote:
> > > How would you build 64-bit library from GSl 0.9.3 on IRIX?
> >
> > Thanks for your help.
>
> Have you tried
>   $ CC=cc CFLAGS="-64" LDFLAGS="-64" ./configure ...
>
> I think GCC can do 64-bit builds on IRIX as well.
>
> --
> albert chin (china@thewrittenword.com)

I am using IRIX 6.5 on a SGI Origin.  On this machine, make uses gcc to
compile.  Would you know what  flags I would need to set in order to
make a 64-bit GSL library?

I have actually tried setting CFLAGS = -mabi=64 and LDFLAGS= -mabi=64.
However the build failed. I got the following error:

     ld32: FATAL 12: Expecting n32 objects: sasum.o is n64
     collect2: ld returned 4 exit status

I am not sure if I set the correct flags.

Thank you in advance.

-Charles Yee



More information about the Gsl-discuss mailing list