Impact

This forum is read only and just serves as an archive. If you have any questions, please post them on github.com/phoboslab/impact

1 decade ago by Datamosh

Hello! I have problems compiling Impact on armv6.

With LLVM GCC 4.2 compiler I get the following error:
libiOSJavaScriptCore.a, file is universal but does not contain a(n) armv6 slice for architecture armv6
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 failed with exit code 1

With the default compiler (Apple LLVM 3.0):
libiOSJavaScriptCore.a, file is universal but does not contain a(n) armv6 slice for architecture armv6
Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/clang failed with exit code 1

What should I do to make it work on iOS <= 4.2?

THANKS!

1 decade ago by Arantor

Version of iOSImpact?

1 decade ago by Datamosh

Last version, 0.9

1 decade ago by dominic

The JavaScriptCore library that is included with iOSImpact is only compiled for arm7 CPUs - so iPhone 3GS and newer. The iPhone 3G was a bit too much on the slow side for the games I tested, so I didn't include the arm6 slice.

You can get an older version of the JavaScriptCore lib that includes both - the arm6 and arm7 slices - from my blog:
http://www.phoboslab.org/log/2011/06/javascriptcore-project-files-for-ios

1 decade ago by Datamosh

Thanks! Now compile (And run at 12 fps on iPod 2G, lol)

1 decade ago by paulh

Has anyone done this, what files do you swap around to get the armv6 compiling?

1 decade ago by Datamosh

You can replace all the files with old version of JavaScriptCore.
Is rrrrrreaaaaallllyyyy slow on iPod 2G, unplayable.

I lost a couple of days trying to get my game to be compatible and not worth it, is too slow, long music files do not work and all users of these devices already lost hope with new releases ;)

1 decade ago by paulh

Hey Thanks Datamosh,

Im thinking more about itouch, and ive designed it toave very little impact (lol) . so fingers crossed, alhouh with the feedback from dominic and you i may just look at appmobi or cocoonjs.


from dominic

Get this: http://www.phoboslab.org/files/jsc/libiOSJavaScriptCore-534.27.zip

Extract it in your iOSImpact folder. It should replace the 'JavaScriptCore' folder and 'libiOSJavaScriptCore.a' file.


However, I think you'll run into some more problems. The JSC files from my blog post are actually a bit older than the one used in Impact. The JSValueToNumberFast() function will probably not work as expected.

Page 1 of 1
« first « previous next › last »