I use S32DSforARM.2018.R1 and SDK RTM2.0.0.
I want to make library file for a function.
How to make library file? and How to add library file?
This is done in the same way as for any Eclipse CDT based IDE.
You can create Library project from Wizard or change the Artifact type in the project settings:
The library can be added in the Linker settings. You should set library name and path, for example:
Thanks for your response.
I add library following your answer.
But Copile error is occured.
How can I resolve it?
Please let me know.
Thanks and best regards,
1. Looks like you have error with libc. Could you show me your Target Processor settings?
Please double check Libraries support field.
2. Please delete prefix lib from library name. From the gcc documentation:
-l library ...... surrounds library with lib and .a and searches several directories.
-l library ...
... surrounds library with lib and .a and searches several directories.
My target processor setting is like below.
Could you try to select "newlib no I/O" instead of "ewl no I/O".
You can also send me your projects (application and library) to test.
I resolve it by using another way.
I input library name like below.
Retrieving data ...