<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Newbie: how to link libraries?</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/40759/newbie-how-to-link-libraries</link><description> 
Dear all, 

 
This is my first project in Keil uVision and I have also little
experience with embedded design. I would like to simulate some DSP
code written in C++ on STM32F4 Discovery board. 
The code contains a lot of functions - sin, cos, sqrt,</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Newbie: how to link libraries?</title><link>https://community.arm.com/thread/107947?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 05:21:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:445f05f5-3a99-4a25-b924-1226c56cd751</guid><dc:creator>Elena Hammari</dc:creator><description>&lt;p&gt;&lt;p&gt;
This issue is now resolved! After adding an&lt;/p&gt;

&lt;p&gt;
--using_std&lt;/p&gt;

&lt;p&gt;
as a compiler option, the code compiled fine! Apparently, this was
not a linking problem.&lt;br /&gt;
Thanks to ARM Compiler Software Development Guide!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie: how to link libraries?</title><link>https://community.arm.com/thread/82196?ContentTypeID=1</link><pubDate>Sat, 18 Oct 2014 00:18:39 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:90c8ac4f-5051-4bd6-bdf7-23a329b6a153</guid><dc:creator>Elena Hammari</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thank you, Westonsupermare Pier!&lt;br /&gt;
Where are the actual library files are located? Do they come with the
installation?&lt;br /&gt;
I included the following folder to Options for Target -&amp;gt;
C/C++:&lt;br /&gt;
&amp;quot;C:\Keil_v5\ARM\ARMCC\lib&amp;quot;&lt;br /&gt;
But that didn&amp;#39;t help, although I can see that the file extensions
there are different - .l and .b, so probably these are not the files
I need...&lt;br /&gt;
How do I know what files should be dropped to the project?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Newbie: how to link libraries?</title><link>https://community.arm.com/thread/63197?ContentTypeID=1</link><pubDate>Wed, 15 Oct 2014 07:37:43 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:0e026554-280f-4863-b0d4-16003fd8459b</guid><dc:creator>Westonsupermare Pier</dc:creator><description>&lt;p&gt;&lt;p&gt;
library != include&lt;/p&gt;

&lt;p&gt;
An include file describes the interface, a library provides the
code.&lt;/p&gt;

&lt;p&gt;
#include &amp;lt;math.h&amp;gt; // ??&lt;/p&gt;

&lt;p&gt;
You&amp;#39;d want to double check what libraries/options you have set up
in the project, like if you have full math libraries or floating
point support enabled. In some cases you&amp;#39;d drop a .A or .LIB file
directly into the project.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>