Sign in to follow this  
Papirosnik

Compiling for Marmalade SDK

Recommended Posts

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.

Share this post


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

Share this post


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

[CODE]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?[/CODE]

It is such little trifle that we should not talk about it
But my love have to be perfect)))

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this