Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1476

Build universal library binaries on Mac OSX

    XMLWordPrintableJSON

Details

    Description

      I would like to request a build option to create universal binaries on Mac OSX. The resulting library would support i386, x86_64 and ppc platforms.

      For reference, Jake F. posted a work-around to target different platforms -

      > The thrift build is not setup to create a universal binary currently. if
      > you would like to create a ticket for this we can take a look at making
      > this a global configure option. To set the arch you can pass
      > CPPFLAGS='-arch i386' to configure.
      [edit: additionally pass LDFLAGS and CXXFLAGS with the same architecture]
      > You should be able to use this for each arch you want to create and then
      > use lipo to combine them into a universal binary.
      >
      > -Jake

      Attachments

        Activity

          People

            jfarrell Jake Farrell
            peace Peace C
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: