Advertisement

Angel on Bada

Started by July 28, 2011 08:58 AM
3 comments, last by 4diRobert 13 years, 4 months ago
Hello!

I tried compile Angelscript on Bada platform. It is fine on Simulator-Debug, but I have an error on Target-Release.

preps:
-simulator debug:
_DEBUG
ANDROID (heh)
AS_LINUX
SHP
BUILD_DLL

-release target:
SHP
_ARM:_
ANDROID
AS_ARM
AS_LINUX

changed: as_callfunc_arm_gcc.S to as_callfunc_arm_gcc.asm

compiler output:
"
**** Build of configuration Target-Release for project Angel ****
cs-make all

'Building file: ../src/as_callfunc_arm_gcc.asm'


'Invoking: bada Assembler'


arm-samsung-nucleuseabi-as -fpic -fshort-wchar -mcpu=cortex-a8 -mfpu=vfpv3 -mfloat-abi=hard -mlittle-endian -mthumb-interwork -o"src/as_callfunc_arm_gcc.o" "../src/as_callfunc_arm_gcc.asm"


arm-samsung-nucleuseabi-as: unrecognized option `-pic'


cs-make: *** [src/as_callfunc_arm_gcc.o] Error 1"

I am not familiar in machine code and don't know what is the "pic" flag. I'm using Eclipse (Bada IDE).

Please excuse my ignorance, but what is Bada?

You can remove the 'pic' option as the assembler doesn't recognize it. I'm not quite sure what it does myself, but it is something that the GNUC compiler uses to make decisions on how to organize the compiled code.

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

Advertisement

Please excuse my ignorance, but what is Bada?

You can remove the 'pic' option as the assembler doesn't recognize it. I'm not quite sure what it does myself, but it is something that the GNUC compiler uses to make decisions on how to organize the compiled code.

Bada is a mobile operating system from the 1st manufacturer in the world of smartphones. http://developer.samsung.com/home.do

I try compile this without -pic as soon as I can. :blink:
Interesting. I didn't know Samsung was developing their own OS.

Please do let me know how it goes.

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

I disabled these flags: -fpic -fshort-wchar in automatic makefile, and remove all the comments in asm file.
Compile is fine, but not happened anyhing. It was terminated when I call ctx->Execute() method. I will try more fighting with machine code tomorrow! :unsure:

This topic is closed to new replies.

Advertisement