I have tested the hello world examples on both previously - this was my issue where i restarted my PC and then update the linker file etc. and they are fine.
We are looking at regenerating our GUI design in parts to see if one of the bitmaps can cause a problem.
Very sure it works correctly functionally - as long as the data is valid! your function EwDecompress running to infinity as it seems means it is not escaping or giving up. There needs to be a size or max mem reference, it may find the code its looking for in another area of memory - i.e. overrun.
aDest & aData are incremented with no limit check; the algorithm assumes the curCode==257 will definately be found!
I have repeateble code in many projects and as you said as long as the provided data is valid. The data comes from the generator and the EwDecompress() code is part of you professional add on.
Something to add is the GCC is using static library however i only added the professional add on so i could debug it - the results are the same with our large project with library or professional add on code.
Where can the provided data become invalid? if the source is from the generator?
Do you have a large project with many resources to the order of 2.2M that you can use on this platform so we can attempt to narrow down potentials?