Welcome to iraf.net Saturday, January 20 2018 @ 07:11 AM GMT

The following comments are owned by whomever posted them. This site is not responsible for what they say.

  • IRAF on Intel Macs -- universal binaries.
  • Authored by: fitz on Tuesday, February 21 2006 @ 07:10 PM GMT
For a simple hello.c the multiple -arch flags are all that's needed for a universal binary. Specifying '-arch i386' on a G4/5 will compile a native intel binary and it's this trick I was referring to in cross-compiling iraf packages i.e. simply set IRAFARCH to 'macintel' and let the system worry about setting the flags to produce intel binaries, all you need is to have the intel iraf libs installed. So, developers could install both archs but users still only need one.

The size of universal binaries is not a minor issue for IRAF: a typical IRAF+STSDAS+TABLES system would run 1GB, most of it wasted space. A UniBin XGterm might make be okay, but we've already got the concept of architectures in IRAF and most people will only want one or the other binary anyway.

Privacy Policy
Terms of Use

User Functions