AnsweredAssumed Answered

Build is producing error message: unrecognized option '-T'

Question asked by Mark Dresser on Feb 19, 2018
Latest reply on Feb 24, 2018 by Mark Dresser

Using S32 Design Studio for ARM v1.3, build 170119

Problem seems to be present on both Demo Projects and ones I have created myself.


10:51:05 **** Incremental Build of configuration Debug_RAM for project DWStest ****
make -j4 all
Building file: ../Sources/main.c
Executing target #2 ../Sources/main.c
Invoking: Standard S32DS C Compiler
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"
Finished building: ../Sources/main.c

Building target: DWStest.elf
Executing target #47 DWStest.elf
Invoking: Standard S32DS C Linker
arm-none-eabi-gcc -o "DWStest.elf" "@DWStest.args"
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: unrecognized option '-T'
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
collect2.exe: error: ld returned 1 exit status
make: *** [DWStest.elf] Error 1

10:51:08 Build Finished (took 2s.979ms)