How to create shared library using cross compilation method?

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

How to create shared library using cross compilation method?

ソリューションへジャンプ
1,636件の閲覧回数
eldhopaulk
Contributor II

How to create shared library using cross compilation method like using arm-none-linux-gnueabi

0 件の賞賛
返信
1 解決策
1,525件の閲覧回数
raymondwang
Senior Contributor I

It's not relevant to iMX CPU. Even that I can share with you something.

gcc -shared -fPIC -o xxx.so source1.c source2.c sourcex.c

This will generate a xxx.so which is shared library.

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,526件の閲覧回数
raymondwang
Senior Contributor I

It's not relevant to iMX CPU. Even that I can share with you something.

gcc -shared -fPIC -o xxx.so source1.c source2.c sourcex.c

This will generate a xxx.so which is shared library.

0 件の賞賛
返信
1,525件の閲覧回数
eldhopaulk
Contributor II

Thank you Wang!

0 件の賞賛
返信