<?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 Regenerating .o files in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Regenerating-o-files/m-p/760113#M9643</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a project which has a large number of precompiled .o files.&amp;nbsp; I also have the source code to generate these files but they are not currently a part of the project. I want to change the project so that every time I rebuild, the .o files are generated from scratch from the .c and .h files so that I can debug the code, but I can't figure out how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I clean the project, the .o files remain, and if I just drop the source files into the project I get compile errors from multiple definition of the functions in the source files. If I just delete the .o files and try to rebuild I immediately get a dialog-box error message to the tune that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&amp;nbsp; 'build project' has encountered a problem. Errors occurred during the build. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that there is some project setting which stipulates that the .o files are all there, precompiled and ready to use, but I cannot find it. Could anyone point me in the right direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Dec 2017 17:02:50 GMT</pubDate>
    <dc:creator>tomcarney</dc:creator>
    <dc:date>2017-12-04T17:02:50Z</dc:date>
    <item>
      <title>Regenerating .o files</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Regenerating-o-files/m-p/760113#M9643</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a project which has a large number of precompiled .o files.&amp;nbsp; I also have the source code to generate these files but they are not currently a part of the project. I want to change the project so that every time I rebuild, the .o files are generated from scratch from the .c and .h files so that I can debug the code, but I can't figure out how to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I clean the project, the .o files remain, and if I just drop the source files into the project I get compile errors from multiple definition of the functions in the source files. If I just delete the .o files and try to rebuild I immediately get a dialog-box error message to the tune that :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"&amp;nbsp; 'build project' has encountered a problem. Errors occurred during the build. "&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am assuming that there is some project setting which stipulates that the .o files are all there, precompiled and ready to use, but I cannot find it. Could anyone point me in the right direction?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Dec 2017 17:02:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Regenerating-o-files/m-p/760113#M9643</guid>
      <dc:creator>tomcarney</dc:creator>
      <dc:date>2017-12-04T17:02:50Z</dc:date>
    </item>
    <item>
      <title>Re: Regenerating .o files</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Regenerating-o-files/m-p/760114#M9644</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Tom,&lt;/P&gt;&lt;P&gt;What about your project ? Could you please share it or show the steps and errors when you clean&lt;/P&gt;&lt;P&gt;and build .&lt;/P&gt;&lt;P&gt;I made a simple test on my side , build-&amp;gt;clean-&amp;gt;build. when clean the project, the .o files can&lt;/P&gt;&lt;P&gt;disappear , please have a look at my attachment .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;TIC&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>Tue, 05 Dec 2017 07:01:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Regenerating-o-files/m-p/760114#M9644</guid>
      <dc:creator>Alice_Yang</dc:creator>
      <dc:date>2017-12-05T07:01:47Z</dc:date>
    </item>
    <item>
      <title>Re: Regenerating .o files</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/Regenerating-o-files/m-p/760115#M9645</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nostarch.com/gnumake/" title="https://www.nostarch.com/gnumake/"&gt;https://www.nostarch.com/gnumake/&lt;/A&gt;&amp;nbsp; is worth reading.&amp;nbsp; The free sample chapter on 'pitfalls' of Make may help with your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is needed is two different Makefiles for the two projects (two different sets of .o's make it two projects) with one parent Makefile.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Dec 2017 13:50:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/Regenerating-o-files/m-p/760115#M9645</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2017-12-05T13:50:56Z</dc:date>
    </item>
  </channel>
</rss>

