rug-compling / alpinocorpus

Library for handling Alpino corpora
GNU Lesser General Public License v2.1
8 stars 1 forks source link

Cannot build both i386 and x86_64 on OS X #1

Closed jelmervdl closed 13 years ago

jelmervdl commented 13 years ago

I can't seem to get dbxml compiled with multiple -arch arguments. My gcc compiler (i686-apple-darwin10-g++-4.2.1) exists on "g++-4.2: -E, -S, -save-temps and -M options are not allowed with multiple -arch flags" when I add "-arch i386 -arch x86_64" to CXXFLAGS/CFLAGS.

Building it just x86_64, which seems to be the default choice of my compiler, works fine. But it did require some modifications to the CMakeLists.txt (http://mirror.ikhoefgeen.nl/CMakeLists.diff)

larsmans commented 13 years ago

Applied patch.