[Adium-devl] Adium iPhone

Evan Schoenberg evan.s at dreskin.net
Fri Jan 23 01:17:37 UTC 2009


On Jan 22, 2009, at 7:52 PM, Colin Barrett wrote:

> I'll see about perhaps making some wireframes based on what Peter  
> described this weekend.

That'd be awesome.  I agree with Peter's initial points, with the  
exception that I think starting with WebKit is going to be the path of  
least resistance for the message view... and if performance is a  
problem, we'll design a custom view.

I've been working on cross-compilation to ARM this afternoon and  
evening... mostly just slamming my head against the compiler, though.

With

export CC="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc"
export CPP="/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/g+ 
+"
export SDK_ROOT="/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/ 
iPhoneOS2.2.sdk"
export CFLAGS="-miphoneos-version-min=2.2 -isysroot $SDK_ROOT -I/ 
Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk/ 
usr/include"
export LDFLAGS="-miphoneos-version-min=2.2 - 
headerpad_max_install_names -Wl,-syslibroot,$SDK_ROOT"
export HOST=arm-apple-darwin
./configure --host=arm-apple-darwin

(which manually sets up the build environment our build scrips create  
for i386/ppc cross-compilation)

in adium/Utilities/dep-build-scripts/source/gettext-0.16.1/autoconf- 
lib-link
(which is the first place configure ends up running recursively in the  
general_dependences_make.sh script)

ends up erroring with:
configure:2726: checking for C compiler version
configure:2733: /Developer/Platforms/iPhoneOS.platform/Developer/usr/ 
bin/gcc --version >&5
gcc-4.0: installation problem, cannot exec '/Developer/Platforms/ 
iPhoneOS.platform/Developer/usr/bin/i686-apple-darwin9-gcc-4.0.1': No  
such file or directory

This is technically a true error, since indeed the gcc in /Developer/ 
Platforms/iPhoneOS.platform/Developer/usr/bin only has an arm-apple- 
darwin9 variant to call; i686-* doesn't exist there.  However, I don't  
understand while configure is trying to run for i686 at all.

I've committed some _iphone.sh versions of the build scripts, which  
don't work, in [25803].  They effectively perform the above.

Cheers,
Evan

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20090122/8ed2c609/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
URL: <http://adium.im/pipermail/devel_adium.im/attachments/20090122/8ed2c609/attachment.sig>


More information about the devel mailing list