swarm-support
[Top][All Lists]
Advanced

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

IRIX 6.5 and libffi (ffcall???)


From: Jonathan Greenberg
Subject: IRIX 6.5 and libffi (ffcall???)
Date: Fri, 8 Oct 1999 00:20:29 -0700

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 */
***

Should I use ffcall? I have TCL,TK,BLT,zlib and libpng all installed in /home/mydir/swarm -- what EXACTLY do I need to type to get either of these things (ffcall or libffi) working? Thanks!



::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
Jonathan Greenberg
Graduate Group in Ecology, U.C. Davis
http://www.anthro.ucdavis.edu/~greenberg
AIM: jgrn307
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

                 ==================================
  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]