<?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>topic Re: Bulding a static library with CodeWarrior for Microcontrollers (Classic IDE) in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Bulding-a-static-library-with-CodeWarrior-for-Microcontrollers/m-p/459127#M3393</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much zang jennie, thats waht i excatyl want ,,thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 Nov 2015 04:41:54 GMT</pubDate>
    <dc:creator>inside_system</dc:creator>
    <dc:date>2015-11-19T04:41:54Z</dc:date>
    <item>
      <title>Bulding a static library with CodeWarrior for Microcontrollers (Classic IDE)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Bulding-a-static-library-with-CodeWarrior-for-Microcontrollers/m-p/459124#M3390</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I developed a firmware containing many generic functions on a HCS08 microcontroller using CodeWarrior for Microcontrollers (Classic IDE) Version 6.3.&lt;/P&gt;&lt;P&gt;It would be very nice to precompile certain modules and supply them as a static library to customers, so that they can compile own C code against this API without seeing the source code.&lt;/P&gt;&lt;P&gt;Could you tell me how to 1.) build a static library in CodeWarrior and 2.) include it into a CodeWarrior project so that the linker will find it?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;Friedemann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 10:03:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Bulding-a-static-library-with-CodeWarrior-for-Microcontrollers/m-p/459124#M3390</guid>
      <dc:creator>eisenrah</dc:creator>
      <dc:date>2015-11-06T10:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Bulding a static library with CodeWarrior for Microcontrollers (Classic IDE)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Bulding-a-static-library-with-CodeWarrior-for-Microcontrollers/m-p/459125#M3391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can use Codewarrior create your own lib file. To create .lib file, you need follow the steps below.(please also refer the attached mylib project)&lt;/P&gt;&lt;OL start="1" style="list-style-type: decimal;"&gt;&lt;LI&gt;Create one project with wizard.(I use QG8 as target chip)&lt;/LI&gt;&lt;LI&gt;change the file name main.c as the lib name (in sample is mylib.c)&lt;/LI&gt;&lt;LI&gt;define the lib functions in mylib.c&lt;/LI&gt;&lt;LI&gt;add header file mylib.h in the project, and declare the prototype of the lib functions in it.&lt;/LI&gt;&lt;LI&gt;add “#include mylib.h” in&amp;nbsp; mylib.c&lt;/LI&gt;&lt;LI&gt;delete the following files from the project: start08.c, derivative.h, *.prm, MC9S08QG8.h, MC9S08QG8.c, ansiis.lib.c&lt;/LI&gt;&lt;LI&gt;Press ALT+F7, in “Target Setting”, select “Libmaker for HC08” as Linker in the second droplist. In “Libmaker for HC08”, name your Library Filename.(the sample use mylib.lib), Click OK to close this window.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The following is how to use the lib file in the project:&lt;/P&gt;&lt;OL start="1" style="list-style-type: decimal;"&gt;&lt;LI&gt;copy “mylib.lib” and “mylib.h” to your current project folder.&lt;/LI&gt;&lt;LI&gt;import “mylib.lib” and “mylib.h” in your current project&lt;/LI&gt;&lt;LI&gt;add “#include "mylib.h"”in the main.c file&lt;/LI&gt;&lt;LI&gt;then you can use the lib functions in your current project code.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can it help you?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Zhang Jun&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 03:18:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Bulding-a-static-library-with-CodeWarrior-for-Microcontrollers/m-p/459125#M3391</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2015-11-09T03:18:58Z</dc:date>
    </item>
    <item>
      <title>Re: Bulding a static library with CodeWarrior for Microcontrollers (Classic IDE)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Bulding-a-static-library-with-CodeWarrior-for-Microcontrollers/m-p/459126#M3392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly what I need.&lt;/P&gt;&lt;P&gt;Perfect, thanks a bunch! :smileyhappy:&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Nov 2015 09:11:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Bulding-a-static-library-with-CodeWarrior-for-Microcontrollers/m-p/459126#M3392</guid>
      <dc:creator>eisenrah</dc:creator>
      <dc:date>2015-11-16T09:11:52Z</dc:date>
    </item>
    <item>
      <title>Re: Bulding a static library with CodeWarrior for Microcontrollers (Classic IDE)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Bulding-a-static-library-with-CodeWarrior-for-Microcontrollers/m-p/459127#M3393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thank you very much zang jennie, thats waht i excatyl want ,,thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Nov 2015 04:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Bulding-a-static-library-with-CodeWarrior-for-Microcontrollers/m-p/459127#M3393</guid>
      <dc:creator>inside_system</dc:creator>
      <dc:date>2015-11-19T04:41:54Z</dc:date>
    </item>
  </channel>
</rss>

