Hello everyone!
I`m creating a C/C++ application on S32DS specific for the S32K344.
Since on C++ there is no RTD, I saw a few solutions on the forum that "migrate" the C project to C++, however when I do the following process, some errors occur:
I create a C project and add the SDK:
Then I add the nature of C++ to the project
When I compile, I get the following message:
multiple definition of `_start'; c:/nxp/s32ds.3.5/s32ds/build_tools/gcc_v10.2/gcc-10.2-arm32-eabi/bin/../lib/gcc/arm-none-eabi/10.2.0/../../../../arm-none-eabi/lib/thumb/v7e-m+fp/hard/crt0.o:/local/nxa09502/release/opt/freescale/Earmv7nGCC/obj_newlib_nano/arm-none-eabi/thumb/v7e-m+fp/hard/libgloss/arm/semihv2m/../../../../../../../../src_newlib/libgloss/arm/crt0.S:345: first defined here
I tried also to do not use standard start files, but some other errors show up then:
Tried also copying the linker files, but no solution.
Does anyone how I could manage these errors?
Thank you!
解決済! 解決策の投稿を見る。
Hi @RBSamuel ,
I guess my manual was not complete. Based on your error messages I think you need to add your linker file:
BR
Andreas
Hi @RBSamuel ,
I guess my manual was not complete. Based on your error messages I think you need to add your linker file:
BR
Andreas