AnsweredAssumed Answered

MCF5445x with LTIB - static linking

Question asked by David Price on Apr 30, 2009
Latest reply on May 6, 2009 by David Price

I am using LTIB (m54455_20071214-ltib-final.iso) and the target is MCF5445x.  Currently have an eval board that has a flash filing system complete with stdc/stdc++ shared objects.  I was looking into the options of creating a statically linked executable, so I put "-static" on the link line.  When attempting to run on the target I get illegal instruction.  If I remove "-static" it works ok.  I tried helloWorld and that didn't work either.

 

Anybody tried something similar?

 

thanks

Outcomes