<?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: Build is producing error message: unrecognized option '-T' in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759269#M2725</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added the .args file as an attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 20 Feb 2018 22:51:47 GMT</pubDate>
    <dc:creator>markdresser</dc:creator>
    <dc:date>2018-02-20T22:51:47Z</dc:date>
    <item>
      <title>Build is producing error message: unrecognized option '-T'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759267#M2723</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using S32 Design Studio for ARM v1.3, build 170119&lt;/P&gt;&lt;P&gt;Problem seems to be present on both Demo Projects and ones I have created myself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;10:51:05 **** Incremental Build of configuration Debug_RAM for project DWStest ****&lt;BR /&gt;make -j4 all &lt;BR /&gt;Building file: ../Sources/main.c&lt;BR /&gt;Executing target #2 ../Sources/main.c&lt;BR /&gt;Invoking: Standard S32DS C Compiler&lt;BR /&gt;arm-none-eabi-gcc "@Sources/main.args" -MMD -MP -MF"Sources/main.d" -MT"Sources/main.o" -c -o "Sources/main.o" "../Sources/main.c"&lt;BR /&gt;Finished building: ../Sources/main.c&lt;BR /&gt; &lt;BR /&gt;Building target: DWStest.elf&lt;BR /&gt;Executing target #47 DWStest.elf&lt;BR /&gt;Invoking: Standard S32DS C Linker&lt;BR /&gt;arm-none-eabi-gcc -o "DWStest.elf" "@DWStest.args" &lt;BR /&gt;c:/nxp/s32ds_arm_v1.3/cross_tools/gcc-arm-none-eabi-4_9/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: &lt;STRONG&gt;unrecognized option '-T'&lt;/STRONG&gt;&lt;BR /&gt;c:/nxp/s32ds_arm_v1.3/cross_tools/gcc-arm-none-eabi-4_9/bin/../lib/gcc/arm-none-eabi/4.9.3/../../../../arm-none-eabi/bin/ld.exe: use the --help option for usage information&lt;BR /&gt;collect2.exe: error: ld returned 1 exit status&lt;BR /&gt;make: *** [DWStest.elf] Error 1&lt;/P&gt;&lt;P&gt;10:51:08 Build Finished (took 2s.979ms)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Feb 2018 16:44:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759267#M2723</guid>
      <dc:creator>markdresser</dc:creator>
      <dc:date>2018-02-19T16:44:19Z</dc:date>
    </item>
    <item>
      <title>Re: Build is producing error message: unrecognized option '-T'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759268#M2724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can you please share the DWStest.args file (or any other .args file from buggy project)? Thanks.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 07:14:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759268#M2724</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-02-20T07:14:44Z</dc:date>
    </item>
    <item>
      <title>Re: Build is producing error message: unrecognized option '-T'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759269#M2725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've added the .args file as an attachment&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Feb 2018 22:51:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759269#M2725</guid>
      <dc:creator>markdresser</dc:creator>
      <dc:date>2018-02-20T22:51:47Z</dc:date>
    </item>
    <item>
      <title>Re: Build is producing error message: unrecognized option '-T'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759270#M2726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have empty file specification after linker&amp;nbsp; -T option. There should be path to linker file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Your args fie:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"./Sources/main.o"&lt;BR /&gt;"./Sources/helper_functions.o"&lt;BR /&gt;--entry=Reset_Handler&lt;BR /&gt;&lt;STRONG&gt;-T&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;""&lt;/STRONG&gt;&lt;BR /&gt;-Wl,-Map,"DWStest.map"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;default one from example:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;"./Project_Settings/Startup_Code/startup.o"&lt;BR /&gt;"./src/hello.o"&lt;BR /&gt;-T&lt;BR /&gt;"C:/Users/nxf24838/workspaceS32DS.ARM_FACOMSA/hello/Project_Settings/Linker_Files/S32K1xx_flash.ld"&lt;BR /&gt;-Wl,-Map,"hello.map"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check the project properties - right click on projet name -&amp;gt; Properties and in liker settings check -T option parameters:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18432iBD2D19B9071A7C99/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Feb 2018 06:55:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759270#M2726</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-02-21T06:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Build is producing error message: unrecognized option '-T'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759271#M2727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your assistance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It appears that the line is set in the Linker tool settings but it is not finding it's way into the .args file?&amp;nbsp; I'm not aware of having done anything to change it from the original default.&amp;nbsp; Sorry, I'm new to gcc so there is a lot of magic going on that I don't understand.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18481iBD61E0A7B4BFAD2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 01:53:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759271#M2727</guid>
      <dc:creator>markdresser</dc:creator>
      <dc:date>2018-02-22T01:53:28Z</dc:date>
    </item>
    <item>
      <title>Re: Build is producing error message: unrecognized option '-T'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759272#M2728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;um, interesting. Is the .ld file present physically in your project? Do you have the same issue with Flash target? (you can switch target in build option):&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/18858i77987AAC879D2C14/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is possible for you use new S32DS version? The current version is v2018.R1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jiri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Feb 2018 07:34:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759272#M2728</guid>
      <dc:creator>jiri_kral</dc:creator>
      <dc:date>2018-02-22T07:34:48Z</dc:date>
    </item>
    <item>
      <title>Re: Build is producing error message: unrecognized option '-T'</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759273#M2729</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jiri,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;OK, problem is solved-- I think!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was using the old v1.3 version of S32 DS.&amp;nbsp; I've installed the v2018 R1 version of S32 DS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was unable to migrate the original project to the new DS.&amp;nbsp; (I got dozens of cryptic error messages about broken links, etc.)&amp;nbsp; I tried opening the old workspace with the new DS, exporting/importing project archive.&amp;nbsp; Still got lots of error messages.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally I started from the example project closest to what I needed, created a new project from example using a new name, added the additional components I needed, then replaced the example main.c with my original main.c.&amp;nbsp; It now seems to be compiling without the error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In hind sight, I think what may have caused the problem is that I originally created my project by copy and pasting an example project that I had loaded into the workspace.&amp;nbsp; In the course of renaming that, some references to the original example project were left behind that somehow caused the problem.&amp;nbsp; I'm not sure why that caused corruption of the .args file, rather than messages about incorrect file references but I'll avoid copy and paste of projects in the future.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Feb 2018 21:12:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/Build-is-producing-error-message-unrecognized-option-T/m-p/759273#M2729</guid>
      <dc:creator>markdresser</dc:creator>
      <dc:date>2018-02-24T21:12:30Z</dc:date>
    </item>
  </channel>
</rss>

