Hi,
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?
Best regards,
Byungju.
Solved! Go to Solution.
Hi Byungju,
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:
Best regards,
Dmitry
Hi Byungju,
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:
Best regards,
Dmitry
Dear Dmitry,
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,
Byungju.
Hi Byungju,
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.
Best regards,
Dmitry
Dear Dmitry,
My target processor setting is like below.
best regards,
Byungju.
Hi Byungju,
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.
Best regards,
Dmitry
Dear Dmirty,
Thanks for your response.
I resolve it by using another way.
I input library name like below.
Thanks and best regards,
Byungju.