<?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>CodeWarrior Development ToolsのトピックCompilation for Kinetis with Codewarrior 10.6 provides empty object files</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Compilation-for-Kinetis-with-Codewarrior-10-6-provides-empty/m-p/365579#M1905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to add external library sources written in C to template MQX project.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I have is when I compile the library, codewarrior first generates Makefiles which later are used for compiling files. There are no errors during compilation, however all object files are empty.&lt;/P&gt;&lt;P&gt;This is examplary snippet from console during compilation:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="plain" name="code"&gt;"C:/Freescale/CW MCU v10.6/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Sources/file.c" @"Sources/file.args" -Wa,-adhlns="Sources/file.o.lst" -MMD -MP -MF"Sources/file.d" -o"Sources/file.o"&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to compile single file using contect menu-&amp;gt;Build Selected File(s) I got non-empty compiled object file.&lt;/P&gt;&lt;P&gt;Console contains:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="plain" name="code"&gt;"C:\Freescale\CW MCU v10.6\eclipse\../Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "..\Sources\file.c" @"Sources\file_1.args" -Wa,-adhlns="$@.lst" -o"Sources\file.o" Sources\file_1.args : -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -g3 -gdwarf-2 -gstrict-dwarf -DMQX -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/bsp" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/psp" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/bsp/Sources" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/bsp/Generated_Code" -I"C:/Freescale/CW MCU v10.6/MCU/ProcessorExpert/lib/Kinetis/pdd/inc" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/mfs" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/shell" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/rtcs" -I"C:/Sources/aux_hdrs" -I"C:/Sources/inc" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -c -fmessage-length=0 -D_EWL_C99=1 -M&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, parameters I've defined in project specs are used here and compilation actually works.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do with the project to have all files compiled properly ?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Maciej Wdowiarz-Bilski&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Mar 2015 16:08:40 GMT</pubDate>
    <dc:creator>maciejwdowiarz-</dc:creator>
    <dc:date>2015-03-06T16:08:40Z</dc:date>
    <item>
      <title>Compilation for Kinetis with Codewarrior 10.6 provides empty object files</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Compilation-for-Kinetis-with-Codewarrior-10-6-provides-empty/m-p/365579#M1905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I try to add external library sources written in C to template MQX project.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The problem I have is when I compile the library, codewarrior first generates Makefiles which later are used for compiling files. There are no errors during compilation, however all object files are empty.&lt;/P&gt;&lt;P&gt;This is examplary snippet from console during compilation:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="plain" name="code"&gt;"C:/Freescale/CW MCU v10.6/Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "../Sources/file.c" @"Sources/file.args" -Wa,-adhlns="Sources/file.o.lst" -MMD -MP -MF"Sources/file.d" -o"Sources/file.o"&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to compile single file using contect menu-&amp;gt;Build Selected File(s) I got non-empty compiled object file.&lt;/P&gt;&lt;P&gt;Console contains:&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE class="plain" name="code"&gt;"C:\Freescale\CW MCU v10.6\eclipse\../Cross_Tools/arm-none-eabi-gcc-4_7_3/bin/arm-none-eabi-gcc" "..\Sources\file.c" @"Sources\file_1.args" -Wa,-adhlns="$@.lst" -o"Sources\file.o" Sources\file_1.args : -mcpu=cortex-m4 -mthumb -mfloat-abi=soft -g3 -gdwarf-2 -gstrict-dwarf -DMQX -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/bsp" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/psp" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/bsp/Sources" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/bsp/Generated_Code" -I"C:/Freescale/CW MCU v10.6/MCU/ProcessorExpert/lib/Kinetis/pdd/inc" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/mfs" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/shell" -I"C:/Freescale/Freescale_MQX_4_1/lib/twrk70f120m.cw10gcc/debug/rtcs" -I"C:/Sources/aux_hdrs" -I"C:/Sources/inc" -O0 -ffunction-sections -fdata-sections -Wall -std=gnu99 -c -fmessage-length=0 -D_EWL_C99=1 -M&amp;nbsp; &lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, parameters I've defined in project specs are used here and compilation actually works.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What should I do with the project to have all files compiled properly ?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;Maciej Wdowiarz-Bilski&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Mar 2015 16:08:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Compilation-for-Kinetis-with-Codewarrior-10-6-provides-empty/m-p/365579#M1905</guid>
      <dc:creator>maciejwdowiarz-</dc:creator>
      <dc:date>2015-03-06T16:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: Compilation for Kinetis with Codewarrior 10.6 provides empty object files</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Compilation-for-Kinetis-with-Codewarrior-10-6-provides-empty/m-p/365580#M1906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;There was problem with compillation option. "-M" has been responsible for generating dependiences only.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Mar 2015 15:21:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Compilation-for-Kinetis-with-Codewarrior-10-6-provides-empty/m-p/365580#M1906</guid>
      <dc:creator>maciejwdowiarz-</dc:creator>
      <dc:date>2015-03-09T15:21:24Z</dc:date>
    </item>
  </channel>
</rss>

