<?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 Re: Compile GNU Scientific Library for FRDM-M64F in Kinetis Microcontrollers</title>
    <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compile-GNU-Scientific-Library-for-FRDM-M64F/m-p/635137#M38290</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your actual host machine? &amp;nbsp;The library may need to be cross compiled.&lt;BR /&gt;The other option is look at the .c that wants config.h and manually create it based on the #if's found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If running Windows&amp;nbsp;&lt;A class="link-titled" href="http://www.msys2.org/" title="http://www.msys2.org/"&gt;MSYS2 homepage&lt;/A&gt;&amp;nbsp;will let you run ./configure to create a config.h.&lt;/P&gt;&lt;P&gt;However it will say it was created for the host machine which is probably not what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 03 Apr 2017 12:53:57 GMT</pubDate>
    <dc:creator>bobpaddock</dc:creator>
    <dc:date>2017-04-03T12:53:57Z</dc:date>
    <item>
      <title>Compile GNU Scientific Library for FRDM-M64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compile-GNU-Scientific-Library-for-FRDM-M64F/m-p/635136#M38289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello everyone,&lt;/P&gt;&lt;P&gt;I am trying to solve a system of non-linear equations on FRDM-M64F dev board. For this reason, I found that the &lt;A href="https://www.gnu.org/software/gsl/"&gt;GNU Scientific library&lt;/A&gt; is an appropriate tool. However my problem is that I can't find a way to include it in my project. I tried two things:&lt;/P&gt;&lt;P&gt;1. compile the source using a static library project.&lt;/P&gt;&lt;P&gt;In this case, I create a project and include all of the sources of the library in the "Source" directory, then compile. I immediately get an error saying:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;../Source/wavelet/bspline.c:33:20: fatal error: config.h: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I imagine this is because no "./configure" command (which should generate the config.h file) was launched before "make", but I could not find a way on how to do this. Any help?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. use a pre-compiled library&lt;/P&gt;&lt;P&gt;I downloaded a pre-compiled library from &lt;A href="https://sourceforge.net/projects/gnu-scientific-library-windows/"&gt;here&lt;/A&gt; and tried to use it in the project. However, even if the library and headers are correctly included in the project (-I , -l , -L), I get&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;../Source/wavelet/bspline.c:33:20: fatal error: config.h: No such file or directory&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so it seems that the compiler cannot find the references in the libgsl.a file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any suggestions? Even an alternative to the GSL library would fit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Mar 2017 15:24:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compile-GNU-Scientific-Library-for-FRDM-M64F/m-p/635136#M38289</guid>
      <dc:creator>francescoclemen</dc:creator>
      <dc:date>2017-03-31T15:24:17Z</dc:date>
    </item>
    <item>
      <title>Re: Compile GNU Scientific Library for FRDM-M64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compile-GNU-Scientific-Library-for-FRDM-M64F/m-p/635137#M38290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is your actual host machine? &amp;nbsp;The library may need to be cross compiled.&lt;BR /&gt;The other option is look at the .c that wants config.h and manually create it based on the #if's found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If running Windows&amp;nbsp;&lt;A class="link-titled" href="http://www.msys2.org/" title="http://www.msys2.org/"&gt;MSYS2 homepage&lt;/A&gt;&amp;nbsp;will let you run ./configure to create a config.h.&lt;/P&gt;&lt;P&gt;However it will say it was created for the host machine which is probably not what you want.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 12:53:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compile-GNU-Scientific-Library-for-FRDM-M64F/m-p/635137#M38290</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2017-04-03T12:53:57Z</dc:date>
    </item>
    <item>
      <title>Re: Compile GNU Scientific Library for FRDM-M64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compile-GNU-Scientific-Library-for-FRDM-M64F/m-p/635138#M38291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi bob,&lt;/P&gt;&lt;P&gt;thanks for the reply. I will try out the MSYS2 system and see what happens. As you say, ideally I should create the config.h for the ARM cortex, this is why I was trying to find a way to do so within KDS. I am using Windows 7 64bit as host machine. I am quite new to library compilation, so if you have any suggestions for how to cross-compile it I would appreciate it.&lt;/P&gt;&lt;P&gt;I would exclude the manual way as the library is huge and has so many .c files... Do you know any alternatives to using GNU SL?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 13:29:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compile-GNU-Scientific-Library-for-FRDM-M64F/m-p/635138#M38291</guid>
      <dc:creator>francescoclemen</dc:creator>
      <dc:date>2017-04-03T13:29:01Z</dc:date>
    </item>
    <item>
      <title>Re: Compile GNU Scientific Library for FRDM-M64F</title>
      <link>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compile-GNU-Scientific-Library-for-FRDM-M64F/m-p/635139#M38292</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Each C file probably only has a few #if and in a lot of cases they will all be looking for the same #if so the number of C files may not mater that much.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;A class="link-titled" href="http://netlib.org/" title="http://netlib.org/"&gt;The Netlib&lt;/A&gt;&amp;nbsp;is a collection of mathematical software, papers, and databases.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;You an spend days finding Interesting Stuff there.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;&lt;BR /&gt;I do not know of any easy way to cross compile for this device.&lt;BR /&gt;You could set up&amp;nbsp;&lt;A class="link-titled" href="http://www.qemu-project.org/" title="http://www.qemu-project.org/"&gt;QEMU&lt;/A&gt;&amp;nbsp;that can simulate an ARM environment.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #000000; background-color: #ffffff;"&gt;May be time consuming.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 03 Apr 2017 16:36:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Microcontrollers/Compile-GNU-Scientific-Library-for-FRDM-M64F/m-p/635139#M38292</guid>
      <dc:creator>bobpaddock</dc:creator>
      <dc:date>2017-04-03T16:36:39Z</dc:date>
    </item>
  </channel>
</rss>

