It's actually my iPhone, but my work has SIM cards that have
provisioned static IPs and allow incoming connections from AT&T, and I
can put one in temporarily for fun.
I actually first tried to compile Git from source on the iPhone
(figured it would at least be simpler than node), and ran into similar
errors in the ./configure step. Without me being more knowledgeable
about all these building steps and the insides of the configure
script, etc, I can't go much further.
It's too bad there's not somebody reading on this list who's
knowledgeable on the iPhone jailbreak scene/building software from
source. Perhaps I should post this same question on a more iPhone
jailbreak related mailing list? Somebody on an iPhone specific list
might at least be able to help me through the individual errors while
trying to compile.
Also, cross-compiling on a Mac to ARM, then manually transferring the
files to the phone might be the right way to do it. What would that
take for node? Probably something like modifying the configure or
Makefile files?
Please forgive my ignorance, I just think this would be awesome if we
can figure it out!
On Jun 13, 4:19 am, Daniel Ly <
nal...@gmail.com> wrote:
> Cool idea. MyiPhoneuses an ARM processor but V8 supports ARM (how
> fast is another question).
>
> Let's try it out. First I got apt-get then installed the packagesiphone-python, wget,iphone-gcc and make.iphone-gcc installs only if
> you this beforehand:
>
> wgethttp://
files.getdropbox.com/u/876743/fake-libgcc_1.0_iphoneos-arm.deb
> dpkg -i fake-libgcc_1.0_iphoneos-arm.deb
>
> because package libgc is missing. I know this part is a bit shady. I
> won't try it on aniPhonewhich you really need for your work...
> Caveat emptor!
>
> But then ./configure complains that the dl library could not be found
> (but there is one at /usr/lib/libdl.dylib). Since Node.js compiles on
> Macintosh, there should be a possibility to convince ./configure to
> switch to Macintosh "mode", but I don't know scons at all. Can someone
> help me here?
>
> A different (and perhaps a better) approach would be cross-compiling
> Node.js:
http://stackoverflow.com/questions/552509/cross-compiling-c-to-iphone...
>
> -nalply