MCF5445x with LTIB - static linking

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

MCF5445x with LTIB - static linking

ソリューションへジャンプ
1,417件の閲覧回数
DJP
Contributor I

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

ラベル(1)
0 件の賞賛
返信
1 解決策
608件の閲覧回数
fsl_linux_spt
Contributor III

This looks like a toolchain issue reported to codesourcery with -static

 

Here's the report to CodeSourcery:

 http://www.codesourcery.com/archives/coldfire-gnu-discuss/msg00620.html
Here is the the gcc bug on gcc's bugzilla:

 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36047

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
609件の閲覧回数
fsl_linux_spt
Contributor III

This looks like a toolchain issue reported to codesourcery with -static

 

Here's the report to CodeSourcery:

 http://www.codesourcery.com/archives/coldfire-gnu-discuss/msg00620.html
Here is the the gcc bug on gcc's bugzilla:

 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=36047

0 件の賞賛
返信
608件の閲覧回数
DJP
Contributor I
thanks for that, very helpful!
0 件の賞賛
返信