How to create a static library with Codewarrior for MPC55xx in COMMAND LINE

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to create a static library with Codewarrior for MPC55xx in COMMAND LINE

1,759 Views
frenchdavid
Contributor I
Hi all,
 
I am running CodeWarrior for MPC55xx v2.2 in command line with Cygwin and i want to create a static library (.a) from all object files but I don't find the executable file to use. What is strange is that, by using the IDE I can create it !!!
 
Can anyone help me ?
Labels (1)
0 Kudos
2 Replies

311 Views
CrasyCat
Specialist III
Hello
 
In fact to create a static library you use the linker (mwldeppc.exe) and specify the option -library in the command line.
 
CrasyCat
0 Kudos

311 Views
frenchdavid
Contributor I
Hi CrasyCat,
 
It works, thanks a lot!!
 
Best regards
 
french david
0 Kudos