Hello everyone,
I am trying to build mbedtls for a renesas mcu and therefore are using the renesas compiler toolchain.
I use CMake 4.2.3 and Renesas Toolchain V3.01.00 in a windows environment.
I specify the compiler with CC=C:/path/to/ccrx.exe
The object files are compiled correctly.
Afterwards the linker is invoked with the following command (I looked it up in the generated build.make file):
cd C:/src/mbedtls-4.0.0/build2/tf-psa-crypto/core && “C:/Renesas/RX/3_1_0/bin/rlink” -nologo -form=library -output=tfpsacrypto.lib -subcommand=CMakeFiles/tfpsacrypto.dir/objects1.rsp
This command fails, since it does not recognice the contents of objects1.rsp as objects for linking.
It would link successfully, if the object file paths from objects1.rsp are put directly to the rlink command or if the first argument inside objects1.rsp is “input” followed by all object-file paths.
Is there a way for me as a user to change the way objects1.rsp is created or put the objects directly to the linker command?
Thank you very much.
Kind regards,
JBRL