Changeset 2080 for trunk/README


Ignore:
Timestamp:
Oct 17, 2009, 5:38:54 PM (14 years ago)
Author:
Peter
Message:

Added section in README on how to build universal library on Mac OS X and fixed a typo. closes #275

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/README

    r2066 r2080  
    116116= Documentation =
    117117
    118 The API documentation for the latest release is availabe in PDF and
     118The API documentation for the latest release is available in PDF and
    119119HTML and can be found through http://dev.thep.lu.se/yat. If you wish
    120120to build a local copy, issue `make doc` and you will find the
     
    124124
    125125See file README.developer for developer specific information.
     126
     127= Mac OS X =
     128
     129On Mac OS X you can create a universal library, a library that works
     130on multiple systems. You can do this by specifying multiple `-arch`
     131options to the compiler (but not to the preprocessor):
     132
     133 #> ./configure CXX="g++ -arch i386 -arch x86_64 -arch ppc -arch ppc64" \
     134                CXXCPP="g++ -E" --disable-dependency-tracking
     135
     136This will produce a universal yat library with 4 architectures. If
     137your OS X does not support both Power-PC and Intel-based processors,
     138you can omit these architectures. Also, required libraries, GSL and
     139CBLAS, need to be available as universal libraries with desired
     140architectures.
    126141
    127142----------------------------------------------------------------------
Note: See TracChangeset for help on using the changeset viewer.