<?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>MCUXpresso IDEのトピックRe: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
    <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1656397#M8982</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I also have the same requirement, I have a project and it has built and created .bin file. Now, my requirement is to built the project to static library instead of .bin(executable). I have tried the above steps. Project&amp;gt;Properties&amp;gt;c/c++ General&amp;gt;settings and change the build artifact to Shared library from Executable. Still, it's generating only (.bin) not the shared library.&lt;/P&gt;&lt;P&gt;IDE: MCU Expresso&lt;/P&gt;&lt;P&gt;Please suggest me the steps to create a shared library / static library using my existing project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
    <pubDate>Wed, 24 May 2023 07:36:02 GMT</pubDate>
    <dc:creator>Tirumalasetty</dc:creator>
    <dc:date>2023-05-24T07:36:02Z</dc:date>
    <item>
      <title>How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/968976#M4864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have an existing project in MCUXpresso that I would like to create a static library (.a) file from so that I can use the functions and libraries in a future project. I am not sure the best way of going about doing this. I have seen people make static libraries and then link them in other projects in the past. Any guidance on how to do this would be appreciated. Thank you,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 15:23:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/968976#M4864</guid>
      <dc:creator>rcusack1</dc:creator>
      <dc:date>2019-06-10T15:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/968977#M4865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I also want to add that I have tried going to Project &amp;gt; Properties &amp;gt; C/C++ General &amp;gt; Settings and change the build artifact, but the only artifact types available are Shared library and Executable&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 16:01:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/968977#M4865</guid>
      <dc:creator>rcusack1</dc:creator>
      <dc:date>2019-06-10T16:01:27Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/968978#M4866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ryan,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I think the following document will help you.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;A href="https://community.nxp.com/docs/DOC-335630"&gt;How to create and use static library in MCUXpresso IDE&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Felipe&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt; Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Jun 2019 22:26:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/968978#M4866</guid>
      <dc:creator>FelipeGarcia</dc:creator>
      <dc:date>2019-06-10T22:26:42Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1656397#M8982</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I also have the same requirement, I have a project and it has built and created .bin file. Now, my requirement is to built the project to static library instead of .bin(executable). I have tried the above steps. Project&amp;gt;Properties&amp;gt;c/c++ General&amp;gt;settings and change the build artifact to Shared library from Executable. Still, it's generating only (.bin) not the shared library.&lt;/P&gt;&lt;P&gt;IDE: MCU Expresso&lt;/P&gt;&lt;P&gt;Please suggest me the steps to create a shared library / static library using my existing project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 07:36:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1656397#M8982</guid>
      <dc:creator>Tirumalasetty</dc:creator>
      <dc:date>2023-05-24T07:36:02Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1656624#M8986</link>
      <description>&lt;P&gt;a static library (archive) is very different from an application (application entry point, startup, etc). Changing this 'in place' is possible, but you have to know 100% what you are doing.&lt;/P&gt;&lt;P&gt;What I recommend is&lt;/P&gt;&lt;P&gt;a) create a new project with the IDE (here you have the option to select to build a static library)&lt;/P&gt;&lt;P&gt;b) then copy/move over your files you want to have in the library.&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Wed, 24 May 2023 12:00:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1656624#M8986</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-05-24T12:00:06Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659852#M9004</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/17173"&gt;@ErichStyger&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;As per your comment I have created a "new C library project" for creating library. Later, I have copied all my .c files in source folder and .h folder in to include folder.&lt;/P&gt;&lt;P&gt;Now, if I build my project I was able to get the library. 50% of my requirement completed.&lt;/P&gt;&lt;P&gt;Another 50% is I have to copy a library file generated through some source files as part of my "C library project". Along with my own source and include files I need a library file also part of my project.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Rambabu.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 10:43:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659852#M9004</guid>
      <dc:creator>Tirumalasetty</dc:creator>
      <dc:date>2023-05-30T10:43:19Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659854#M9005</link>
      <description>How to keep A library file inside a library project.</description>
      <pubDate>Tue, 30 May 2023 10:45:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659854#M9005</guid>
      <dc:creator>Tirumalasetty</dc:creator>
      <dc:date>2023-05-30T10:45:18Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659885#M9006</link>
      <description>&lt;P&gt;I'm sorry, but I don't understand what you mean?&lt;/P&gt;&lt;P&gt;Is it about how you can manage the library dependencies? Then have a read at &lt;A href="https://mcuoneclipse.com/2017/09/19/managing-project-and-library-dependencies-with-eclipse-cdt/" target="_blank"&gt;https://mcuoneclipse.com/2017/09/19/managing-project-and-library-dependencies-with-eclipse-cdt/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Is it about how to link with a library? Then have a read at &lt;A href="https://mcuoneclipse.com/2017/07/23/how-to-use-custom-library-names-with-gnu-linker-and-eclipse/" target="_blank"&gt;https://mcuoneclipse.com/2017/07/23/how-to-use-custom-library-names-with-gnu-linker-and-eclipse/&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 11:17:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659885#M9006</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-05-30T11:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659894#M9007</link>
      <description>I have a requirement to link a already generated library file(sum.a) to a library project(new_library_project). Once I build this library project(new_library_project) I will get a output library file(new_library_project.a), which should have the contents of old library file(sum.a).&lt;BR /&gt;&lt;BR /&gt;Hope this is clear.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Tue, 30 May 2023 11:24:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659894#M9007</guid>
      <dc:creator>Tirumalasetty</dc:creator>
      <dc:date>2023-05-30T11:24:07Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659911#M9008</link>
      <description>&lt;P&gt;if you want to combine two archives into one, use this:&lt;/P&gt;&lt;P&gt;ar -rcT libA.a libB.a libAplusB.a&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 11:42:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659911#M9008</guid>
      <dc:creator>ErichStyger</dc:creator>
      <dc:date>2023-05-30T11:42:34Z</dc:date>
    </item>
    <item>
      <title>Re: How To Create A Static Library (.a) from an Existing Project MCUXpresso</title>
      <link>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659912#M9009</link>
      <description>&lt;P&gt;I have a requirement to link a already generated library file(sum.a) to a newly created library project(new_library_project). Once I build this library project(new_library_project) I will get a output library file(new_library_project.a), which should have the contents of old library file(sum.a).&lt;/P&gt;&lt;P&gt;Hope this is clear.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 30 May 2023 11:42:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-IDE/How-To-Create-A-Static-Library-a-from-an-Existing-Project/m-p/1659912#M9009</guid>
      <dc:creator>Tirumalasetty</dc:creator>
      <dc:date>2023-05-30T11:42:43Z</dc:date>
    </item>
  </channel>
</rss>

