Home > development > buiding the toolchain from iphone-dev

buiding the toolchain from iphone-dev

没有Mac有个iphone,想玩app怎么办?据说是可以在linux或者windows(cygwin)上做开发的,O’Reilly还出了本书iPhone Open Application Development。在有钱买apple前,实在忍不住想在最cool的移动计算平台iPhone上玩玩它的应用开发(好像在《程序员》里对Android创始人的专访中提到,Andy Rubin用的手机是iPhone)。

大概记录一下在ubuntu910下构建toolchain的步骤,主要步骤参考官网wiki的HOWTO build the toolchain。flex (2.5.35)和bison (2.4.1)都是直接从ubuntu的源里安装的。由于默认的gcc是4.4版本,在编译llvm时出现一堆”xxx was not declared in this scope”的问题,参考issue 149直接换gcc-4.1顺利编译通过。然后构建odcctools时出现了”configure.ac:12: error: possibly undefined macro: AM_PROG_LEX”问题,然后按照issue 98的方法解决。

Advertisements
Categories: development
  1. No comments yet.
  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: