<?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>topic cpp_initialize_aeabi and init_array in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/cpp-initialize-aeabi-and-init-array/m-p/563163#M16619</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jimmcwin on Fri Jun 29 16:45:57 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that cpp_initialize_aeabi does not initialize static constructor properly. I know the basic steps the ARM initialization needed to do for c++ library, however, I can not determine if the failure due to do something about using compile and linker that I may have failed to do. Any idea anyone ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:46:52 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:46:52Z</dc:date>
    <item>
      <title>cpp_initialize_aeabi and init_array</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/cpp-initialize-aeabi-and-init-array/m-p/563163#M16619</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jimmcwin on Fri Jun 29 16:45:57 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;It appears that cpp_initialize_aeabi does not initialize static constructor properly. I know the basic steps the ARM initialization needed to do for c++ library, however, I can not determine if the failure due to do something about using compile and linker that I may have failed to do. Any idea anyone ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:46:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/cpp-initialize-aeabi-and-init-array/m-p/563163#M16619</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:46:52Z</dc:date>
    </item>
    <item>
      <title>Re: cpp_initialize_aeabi and init_array</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/cpp-initialize-aeabi-and-init-array/m-p/563164#M16620</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by larsjep on Mon Jul 02 07:17:29 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you give some more details.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What toolchain do you use ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you have some example code that shows the problem ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Best regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; Lars&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/cpp-initialize-aeabi-and-init-array/m-p/563164#M16620</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:46:53Z</dc:date>
    </item>
    <item>
      <title>Re: cpp_initialize_aeabi and init_array</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/cpp-initialize-aeabi-and-init-array/m-p/563165#M16621</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by jimmcwin on Mon Jul 02 13:03:53 MST 2012&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using latest ARM tools via makefile build. The problem that I am able to trace is that a call into a class function where it as declared a static constant was not been initialized. The first question is why this call is is generated via .init_array before a class constant constructor have not been initialized ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am using an external cpp user library that known to be working with Linux. I am trying to duplicate this issue with small cpp example and will let you know.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Jim&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:46:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/cpp-initialize-aeabi-and-init-array/m-p/563165#M16621</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:46:53Z</dc:date>
    </item>
  </channel>
</rss>

