Jump to content

  • Log In with Google      Sign In   
  • Create Account

Interested in a FREE copy of HTML5 game maker Construct 2?

We'll be giving away three Personal Edition licences in next Tuesday's GDNet Direct email newsletter!

Sign up from the right-hand sidebar on our homepage and read Tuesday's newsletter for details!


We're also offering banner ads on our site from just $5! 1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


- - - - -

Compiling for Marmalade SDK


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
3 replies to this topic

#1 Papirosnik   Members   -  Reputation: 125

Like
0Likes
Like

Posted 07 June 2012 - 03:40 PM

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.

Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3415

Like
0Likes
Like

Posted 07 June 2012 - 04:59 PM

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

#3 Papirosnik   Members   -  Reputation: 125

Like
0Likes
Like

Posted 01 December 2012 - 05:31 PM

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)))

#4 Andreas Jonsson   Moderators   -  Reputation: 3415

Like
0Likes
Like

Posted 01 December 2012 - 05:56 PM

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




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS