libpq on iPhone?

Поиск
Список
Период
Сортировка
Искать

libpq on iPhone?

От:
Owen Hartnett <owen@clipboardinc.com>
Дата:

I've been able to use the libpq libraries on the iPhone simulator, 
but I need to compile it on the ARM processor to actually run it on 
an iPhone.  It seems my choices are:

1) add the relevant .c files to the iPhone XCode project and try to 
get the conditional macros and configuration correct.

or

2) Try to recompile it from the original source distribution, only 
try to tell the makefiles that I want it for the ARM processor, 
instead of the Intel for the simulator.

I started along path 1, but wonder if path 2 is a better idea.  You 
guys seem to have a mechanism for compiling on new processors, and 
maybe that might be the strategy to take.

Any recommendations?

-Owen
FAQ