<?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: object-file location in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-object-file-location/m-p/133740#M1452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello CrasyCat,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;unfortunately (1-) is not applicable for me because&amp;nbsp;I want to use the IDE.&lt;/DIV&gt;&lt;DIV&gt;And (2-) does not help, because the goal was not to have the files in the local directory but not to generate them on the server (mainly for network traffic and performance reasons).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Nevertheless&amp;nbsp;thanks for the quick reply.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Oct 2006 18:36:15 GMT</pubDate>
    <dc:creator>coder_c_ening</dc:creator>
    <dc:date>2006-10-20T18:36:15Z</dc:date>
    <item>
      <title>HC08: object-file location</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-object-file-location/m-p/133738#M1450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;I'm using CodeWarrior for my HC08-projects.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I'd like the compiler to place the object-files into a local directory outside the project directory (which is on a network drive).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The project directory contains some .ini-files (e.g. HC08_Full_Chip_Simulator.ini) with an entry "OBJPATH={Project}bin". But this entry&amp;nbsp;is ignored.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The object-files are always&amp;nbsp;created in &amp;lt;project&amp;gt;\&amp;lt;project_name&amp;gt;_Data\Standard\ObjectCode.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If I use compiler "Command Line Arguments" "-ObjN=c:\temp\%n.o" then I get a warning:&lt;/DIV&gt;&lt;DIV&gt;"Ignoring old option content 'c:\temp\%n.o' because of second one 'Z:\Projects\HC08test01\HC08test01_Data\Standard\ObjectCode\man.c.o'"&lt;BR /&gt;I can not find where this second one is set and how to change or disable it.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Trying to use the&amp;nbsp;compiler&amp;nbsp;command line argument -Env"OBJPATH=c:\temp\" leads to no result either, it seems to be ignored.&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Can anybody help me?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Message Edited by CrasyCat on &lt;SPAN class="date_text"&gt;2007-04-13&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;01:39 PM&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 17:28:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-object-file-location/m-p/133738#M1450</guid>
      <dc:creator>coder_c_ening</dc:creator>
      <dc:date>2006-10-20T17:28:09Z</dc:date>
    </item>
    <item>
      <title>Re: object-file location</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-object-file-location/m-p/133739#M1451</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;If you are building from the IDE, you cannot change the location of the generates object files.&lt;/DIV&gt;&lt;DIV&gt;The IDE request the object files to be located in the project _Data directory.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you need to get the files some other places I see only 2 solutions:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;1- You build from batch using a make file. That means you need to convert your project to a make file&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;and build it using&amp;nbsp;a make utility. You can use either the make.exe delivered with HC08 tools or&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;any other make utility (gnu make, nmake, ....).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Note that in that case you have to create your make file manually.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;2- You activate the "BatchRunner PostLinker" in the "Target Settings" panel and run a batch file at the end&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;of the build process. In that batch file you can copy all object file from their original directory to the&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;final one.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I hope this helps.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 17:45:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-object-file-location/m-p/133739#M1451</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2006-10-20T17:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: object-file location</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-object-file-location/m-p/133740#M1452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello CrasyCat,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;unfortunately (1-) is not applicable for me because&amp;nbsp;I want to use the IDE.&lt;/DIV&gt;&lt;DIV&gt;And (2-) does not help, because the goal was not to have the files in the local directory but not to generate them on the server (mainly for network traffic and performance reasons).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Nevertheless&amp;nbsp;thanks for the quick reply.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Oct 2006 18:36:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HC08-object-file-location/m-p/133740#M1452</guid>
      <dc:creator>coder_c_ening</dc:creator>
      <dc:date>2006-10-20T18:36:15Z</dc:date>
    </item>
  </channel>
</rss>

