how to create lib file for c file with codewarrior2.10?

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

how to create lib file for c file with codewarrior2.10?

800件の閲覧回数
huanghai
Contributor I

i have codewarrior2.10.

i want to convert c file to a lib file.How can i do?thanks.

0 件の賞賛
返信
3 返答(返信)

687件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello,

open project settings, choose EPPC Target option and select Library instead of Application. Please see the figure below.

pastedImage_1.png

If you have any other questions, please feel free to write me back.

Regards,

Martin

0 件の賞賛
返信

687件の閲覧回数
huanghai
Contributor I

Hello,Martin,thanks for reply.

I follow your steps,click OK and click Make to build project,but it does not create other file like .lib file type.

My project compose with .c and .h files,some .c file are more important,so I only want to convert these .c file(not all .c file) into lib file.Is there some good method?

I remember that cw4.x has a tool which name is Libmaker.exe,it can covert one .c file into one .lib file.

0 件の賞賛
返信

687件の閲覧回数
martin_kovar
NXP Employee
NXP Employee

Hello,

CodeWarrior by default creates output file with the same name for application and also for library. Please change the name of your output file in second line.

pastedImage_1.png

Regards,

Martin

0 件の賞賛
返信