<commit_before>OS X is Unix under the hood, so README-Unix.txt covers the generic
bits.  I'll just cover a few of the issues specific to OS X here.


Prerequisite: Install the MySQL Development Files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MySQL++ is built on top of the MySQL C API library, so for MySQL++
    to build, it needs at least that library and its header files
    installed.  You don't need the server itself installed on your
    development machine, though it's often helpful anyway, for testing.
    You can get MySQL in at least three different ways for OS X:

    - From Fink: http://finkproject.org/  I mention this first
      because it's the method I use to test MySQL++ in development.
      If you ask about OS X on the mailing list, you'll get the most
      help if you're also using the Fink version of MySQL.  Once you
      have Fink installed, install the MySQL C API development
      files with:

      $ fink install mysql15-dev
      
      Then, in configuring MySQL++, give the --with-mysql=/sw flag
      to the configure script.
    
    - From MySQL.com.  I've not tried the official binaries,
      but they're known to work with MySQL++.  As I understand it,
      they install from a typical Mac GUI installer.  I don't know
      if it lets you install the development files separately from
      the server itself, so be sure to check.  The official Windows
      installers, for instance, have in the past installed the server
      by default but not the development files.

      Once it's installed, the configure script shipped with MySQL++
      v3.0 and up should find the library without any help.

    - From MacPorts, http://macports.org.  I have zero information on
      this other than that it's theoretically possible for it to work.
      If you figure out how to make it work, please post the method
      to the mailing list so I can update this document.


Making Universal Binaries
~~~~~~~~~~~~~~~~~~~~~~~~~
    The command line build system will generate libraries that
    only work with the platform you build MySQL++ on.  If you need
    to generate a libmysqlpp that works on both Intel and PowerPC<commit_msg>Minor updates to README-Mac-OS-X.txt instructions<commit_after>OS X is Unix under the hood, so README-Unix.txt covers the generic
bits.  I'll just cover a few of the issues specific to OS X here.


Prerequisite: Install the MySQL Development Files
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    MySQL++ is built on top of the MySQL C API library, so for MySQL++
    to build, it needs at least that library and its header files
    installed.  You don't need the server itself installed on your
    development machine, though it's often helpful anyway, for testing.
    You can get MySQL in at least three different ways for OS X:

    - From Fink: http://finkproject.org/  I mention this first
      because it's the method I use to test MySQL++ in development.
      If you ask about OS X on the mailing list, you'll get the most
      help if you're also using the Fink version of MySQL.  Once you
      have Fink installed, install the MySQL C API development
      files with:

      $ fink install mysql15-dev
      
      If you also want a local MySQL server, say this instead:

      $ fink install mysql mysql15-dev
    
    - From MySQL.com.  I've not tried the official binaries, but
      they're known to work with MySQL++.  As I understand it, they
      install from a typical Mac GUI installer.  I don't know if it
      lets you install the development files separately from the server
      itself, so be sure to check.  The official Windows installers,
      for instance, have in the past installed the server by default
      but not the development files.

    - From MacPorts, http://macports.org.  I have zero information on
      this other than that it's theoretically possible for it to work.
      If you figure out how to make it work, please post the method
      to the mailing list so I can update this document.


Making Universal Binaries
~~~~~~~~~~~~~~~~~~~~~~~~~
    The command line build system will generate libraries that
    only work with the platform you build MySQL++ on.  If you need
    to generate a libmysqlpp that works on both Intel and PowerPC
{'fraction_non_alphanumeric': 0.0740395809080326, 'fraction_numerical': 0.0018626309662398137, 'mean_word_length': 2.9704251386321627, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '189547', 'n_tokens_mistral': 1123, 'n_tokens_neox': 1042, 'n_words': 635}