Advertisement

Compiling AngleScript to Pocket PC 2003

Started by March 04, 2012 03:15 PM
3 comments, last by WitchLord 12 years, 8 months ago
Hello,

I'm porting my pet project to my Dell AXIM x51v, which is a Pocket PC with an ARM processor. The question is how to compile AS to work. I've switched to as_callfunc_arm.cpp and added as_callfunc_arm_msvc.asm to have the armFuncR0, etc functions. But while it is compiling the asm file, I get a lots of errors.

1> Assembling: ..\..\source\as_callfunc_arm_msvc.asm
1>..\..\source\as_callfunc_arm_msvc.asm(39) : error A2044:invalid character in file
1>..\..\source\as_callfunc_arm_msvc.asm(40) : error A2044:invalid character in file
1>..\..\source\as_callfunc_arm_msvc.asm(41) : error A2008:syntax error : EXPORT
1>..\..\source\as_callfunc_arm_msvc.asm(42) : error A2008:syntax error : EXPORT
1>..\..\source\as_callfunc_arm_msvc.asm(43) : error A2008:syntax error : EXPORT
1>..\..\source\as_callfunc_arm_msvc.asm(44) : error A2008:syntax error : EXPORT
1>..\..\source\as_callfunc_arm_msvc.asm(47) : error A2044:invalid character in file
1>..\..\source\as_callfunc_arm_msvc.asm(49) : error A2044:invalid character in file
1>..\..\source\as_callfunc_arm_msvc.asm(50) : error A2008:syntax error : sp

and a lot more of these.

Can you please tell me if there is some settings trick to make it work? I'm hoping that the porting itself is done, I just have to do some settings.

Thank you
Oh and I use Visual Studio 2008.
Advertisement
How did you configure the compilation of the assembler file? The assembler syntax for ARM is different from the syntax for x86, so the configuration to compile the file is different.

Unfortunately I do not know the correct configuration, as I've never compiled the library for ARM myself.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

Fixed now, thank you. For Pocket PC, you have to build as_callfunc_arm_msvc.asm in custom build. You have to specify this command line for as_callfunc_arm_msvc.asm

armasm -g $(InputPath)

It is running now just fine.

Thank you
Thanks. I'll include this in the manual for future reference.

AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game

This topic is closed to new replies.

Advertisement