{"id":5494,"date":"2014-03-30T23:02:59","date_gmt":"2014-03-30T23:02:59","guid":{"rendered":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-can-i-download-or-compile-the-libraries-stdlib-lib-and-stdlib-a-to-use-them-for-assembly-collection-of-common-programming-errors\/"},"modified":"2014-03-30T23:02:59","modified_gmt":"2014-03-30T23:02:59","slug":"how-can-i-download-or-compile-the-libraries-stdlib-lib-and-stdlib-a-to-use-them-for-assembly-collection-of-common-programming-errors","status":"publish","type":"post","link":"https:\/\/unknownerror.org\/index.php\/2014\/03\/30\/how-can-i-download-or-compile-the-libraries-stdlib-lib-and-stdlib-a-to-use-them-for-assembly-collection-of-common-programming-errors\/","title":{"rendered":"How can I download (or compile) the libraries &ldquo;stdlib.lib&rdquo; and &ldquo;stdlib.a&rdquo;? (To use them for assembly)-Collection of common programming errors"},"content":{"rendered":"<p>I have the following code:<\/p>\n<pre><code>include stdlib.a\nincludelib stdlib.lib\n<\/code><\/pre>\n<p>But on assembling, it gives me an error: &#8220;<em>cannot open file : stdlib.a<\/em>&#8220;<\/p>\n<p>I haven&#8217;t any file called &#8220;stdlib.lib&#8221; or &#8220;stdlib.a&#8221;.<\/p>\n<p>I&#8217;ve been searching for those files, but I can&#8217;t find them. The only file I can find is &#8220;stdlib.h&#8221;(look Ramhound&#8217;s answer), but WinAsm doesn&#8217;t recognise it on compiling.<\/p>\n<p>Is there any way to transform the &#8220;stdlib.h&#8221; to &#8220;stdlib.lib&#8221; or &#8220;stdlib.a&#8221;, or to use in assembly? ( <strong>From Ramhound&#8217;s answer<\/strong> : * &#8220;stdlib.h&#8221; is a header, not a library. It can&#8217;t be converted to &#8220;stdlib.lib&#8221; or &#8220;stdlib.a&#8221; *).<\/p>\n<p>Thanks!!!<\/p>\n<p><strong>EDIT 1<\/strong> In Ramhound&#8217;s answer, he explains that <em>stdlib.h<\/em> is a &#8220;header&#8221;, not a library. Could someone help me with the <em>stdlib.lib<\/em> and <em>stdlib.a<\/em> ?<\/p>\n<p>I&#8217;ve been looking for those files, but I can&#8217;t find them. I would appreciate some help with those libraries. (Why every one have them but I can&#8217;t find where to download them?<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have the following code: include stdlib.a includelib stdlib.lib But on assembling, it gives me an error: &#8220;cannot open file : stdlib.a&#8220; I haven&#8217;t any file called &#8220;stdlib.lib&#8221; or &#8220;stdlib.a&#8221;. I&#8217;ve been searching for those files, but I can&#8217;t find them. The only file I can find is &#8220;stdlib.h&#8221;(look Ramhound&#8217;s answer), but WinAsm doesn&#8217;t recognise [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-5494","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5494","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/comments?post=5494"}],"version-history":[{"count":0,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/posts\/5494\/revisions"}],"wp:attachment":[{"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/media?parent=5494"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/categories?post=5494"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unknownerror.org\/index.php\/wp-json\/wp\/v2\/tags?post=5494"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}