Apr 11, 2014
03:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 11, 2014
03:59 AM
I cannot find the way to transform a DAvE CE project into a Library code compilation. I mean: I create a brand new DAvE CE project and by default it has 'main.c' and generate an executable file. My purpose is instead to generate a library (lib.a) out of that code. How to do?
Thanks in advance.
Thanks in advance.
3 Replies
Not applicable
Apr 13, 2014
07:16 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 13, 2014
07:16 PM
Hi Massimo,
You may refer to "DAVE TIP of the day: How to build and include a static library?".
Best regards,
Sophia
You may refer to "DAVE TIP of the day: How to build and include a static library?".
Best regards,
Sophia
Apr 14, 2014
12:31 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 14, 2014
12:31 AM
Thanks but I was meaning to convert a DAVE CE project to library and not to create another project space, copy a DAVE generated files and create the library (anyhow this is the workaround I'm using now, but is quite painful: change configuration via DAVE, generate, copy, switch workspace, generate the library).
Not applicable
Apr 15, 2014
02:52 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Apr 15, 2014
02:52 AM
Hi Massimo,
You may try to change the project configuration as followings:
1) Right click on the project > select “Project Properties” > “C/C++ Build
1a. select "Settings" > click "Build Artifact" tab --> change "Artifact Type" to “ARM-GCC Library for XMC Project” and "Artifact extension" to “a”
1b. select "Tool Chani Editor" --> change "Current toolchain" to “ARM-GCC Library for XMC”
2) Rebuild the project --> output shall be a library file
Best regards,
Sophia
You may try to change the project configuration as followings:
1) Right click on the project > select “Project Properties” > “C/C++ Build
1a. select "Settings" > click "Build Artifact" tab --> change "Artifact Type" to “ARM-GCC Library for XMC Project” and "Artifact extension" to “a”
1b. select "Tool Chani Editor" --> change "Current toolchain" to “ARM-GCC Library for XMC”
2) Rebuild the project --> output shall be a library file
Best regards,
Sophia