Re: Building libetpan as a fat library for PPC and x86

Matt Ronge <mronge-ePFkAnfr6dRWk0Htik3J/[email protected]> Fri, 24 Mar 2006 01:56:38 -0600
Newsgroups gmane.mail.libetpan.user
Message-ID <[email protected]>
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


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642