swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IRIX 6.5 and libffi (ffcall???)


From: Jayshree Sarma
Subject: Re: IRIX 6.5 and libffi (ffcall???)
Date: Fri, 08 Oct 1999 11:27:25 -0400

Jonathan Greenberg wrote:
> 
> Hey, I am trying to get libffi to install under IRIX 6.5-- I found a
> rather cryptic explanation for getting it to work in the README:
> 
> ***
> By default, the configure script will try to build libffi with the GNU
> development tools. To build libffi with the SGI development tools, set
> the environment variable CC to either "cc -32" or "cc -n32" before
> running configure under Irix 6.x (depending on whether you want an o32
> or n32 library), or just "cc" for Irix 5.3.
> 
> With the n32 calling convention, when returning structures smaller
> than 16 bytes, be sure to provide an RVALUE that is 8 byte aligned.
> Here's one way of forcing this:
> 
>          double struct_storage[2];
>          my_small_struct *s = (my_small_struct *) struct_storage;
>          /* Use s for RVALUE */
> ***
> 
 

I installed libffi-1.20 under IRIX-6.5.  But I did setenv CC="cc -n32"
as suggested in the readme file before configuring. 
I was able to make and install the libffi library.

Jayshree Sarma

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]