I was just thinking about it and I just realized that the fact that it can't find the libs might have something to do with the fact that I'm symlinking the .h files and that, quite possibly, gcc doesn't follow symlinks.
@triclops200
I'm running iPhone OS 3.1.3 on 2nd gen iPod Touch hardware. Jailbroken.
@lolzy
Well, I was kinda hoping to have 38.0 compiled on the iPod by yesterday, but I unfortunately have been having difficuties solving some compiler errors that relate to the placement of the .h files that are required by the .c files.
I think I have a solution. I'm using copy/paste to replicate the .h file dependency tree in the 'powder-38.0-src' directory. I'm thinking that this should finally do the trick.
Edit: But wow! What a painfully large dependency tree, mostly indirect dependencies.
@bchandark
Yes, they essentially do if you are developing for the AppStore. Though, I'm making an unsigned iPod version of PT right now which will not be submitted to the AppStore. In fact, I'm currently doing <i>all</i> of this on my iPod touch, thanks to the fact that it's jailbroken.
I replicated the entire .h dependency tree of PT directly in the 'powder-38.0-src' directory and gcc still can't find stdio.h, math.h, etc. when I try a make. It's only finding md5.h, http.h, version.h, etc.(which are in the same directory as stdio.h, etc. ). Does anyone around these parts know enough about gcc to possibly help me?
Well...I can't install Visual Studio on my iPod! The point of this is to make a version that is natively compiled for the iPod/iPhone, so I kinda have to work with what I can install on my jb'd iPod. That is, unless somebody knows a way to compile for the iPod on a computer (WinXP or Ubuntu 10.04LTS)?