<?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 for MCU中的主题 Re: arm-none-eabi-gcc: warning: '-x assembler-with-cpp' after last input file has no effect</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/arm-none-eabi-gcc-warning-x-assembler-with-cpp-after-last-input/m-p/301346#M10779</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jérémie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same issue than you. I solved it using the GCC feature to compile embedded assembly code.&lt;/P&gt;&lt;P&gt;I created a file fnet_mk_low_c.c that defines the functions defined in fnet_mk_low.asm then I deactivated fnet_mk_low.asm from the compilation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The compilation and link goes well like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christophe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 25 Mar 2014 13:46:44 GMT</pubDate>
    <dc:creator>christophegraul</dc:creator>
    <dc:date>2014-03-25T13:46:44Z</dc:date>
    <item>
      <title>arm-none-eabi-gcc: warning: '-x assembler-with-cpp' after last input file has no effect</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/arm-none-eabi-gcc-warning-x-assembler-with-cpp-after-last-input/m-p/301345#M10778</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 style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm using CW with the ARM GCC C compiler&amp;nbsp; and when I add to my project a file .asm an error occur :&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc: warning: '-x assembler-with-cpp' after last input file has no effect&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc: warning: ../Sources/FNET/fnet_stack/cpu/mcf/fnet_mcf_low.asm: linker input file unused because linking not done&lt;/P&gt;&lt;P&gt;arm-none-eabi-gcc: error: ./Sources/FNET/fnet_stack/cpu/mcf/fnet_mcf_low.o: No such file or directory&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It seems to be the linker properties that needs to be change but I'm lost ... I tried some things ... but nothings good :s&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope someone has already resolv this problem &lt;SPAN aria-label="Happy" class="emoticon_happy emoticon-inline" style="height:16px;width:16px;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks a lot ! &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 21 Mar 2014 13:44:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/arm-none-eabi-gcc-warning-x-assembler-with-cpp-after-last-input/m-p/301345#M10778</guid>
      <dc:creator>joelesco</dc:creator>
      <dc:date>2014-03-21T13:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-gcc: warning: '-x assembler-with-cpp' after last input file has no effect</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/arm-none-eabi-gcc-warning-x-assembler-with-cpp-after-last-input/m-p/301346#M10779</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jérémie.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had the same issue than you. I solved it using the GCC feature to compile embedded assembly code.&lt;/P&gt;&lt;P&gt;I created a file fnet_mk_low_c.c that defines the functions defined in fnet_mk_low.asm then I deactivated fnet_mk_low.asm from the compilation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The compilation and link goes well like this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christophe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 13:46:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/arm-none-eabi-gcc-warning-x-assembler-with-cpp-after-last-input/m-p/301346#M10779</guid>
      <dc:creator>christophegraul</dc:creator>
      <dc:date>2014-03-25T13:46:44Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-gcc: warning: '-x assembler-with-cpp' after last input file has no effect</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/arm-none-eabi-gcc-warning-x-assembler-with-cpp-after-last-input/m-p/301347#M10780</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Salut Christophe !&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finalement j'ai résolu le problème d'une autre façon et renommant les .asm en .S ! &lt;/P&gt;&lt;P&gt;Arrives-tu à faire tourner la stack FNET&amp;nbsp; avec le compilateur GCC ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jérémie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 14:09:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/arm-none-eabi-gcc-warning-x-assembler-with-cpp-after-last-input/m-p/301347#M10780</guid>
      <dc:creator>joelesco</dc:creator>
      <dc:date>2014-03-25T14:09:45Z</dc:date>
    </item>
    <item>
      <title>Re: arm-none-eabi-gcc: warning: '-x assembler-with-cpp' after last input file has no effect</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/arm-none-eabi-gcc-warning-x-assembler-with-cpp-after-last-input/m-p/301348#M10781</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;C'est une idée carrément plus simple ! j'aime ca.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Je suis en train de le tester ces jours-ci.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sinon Fnet en tant que tel tourne sur plusieurs projets mais compilé avec le compilateur de Freescale et de CW 10.4/10.5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Christophe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 14:35:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/arm-none-eabi-gcc-warning-x-assembler-with-cpp-after-last-input/m-p/301348#M10781</guid>
      <dc:creator>christophegraul</dc:creator>
      <dc:date>2014-03-25T14:35:12Z</dc:date>
    </item>
  </channel>
</rss>

