Actor ARM compiling | developer.brewmp.com Actor ARM compiling | developer.brewmp.com

Developer

Actor ARM compiling

Hi,

am trying to compile actor for ARM to run it on device. It compiles/links successfully, but when started on device, it crashes immediately. No any function call obtained. I suspect it is due to compile/link flags. I use following to compile it:
cs-make V=RVCT30arm11_Release install MIF_INSTALL_DIR=modout MOD_INSTALL_DIR=modout

So it uses RVCT 3.0 to compile and link it.

Any suggestion on compile/link? Or other hints for Actor compiling/linking?

Thanks.

Hi,
Could you let me know how you created the makefile that's being used to build your actor?
Does the actor function correctly if built from Visual Studio rather than from the command line?
Thanks,
Sam.

Hi,
Could you let me know how you created the makefile that's being used to build your actor?
Does the actor function correctly if built from Visual Studio rather than from the command line?
Thanks,
Sam.

I use my own mak file, but you actually do not need to create mak file, it is already there, and you can take a look at
https://brewmobileplatform.qualcomm.com/devnet/docviewer.jsp?method=show...
I suppose all ARM compilers are supported.
All you need to do is edit existing example makefile to add your own files to compile, adjust environment variables to match your environment and execute with V=whatever your compiler is.
And my issue posted in topic was resolved by migrating any C file in project to C++ file. Looks like that for some reason RVCT linker does not like mixing C and C++ files in the same module.
Hope this will help someone.

I use my own mak file, but you actually do not need to create mak file, it is already there, and you can take a look at
https://brewmobileplatform.qualcomm.com/devnet/docviewer.jsp?method=show...
I suppose all ARM compilers are supported.
All you need to do is edit existing example makefile to add your own files to compile, adjust environment variables to match your environment and execute with V=whatever your compiler is.
And my issue posted in topic was resolved by migrating any C file in project to C++ file. Looks like that for some reason RVCT linker does not like mixing C and C++ files in the same module.
Hope this will help someone.