<?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>Classic/Legacy CodeWarriorのトピックRe: script or plugin to run a program per file?</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157393#M2452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I'd recommend studying the &lt;SPAN style="font-style: italic"&gt;CodeWarrior IDE Automation Guide&lt;/SPAN&gt;, which is located in the CodeWarrior Help directory. However, it seems that you've already done that, because I just took a look at it and see only the GetLinkerName method, as you described. The only thing I can think of at this point is, in the &lt;SPAN style="font-style: italic"&gt;Automation Guide&lt;/SPAN&gt;, go to the chapter on Microsoft COM automation and study the section on Viewing OLE/COM Objects. This, along the OLE/COm Object Viewer, should let you view any IDE COM methods not described in the &lt;SPAN style="font-style: italic"&gt;Guide&lt;/SPAN&gt;.&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Mar 2009 22:10:56 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2009-03-20T22:10:56Z</dc:date>
    <item>
      <title>script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157389#M2448</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using Freescale CodeWarrior 8.7 PA.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have this program that processes a source file and adds some code for debug purposes.&amp;nbsp; The way I use it is through the command line; I pass it the name of the code warrior command line compiler and its arguments, per file.&amp;nbsp; This program processes the source code, then calls the command line compiler with that processed-source and generates an object file.&amp;nbsp; It does this internally; i can generate the processed-source code if necessary, but the program really just wants to generate an object file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can I configure this process to occur through the Code Warrior IDE?&amp;nbsp; Can I add logic to the generation of the object code, per source file?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Feb 2009 01:55:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157389#M2448</guid>
      <dc:creator>BrendanDoonan</dc:creator>
      <dc:date>2009-02-28T01:55:08Z</dc:date>
    </item>
    <item>
      <title>Re: script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157390#M2449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;alright, perhaps i'm over complicating this.&amp;nbsp; Basically, I want to specify what to use as the compiler and linker.&amp;nbsp; Technically I want to still use the command line compiler, mwcceppc, but I want to preface it with my program "att".&amp;nbsp; so I want to change from using "mwcceppc" for compilation&amp;nbsp;to "att mwcceppc".&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I've read that this can be done pretty easily via makefile, ie the makefile lets you specify what command-line to use for the compiler.&amp;nbsp; But the Codewarrior IDE does a great job hiding these options.&amp;nbsp; So how can I do it in the IDE?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2009 00:55:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157390#M2449</guid>
      <dc:creator>BrendanDoonan</dc:creator>
      <dc:date>2009-03-05T00:55:27Z</dc:date>
    </item>
    <item>
      <title>Re: script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157391#M2450</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do a search of these forums using the string "automation". There are several threads that talk about batch processing and automating IDE operation. There might be information in them to answer your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Mar 2009 21:42:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157391#M2450</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2009-03-05T21:42:23Z</dc:date>
    </item>
    <item>
      <title>Re: script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157392#M2451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alright I've gotten into automation a little bit, this is actually pretty cool.&amp;nbsp; I chose to use COM automation through Visual Basic, as its pretty straightfoward, like:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Dim oCW, oProj, oTarg&lt;/P&gt;&lt;P&gt;Set oCW = CreateObject("CodeWarrior.CodeWarriorApp")&lt;/P&gt;&lt;P&gt;Set oProj = oCW.OpenProject(path, 1, 0, 0)&lt;/P&gt;&lt;P&gt;Set oTarg = oProj.GetCurrentTarget&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;etc.&amp;nbsp; I still don't, however, see a method for specifically telling the codewarrior IDE what to use as the compiler and linker, command line style.&amp;nbsp; I see that the Target interface has a method "GetLinkerName", but nothing like SetLinkerName or anything compiler related.&amp;nbsp; So is there any way using this COM automation stuff to specify the compiler/linker to use for building my project?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Mar 2009 22:44:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157392#M2451</guid>
      <dc:creator>BrendanDoonan</dc:creator>
      <dc:date>2009-03-19T22:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157393#M2452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I'd recommend studying the &lt;SPAN style="font-style: italic"&gt;CodeWarrior IDE Automation Guide&lt;/SPAN&gt;, which is located in the CodeWarrior Help directory. However, it seems that you've already done that, because I just took a look at it and see only the GetLinkerName method, as you described. The only thing I can think of at this point is, in the &lt;SPAN style="font-style: italic"&gt;Automation Guide&lt;/SPAN&gt;, go to the chapter on Microsoft COM automation and study the section on Viewing OLE/COM Objects. This, along the OLE/COm Object Viewer, should let you view any IDE COM methods not described in the &lt;SPAN style="font-style: italic"&gt;Guide&lt;/SPAN&gt;.&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Mar 2009 22:10:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157393#M2452</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2009-03-20T22:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157394#M2453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;COM automation will only allow you to build using the compiler/linker configured in the project.&lt;/P&gt;&lt;P&gt;You cannot specify another compiler/linker at that level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 16:56:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157394#M2453</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-03-23T16:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157395#M2454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;then how do i set the compiler/linker?&amp;nbsp; I've looked through the settings pages, but i don't immediately see anything that would let me set that.&amp;nbsp; can it be done via automation?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;or am I going to need to essentially run the command line stuff myself, per file.&amp;nbsp; In which case, how can I easily get the command line options for the compiler/linker specific to my project?&amp;nbsp; I'd really prefer to have this done through the CW IDE, if at all possible...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Mar 2009 23:55:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157395#M2454</guid>
      <dc:creator>BrendanDoonan</dc:creator>
      <dc:date>2009-03-23T23:55:42Z</dc:date>
    </item>
    <item>
      <title>Re: script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157396#M2455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You would&amp;nbsp;need a wrapper Plug in DLL that is doing what you want.&lt;/P&gt;&lt;P&gt;We do not have the tools anymore allowing a customer to expand CodeWArrior with new&lt;/P&gt;&lt;P&gt;functionalities.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We will be moving to an Eclipse based IDE soon. THis should make he whole system more flexible.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the mean time &amp;nbsp;I would recommend you to build your application from command Line using a&amp;nbsp; make file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Mar 2009 17:02:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157396#M2455</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-03-25T17:02:16Z</dc:date>
    </item>
    <item>
      <title>Re: script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157397#M2456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hmm... that's disheartening.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I go into the "Target Settings" panel and change the linker to "EPPC Linux GNU Linker", it changes what panels are available as options.&amp;nbsp; It adds GNU Assembler, Disassembler, and Compiler to "Language Settings".&amp;nbsp; If I go into the newly available "GNU Tools" under "Others", I can set exactly what I want, the command line compiler and linker program names.&amp;nbsp; If I just use my own compiler/linker here, is that really all I need to know?&amp;nbsp; Why are these options not available with my normal linker, and can I somehow enable them with it?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Apr 2009 20:28:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157397#M2456</guid>
      <dc:creator>BrendanDoonan</dc:creator>
      <dc:date>2009-04-08T20:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: script or plugin to run a program per file?</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157398#M2457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The "EPPC Linux GNU Linker" has been designed to use GNU Build tools to build an application from within CodeWarrior&lt;/P&gt;&lt;P&gt;There is no guarantee that it will work for any other tool chain.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 18:13:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/script-or-plugin-to-run-a-program-per-file/m-p/157398#M2457</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2009-04-16T18:13:43Z</dc:date>
    </item>
  </channel>
</rss>

