- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi does anyone know where I can look to find out more about compiling binaries of fortran programs for distribution to intel mac users? I have yet to install ifort on my personal mac, but statically linked binaries from our intel64 RHEL 5 cluster do not seem to work on macs (I get a very generic warning from the os "cannot execute binary file"). I only used some very basic flags (-static -g -warn) so perhaps there is a target architecture that I need to supply?
Also, I tried compiling a binary using gfortran on my home computer (mac) statically linking against libgfortran and emailing it to another personal computer (also mac) and I get some error message about unknown instruction 4. After digging around it looks like when FSF/GNU changed their licensing (from lgpl to gpl, I think) apple branched the old gcc compilers and subsequently dropped gfortran support.
Anyway, if anyone has any idea about this please let me know. Perhaps I was niave in thinking that a simple hello world type program statically linked on one *nix OS would be able to run on another *nix OS with virtually the same architecture (both recent intel64).
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page