Compiling for Marmalade SDK

Started by
2 comments, last by WitchLord 11 years, 4 months ago
Hi, Andreas.
When I was compiling Angel Script with gcc-arm for using with the Martmalade SDK I have noticed that that compiler doesn't recognize comennts in c++ style in the as_callfunc_arm_gcc.S. At once I have removed all '//' and '/* */' all was compiled successfully. It is a feature of that compiler or maybe I have missed something?
It's slightly inconvenient to remove those comments every time after refreshing from git.
Advertisement
Hi Papirosnik,

as far as I know Marmalade uses the original gcc compiler so I don't understand why it wouldn't understand the comments. The extension .S with the capital means that the assembler file should be preprocessed, and it is the preprocessor's task to remove the comments. It would seem that in your case the preprocessing step was skipped and it tried to compile the assembler code directly, as if the file had the extension .s (small letter).

Is the file downloaded with the correct extension, i.e. .S?

Perhaps you can check with the guys that develop Marmalade or ask in their forum for aid.

Let me know what you find out.

Regards,
Andreas

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

Hi, Andreas.
As I said many times - I love AngelScript
2,25,2 is fine.
only there is another kind of warnings in case we are not using threads in marmalade:

1>d:\_prj\_thestack\src\age\3rd_party\angelscript\source\as_thread.cpp(75): warning C4390: ';' : empty controlled statement found; is this the intent?
1>d:\_prj\_thestack\src\age\3rd_party\angelscript\source\as_thread.cpp(81): warning C4390: ';' : empty controlled statement found; is this the intent?
1>d:\_prj\_thestack\src\age\3rd_party\angelscript\source\as_thread.cpp(87): warning C4390: ';' : empty controlled statement found; is this the intent?
1>d:\_prj\_thestack\src\age\3rd_party\angelscript\source\as_thread.cpp(93): warning C4390: ';' : empty controlled statement found; is this the intent?


It is such little trifle that we should not talk about it
But my love have to be perfect)))
Thanks. I've fixed these warnings in revision 1485.

Regards,
Andreas

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