<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>LPCXpresso IDEのトピックRe: Generic build question</title>
    <link>https://community.nxp.com/t5/LPCXpresso-IDE/Generic-build-question/m-p/559354#M15394</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ex-kayoda on Fri Mar 15 02:13:03 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Different libraries provide different functions, that's not reduced to debug functions :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Redlib(nohost) is useful for memory- (malloc) and string (memcopy) functions ;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Default library settings of your project are generated while Project Wizard is generating your project :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you generate a LPCXpresso Semihosting project, it's using Redlib(semihost).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But that's just default setting. If you want another library, change it :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See : &lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.support.code-red-tech.com/CodeRedWiki/LibraryVariants&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 23:38:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T23:38:26Z</dc:date>
    <item>
      <title>Generic build question</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Generic-build-question/m-p/559353#M15393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ECamino on Thu Mar 14 11:26:09 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I can build my project fine in debug. When I try to build in release, I get:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[LEFT]In function `malloc':[/LEFT]&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;alloc.c.text.malloc+0x78): undefined reference to `_sbrk'&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I researched the error on CR site. It seems that to build the release, the setting under tool settings for Target has to be Redlib, Redlib, and Redlib (semihost), under MCU Linker.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But the debug version builds Redlib, Redlib, Redlib (none). &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If host/semihost has to do with debugging support, then why does release not build with MCU Linker set to Redlib (none)?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have not modified linker script.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;EC&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;[SIZE=2][/SIZE]&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Generic-build-question/m-p/559353#M15393</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: Generic build question</title>
      <link>https://community.nxp.com/t5/LPCXpresso-IDE/Generic-build-question/m-p/559354#M15394</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by ex-kayoda on Fri Mar 15 02:13:03 MST 2013&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Different libraries provide different functions, that's not reduced to debug functions :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Redlib(nohost) is useful for memory- (malloc) and string (memcopy) functions ;)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Default library settings of your project are generated while Project Wizard is generating your project :)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So if you generate a LPCXpresso Semihosting project, it's using Redlib(semihost).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But that's just default setting. If you want another library, change it :eek:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See : &lt;/SPAN&gt;&lt;A href="http://"&gt;http://www.support.code-red-tech.com/CodeRedWiki/LibraryVariants&lt;/A&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 23:38:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPCXpresso-IDE/Generic-build-question/m-p/559354#M15394</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T23:38:26Z</dc:date>
    </item>
  </channel>
</rss>

