How do i build a library with Codewarrior 10 (eclipse version)?

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

How do i build a library with Codewarrior 10 (eclipse version)?

ソリューションへジャンプ
2,721件の閲覧回数
Kaare
Contributor III

Hi,

 

We've changed to the new eclipse based codewarrior 10. However i can't seem to figure out how i should build a library in this version?

 

In the old Codewarrior suite we could make alibrary of lets say math functions and compile them into a .lib file, which we could then include in our other projects.

 

 

How do i do this in Codewarrior 10?

 

Thanks in advance

Kaare

ラベル(1)
1 解決策
972件の閲覧回数
CrasyCat
Specialist III

Hello

 

I assume you are trying to create a library for Coldfire. Right?

 

Just open project properties and go to C/C++ Build > Settings page.

Once you are there, go to Coldfire Linker > Output panel and change Output Type to Static Library.

 

Then change to the Build Artifact tab and change artifact extension to lib or a or whatever you want to use as extension for your library.

 

CrasyCat

元の投稿で解決策を見る

3 返答(返信)
972件の閲覧回数
Kaare
Contributor III

No one who knows how to make a simple library?

 

I think what i'm after is an .a file.

 

I tried changing output type for the linker from application to 'static library'. However that just creates an .elf file.

 

 

It's incredible how freescale just launches a new development IDE with almost no available help at all!! Theres nothing in the help files that describes this procedure.

0 件の賞賛
返信
973件の閲覧回数
CrasyCat
Specialist III

Hello

 

I assume you are trying to create a library for Coldfire. Right?

 

Just open project properties and go to C/C++ Build > Settings page.

Once you are there, go to Coldfire Linker > Output panel and change Output Type to Static Library.

 

Then change to the Build Artifact tab and change artifact extension to lib or a or whatever you want to use as extension for your library.

 

CrasyCat

972件の閲覧回数
Kaare
Contributor III

Hi Crasycat

 

Yes that did the trick, thank you! I also get a response on my support ticket for this issue. There is a pdf guide on their website which shows all the steps required to make a library and how to use it:

 

How to build and use a static library for Coldfire MCU's in CW 10

 

 

Regards,

Kaare Mai

0 件の賞賛
返信