I have successfully compiled Angelscript with max portability mode on flascc (new flash c++ compiler) and everything works fine but when i compile anything in Angelscript using build command it takes 6+ sec to compile even if that code is just of 4 lines.
This problem stops flash's swf file from executing further giving error in debug mode that script is executing for long time,
If i load byte code i get error saying stack recalculation required (this error is only in flascc compiled code not in windows or android).
There is one last thing that native Calling Conventions work for SetMessageCallback so i think it means all library doesn't need to be compiled with max portability mode, I didn't tried this yet but will see later.
So if someone knows why build takes so long time please tell me and i think its good idea to add official support for flascc as it only requires makefile from gnuc folder to compile thought there is configuration for this compiler in config file.
using Angelscript version : 22401