I have only add -O4 -flto-api=exports.txt to Makefile script in Flascc SDK 1.0 sample 01_helloworld project
this is final Makefile content:
"$(FLASCC)/usr/bin/gcc" $(BASE_CFLAGS) hello.c -O4 -flto-api=exports.txt -emit-swf -swf-size=200x200 -o hello.swf
exports.txt was copy from 09_Pthreads, here is the content:
# built in symbols that must always be preserved
_start1
malloc
free
memcpy
memmove
flascc_uiTickProc
_sync_synchronize
# symbols for C++ exception handling
_Unwind_SjLj_Register
_Unwind_SjLj_Resume
_Unwind_SjLj_Unregister
_Unwind_SjLj_RaiseException
when building complete, I opened it with flash debug APP 11.5, but nothing on it.
Is there anything I can do to figure out the reason? Thanks for any suggestions.