Opened 17 years ago
Last modified 14 years ago
#552 closed Support Requests (fixed)
Building universal binary on MacOSX — at Version 2
Reported by: | shaishasag | Owned by: | René Rivera |
---|---|---|---|
Milestone: | Component: | build | |
Version: | None | Severity: | Showstopper |
Keywords: | Cc: |
Description (last modified by )
I'm using boost libraries on Windows (VC++) And MacOSX (gcc). Currently on MacOSX boost compiles for PPC processor. As Apple is moving to Intel processors, I would like to be able to compile boost, on the Mac for both PPC and Intel. Apple created the universal binary format, where you compile and link the code twice, the only difference in the compilation is a single option: -arch ppc or -arch i386. Later a tool called CreateUniversalBinary is called upon the linked codes. CreateUniversalBinary merges the two binaries into one. During runtime, the operating system loads the code and chooses which part to run, according to the local processor. I tried looking into the jamfiles but was overwhelmed by the complexity. What would be the best method to achieve universal binary on MacOSX?
Change History (2)
comment:2 by , 15 years ago
Component: | Building Boost → build |
---|---|
Description: | modified (diff) |
Severity: | → Showstopper |
Note:
See TracTickets
for help on using tickets.