creating an object file

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

creating an object file

1,166 Views
ziv
Contributor I
I need to share some of my code with another party, but I don't want to expose all of it. how do I compile some of the source files into object files and then link them together with the rest of the project ?
Labels (1)
0 Kudos
1 Reply

252 Views
CrasyCat
Specialist III
Hello
 
- Which CPU are you targeting (HC08, HC12, Coldfire, ..)
- Which version of CodeWarrior are you using?
To retrieve that info:
- Start CodeWarrior
- Select Help -> About Freescale CodeWarrior
- Click on "Install Products"
- CodeWarrior version used is displayed on top in the Installed Products dialog.
 
Here I would suggest you to create an object library from your project and send the generated .lib file to your third party.
He can then just add the .lib to his CodeWarrior project.
 
You have to tell him which options /configuration you have been using to generate the library to make sure there is no inconsistency between your code and his code.
 
In order to tell you for sure how to generate an object library I would need to know which processor you are targeting.
 
In the mean time just look into the Coldfire Target Panel if you are building for Coldfire or EPPC Target panel if you are building for PowerArchitecture.
CrasyCat
0 Kudos