rivet is hosted by Hepforge, IPPP Durham
close Warning: Can't synchronize with repository "(default)" (Repository path '/hepforge/hg/rivet/public/rivet' does not exist.). Look in the Trac log for more information.

Opened 13 years ago

Last modified 8 years ago

#168 new enhancement

Build fat libraries for OSX

Reported by: jmonk Owned by: jmonk
Priority: trivial Milestone: Perfection
Component: General Version:
Keywords: Cc: Andy Buckley


To be compatible with both i386 and x86_64 libraries on intel machines we should build fat binaries on OSX that contain both architectures. I hope this is as simple as adding -arch i386 -arch x86_64, although I just read an article saying that autotools doesn't play nicely with the -arch option - I hope it is incorrect! If it turns out to be true then I'll have to compile the i386 and x86_64 libs separately and then stitch them together using the lipo command.

We also might want to do a similar thing for ppc macs with both ppc and ppc64 architectures, although I'm not sure anyone is likely to use ppc64 since it never made it to a laptop.

Change History (6)

comment:1 Changed 12 years ago by Andy Buckley

Milestone: Version 2Perfection

comment:2 Changed 12 years ago by Andy Buckley

Feel free to do this... as long as it doesn't break anything ;)

comment:3 Changed 10 years ago by Andy Buckley

Milestone: Perfection1.2.3 release

James, if you get a chance to play with this build option on your Mac, I'd be happy to tick off this ticket...

comment:4 Changed 10 years ago by Andy Buckley

Type: taskenhancement

comment:5 Changed 10 years ago by hoeth


comment:6 Changed 8 years ago by Andy Buckley

Milestone: 2.0.0Perfection
Priority: majortrivial
Note: See TracTickets for help on using tickets.