<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>CodeWarrior for MCU中的主题 Re: How to build a library in Code Warrior 5.0</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-build-a-library-in-Code-Warrior-5-0/m-p/142464#M2868</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;Go to the project settings/preference panel and in Target &amp;gt; Target Settings &amp;gt; Linker set the linker to "Libmaker for ...." and it will create a library for you.&lt;BR /&gt;&lt;BR /&gt;Erich&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Aug 2007 11:17:52 GMT</pubDate>
    <dc:creator>BlackNight</dc:creator>
    <dc:date>2007-08-09T11:17:52Z</dc:date>
    <item>
      <title>How to build a library in Code Warrior 5.0</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-build-a-library-in-Code-Warrior-5-0/m-p/142463#M2867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'm using Code Warrior 5.0 for developing CAN driver for HC08GZ60, now&amp;nbsp;I want to build this driver into a library (lib file) in order to use in another CAN application. Could you please tell me how to do this? I cannot find the option to do this in CW.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Khoa Tran&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 09:39:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-build-a-library-in-Code-Warrior-5-0/m-p/142463#M2867</guid>
      <dc:creator>tranvkhoa</dc:creator>
      <dc:date>2007-08-09T09:39:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a library in Code Warrior 5.0</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-build-a-library-in-Code-Warrior-5-0/m-p/142464#M2868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hello,&lt;BR /&gt;Go to the project settings/preference panel and in Target &amp;gt; Target Settings &amp;gt; Linker set the linker to "Libmaker for ...." and it will create a library for you.&lt;BR /&gt;&lt;BR /&gt;Erich&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:17:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-build-a-library-in-Code-Warrior-5-0/m-p/142464#M2868</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2007-08-09T11:17:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a library in Code Warrior 5.0</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-build-a-library-in-Code-Warrior-5-0/m-p/142465#M2869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Dear Erich&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks for your quick answer. I can make a library now.&lt;/DIV&gt;&lt;DIV&gt;I have another question, when using this library (lib file)&amp;nbsp;in the new project, do I need any other dependencies such as the header files, etc?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Khoa&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 11:41:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-build-a-library-in-Code-Warrior-5-0/m-p/142465#M2869</guid>
      <dc:creator>tranvkhoa</dc:creator>
      <dc:date>2007-08-09T11:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to build a library in Code Warrior 5.0</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-build-a-library-in-Code-Warrior-5-0/m-p/142466#M2870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi Khoa,&lt;BR /&gt;you have two choices:&lt;BR /&gt;- add the .lib file to the project (like a 'true' library): then it is simply using that .lib file and linking it to your elf file/application file. If you do changes in the files creating the library or in your library project, the library will not be re-built. That's useful in case you want to keep the library 'stable'.&lt;BR /&gt;- the other thing is you want to rebuild the library whenver something for the library changes. For this add the .mcp (project file) to your application project. Then the build system will check/build the 'subproject' and rebuild the library if needed. If you want to do this, make sure that you go to the 'Targets' Tab of your project and enable the dot under the 'link chain' column: with this the output file of your sub project (the library) will be added to your 'master project'.&lt;BR /&gt;&lt;IMG alt="" src="file:/C:/DOCUME%7E1/ERICHS%7E1/LOCALS%7E1/Temp/moz-screenshot.jpg" /&gt;&lt;BR /&gt;This sounds maybe a little bit complicated (gee, a picture here would be easier to understand this), but otherwise you can go into the CW help file index and see what is documented there under the 'subproject' keyword?&lt;BR /&gt;&lt;BR /&gt;Erich&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Aug 2007 15:28:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-build-a-library-in-Code-Warrior-5-0/m-p/142466#M2870</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2007-08-09T15:28:17Z</dc:date>
    </item>
  </channel>
</rss>

