<?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: Codewarrior 5.9 IDE and command line compilers do not produce the same output file in CodeWarrior Development Tools</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-5-9-IDE-and-command-line-compilers-do-not-produce/m-p/1514410#M8849</link>
    <description>&lt;P&gt;Hi&amp;nbsp;vvazir&amp;nbsp;&lt;/P&gt;
&lt;P&gt;command line and IDE use the same version compiler.&lt;/P&gt;
&lt;P&gt;when using Commandline, we need to make sure the toolchain command arguments are the same as using IDE.&lt;/P&gt;
&lt;P&gt;We can check IDE compiler setting manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
    <pubDate>Wed, 31 Aug 2022 07:09:04 GMT</pubDate>
    <dc:creator>ZhangJennie</dc:creator>
    <dc:date>2022-08-31T07:09:04Z</dc:date>
    <item>
      <title>Codewarrior 5.9 IDE and command line compilers do not produce the same output file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-5-9-IDE-and-command-line-compilers-do-not-produce/m-p/1514084#M8848</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I am trying to setup a makefile for a codewarrior project to integrate into our build pipeline. I am able to run the make file and compile/link all the code, but when using a diff tool I can see that the output file does not match the file I would get if I compiled from the IDE.&lt;/P&gt;&lt;P&gt;My main question is, are the command line and IDE compilers the same? I know the IDE compiler is integrated into the IDE and it does not call the command line one, but is it so different that I would get a different output from the same source files?&lt;/P&gt;&lt;P&gt;The second question, is there an easy way to extract all the compiler options from the IDE? I already tried exporting the configuration panels as xml files, but the configuration options in the IDE do not have the same name as the command line parameters.&lt;/P&gt;&lt;P&gt;Here are the compile flags for the makefile&lt;/P&gt;&lt;DIV&gt;&lt;PRE&gt;&lt;SPAN&gt;SHARED_Flags = -progress -search -msgstyle IDE&lt;BR /&gt;MWASM_Flags&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;$(&lt;/SPAN&gt;&lt;SPAN&gt;SHARED_Flags&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt; -case -debug -assert_nop -warn_nop -warn_stall -nolegacy -nodebug_workaround -data 16 -prog 16 -warn_odd_sp&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MWCC_Flags&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;$(&lt;/SPAN&gt;&lt;SPAN&gt;SHARED_Flags&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt; -encoding ascii -prefix ./preproc -ansi off -char signed -enum min -inline all -ipa off -requireprotos -stdkeywords off -strings reuse -strict off -trigraphs off -noconstarray -opt level=3, speed -DO off -padpipe -largedata -globalsInLowerMemory -segchardata -noinitializedzerodata -noasmout -chkasm off -chkcsrcpipeline off -warnings noerror, illpragmas, emptydecl, unwanted, unusedarg, unusedvar, extracomma, pedantic, hidevirtual, ptrintconv, notokenpasting, missingreturn, structclass, nofilecaps, nosysfilecaps, implicitconv, impl_int2float, impl_float2int, impl_signedunsigned, noundefmacro, nonotinlined, nopadding, nonotused -ppopt nofull, nocomment, noline, nospace&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;MWLD_Flags&lt;/SPAN&gt;&lt;SPAN&gt; = &lt;/SPAN&gt;&lt;SPAN&gt;$(&lt;/SPAN&gt;&lt;SPAN&gt;SHARED_Flags&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;SPAN&gt; -deadstrip -main F_EntryPoint -map showbyte -sortbyaddr -srec -sreceol dos -sreclength 252 -application -sym fullpath -warnings on, noerror -largedata&lt;/SPAN&gt;&lt;/PRE&gt;&lt;DIV&gt;&amp;nbsp;Attached in the zip file are all the config settings I could find.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thank you&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 30 Aug 2022 17:38:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-5-9-IDE-and-command-line-compilers-do-not-produce/m-p/1514084#M8848</guid>
      <dc:creator>vvazir</dc:creator>
      <dc:date>2022-08-30T17:38:49Z</dc:date>
    </item>
    <item>
      <title>Re: Codewarrior 5.9 IDE and command line compilers do not produce the same output file</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-5-9-IDE-and-command-line-compilers-do-not-produce/m-p/1514410#M8849</link>
      <description>&lt;P&gt;Hi&amp;nbsp;vvazir&amp;nbsp;&lt;/P&gt;
&lt;P&gt;command line and IDE use the same version compiler.&lt;/P&gt;
&lt;P&gt;when using Commandline, we need to make sure the toolchain command arguments are the same as using IDE.&lt;/P&gt;
&lt;P&gt;We can check IDE compiler setting manually.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Jun Zhang&lt;/P&gt;</description>
      <pubDate>Wed, 31 Aug 2022 07:09:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Codewarrior-5-9-IDE-and-command-line-compilers-do-not-produce/m-p/1514410#M8849</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2022-08-31T07:09:04Z</dc:date>
    </item>
  </channel>
</rss>

