<?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>Library Files  ( NEED HELP!!)</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/15014/library-files-need-help</link><description> Hello, 
I&amp;#39;m trying to create my own library file and include it into my project 
 
1)I&amp;#39;ve written two function in separate files abc.A51 and xyz.A51 
2)These files contain only 1 functions each 
abc() and xyz() respectively 
2)Then I created a project</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Library Files  ( NEED HELP!!)</title><link>https://community.arm.com/thread/54618?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2003 14:09:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:94f73ab2-883d-497a-b1c9-48f5f2be82c1</guid><dc:creator>Walt Conley</dc:creator><description>&lt;p&gt;Sorry I replied to the wrong thread.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Library Files  ( NEED HELP!!)</title><link>https://community.arm.com/thread/39081?ContentTypeID=1</link><pubDate>Mon, 27 Jan 2003 14:08:20 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:74cfeaf8-9270-46ac-ac11-a84d03ea990a</guid><dc:creator>Walt Conley</dc:creator><description>&lt;p&gt;Here are a couple links that may answer your questions.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.keil.com/support/docs/2113.htm"&gt;http://www.keil.com/support/docs/2113.htm&lt;/a&gt;&lt;br /&gt;
&lt;a href="http://www.keil.com/forum/docs/thread1779.asp"&gt;http://www.keil.com/forum/docs/thread1779.asp&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Library Files  ( NEED HELP!!)</title><link>https://community.arm.com/thread/54623?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2002 21:43:37 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:aa54d26c-48d4-4c12-be50-f9300f1f2a44</guid><dc:creator>Leto N/A</dc:creator><description>&lt;p&gt;Thank You!!  :D&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Library Files  ( NEED HELP!!)</title><link>https://community.arm.com/thread/39083?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2002 03:57:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:342c0399-8152-48c6-abd9-a3e42191c754</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;i&gt;&amp;quot;how do I include the library file MyLib.lib into this main.c file in the new project?&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
You don&amp;#39;t.&lt;br /&gt;
&lt;br /&gt;
You include the library in the &lt;i&gt;Project&lt;/i&gt; using the same &amp;#39;Add File to Group&amp;#39; dialogue that you used for the main.c file - but select &amp;#39;Library&amp;#39; as the file type &lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;i didnt have header file for function prototype.&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
You will need to create one!&lt;br /&gt;
&lt;br /&gt;
&lt;i&gt;&amp;quot;If my main.c file uses only one of the functions ... will my final object file take less space compared to if i used both the functions&amp;quot;&lt;/i&gt;&lt;br /&gt;
&lt;br /&gt;
Yes - that is the whole point of a Library!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>