Hello,
I work on IDE S32 Design Studio
I created a library with the S32DS wizard, and I defined/configured the same environment in release and debug modes than the project where this library will be called.
In my project, I add the library, in release mode (library compiled in release mode),the compilation is OK, but when compile in debug mode (with library compiled indebug mode), I have this error :
c:|nxp|s32ds_arm_v2018.r1|cross_tools|gcc-arm-none-eabi-4_9|bin|..|lib|gcc|arm-none-eabi|4.9.3|..|..|..|..|arm-none-eabi|bin|ld.exe: error: ProjectTest.elf uses VFP register arguments, C:|Workspace|ProjectTest|Workspace|lib|libProject_SWDebug.a(mylibrary.o) does not
c:|nxp|s32ds_arm_v2018.r1|cross_tools|gcc-arm-none-eabi-4_9|bin|..|lib|gcc|arm-none-eabi|4.9.3|..|..|..|..|arm-none-eabi|bin|ld.exe: failed to merge target specific data of file C:|Workspace|ProjectTest|Workspace|lib|libProject_SWDebug.a(mylibrary.o)
collect2.exe: error: ld returned 1 exit status
make: *** [makefile:117: ProjectTest.elf] Error 1
I do not understand where the error comes from, because I checked and checked again the configuration between both projects, and for me,everything is ok.
In debug mode, shall add other file than library.a file ?
Thanks by advance