Hi Antonio, >> Pls send the warnings to the list and I'm sure we can >> fix them. > > The iPhone OS (thats how Apple names it for both the iphone and the > ipad) does not provide libm.a as it is part of libSystem and based on > what I have read, libSystem is linked by default (not 100% sure about > this). > > So I used a dummy libm.a to avoid modifying the Harbour make for > Darwin, and then _modfl() appeared as an unresolved external. We need > to find an alternative function for it. I just did a quick and dirty > workaround to bypass this problem :-)
That's good, but to avoid guessing the exact location, some sort of log output would certainly help anyway. It's also a matter of detecting the platform in source. Can you run this command on the iPad: gcc -dM -E - < /dev/null and post the output? >> (I see you're using some sort of hybrid Harbour codebase, >> to make the effort useful, pls try using latest SVN.) > > No, I used the latest SVN code. In fact I did the svn checkout from > the ipad itself. Unless I did something wrong. How do you identify it > as an hybrid version ? In the screenshot it shows: Rev. 13918, plus there is other matching old version information inside the harbour executable. If you used latest source, this was most probably the result of copying in hbverbld.h generated for another older local build. >>> The major obstacle is to get working the right toolchain for the iPad. >>> I can help on this if some of you are interested about it. >> >> It would be interesting to hear more about it. > > Once the ipad is jailbroken, we can use Cydia to install gcc, but it > refuses to install it as libgcc is no longer available for current > iphone os. So some users managed to create a fake-libgcc to bypass > this problem. Then you have to use the iphone SDK headers as they are > required also. Also installed subversion, make and built it (bypassing > the libm and modfl problems). Aha, so it requires an iPad. I don't have one (yet?). Do you think it is possible to build Harbour for iPhone OS from Mac OS X? And how? Viktor _______________________________________________ Harbour mailing list (attachment size limit: 40KB) [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
