leaningtech-dev team mailing list archive
-
leaningtech-dev team
-
Mailing list archive
-
Message #00198
Re: [Question #254810]: Unable to build Cheerp C library (newlib)
Question #254810 on Cheerp changed:
https://answers.launchpad.net/cheerp/+question/254810
Status: Answered => Open
Johan Axelsson is still having a problem:
Hi,
the newlib build works fine now but it seems like the output js file gets truncated.
I have a very simple test example:
void loadCallback()
{
HTMLElement* body=document.get_body();
}
void webMain()
{
document.addEventListener("DOMContentLoaded",cheerp::Callback(loadCallback));
}
here is the last part of the output file:
function handleVAArg(ptr){var ret=ptr.d[ptr.o];ptr.o++;return ret;}
eh();
l_()
the output file get different size every time i compile:
-rw-r--r-- 1 root root 615795 Sep 21 22:01 sect.js
-rw-r--r-- 1 root root 617208 Sep 21 22:01 sect.js
-rw-r--r-- 1 root root 617208 Sep 21 22:01 sect.js
Regards Johan
--
You received this question notification because you are a member of
Leaningtech Team, which is an answer contact for Cheerp.