Jump to content
  • Advertisement
Sign in to follow this  
chewbakka

Compiling AngleScript to Pocket PC 2003

This topic is 2475 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.

Share this post


Link to post
Share on other sites
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

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!