From: Matt R. <mr...@th...> - 2006-03-24 07:56:43
|
DINH Viet Hoa wrote: > 1. The idea of the .a is to group some .o files > Since you are building i386 part and ppc part, it could be interesting > to build on .a file for each architecture. And at the end, you will > build the dyld file that is universal. > However, I am not sure about how to do this. Yes. I am not very familiar with the tools like ar, libtool, runlib and etc. so I am not sure how to either. I know that libtool on Mac OS X knows how to put together a universal library, but that is all I know. http://developer.apple.com/documentation/Porting/Conceptual/PortingUnix/compiling/chapter_4_section_3.html Maybe this can be of some use? > 2. Other idea : > maybe an idea could be to include all sources into the framework and > build it ? Maybe you'll need to make libetpan a sub-framework so that > headers inclusion will be easier. I have thought about this, I'm not sure how difficult of a task it will be though. Right now I include the libetpan source and I have a build step which executes ./configure && make outside of Xcode. Maybe I'll have to ask someone on one of the Apple lists? -- Matt Ronge AIM: monkeybreadr http://www.theronge.com |