This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Create a new project using File->New->CCS Project, and go through the wizard. In the window for "CCS Project Settings", choose Output Type to be "Static Library" instead of "Executable". Add source files as you normally would to the project. In a library project, CCS will run the compiler and archiver to build the library, instead of the normal compiler and linker.