<?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>LPC Microcontrollers中的主题 Re: Getting compilation to work with projects outside the workspce directory: linker path problem</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Getting-compilation-to-work-with-projects-outside-the-workspce/m-p/514329#M637</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Fri Aug 08 05:49:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you install the eGit plugin for Eclipse, you can do everything from within LPCXpresso - no need for symbolic links are any other strangeness - it 'just works'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fusing-version-control-within-ide" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/using-version-control-within-ide&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 17:12:47 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T17:12:47Z</dc:date>
    <item>
      <title>Getting compilation to work with projects outside the workspce directory: linker path problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Getting-compilation-to-work-with-projects-outside-the-workspce/m-p/514327#M635</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by robin48gx on Fri Aug 08 02:01:11 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope someone can help me here. I want to use git to store the code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I am producing, and git is not very good with symbolic links.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thus need to store the project outside the ~/workspace directory.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That way my source code can be stored in git, along with my documentation/schematic&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;and other processor implementation directories.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have done this and have worked out how to get the include&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;directories pointing back to the workspace ones (i.e. the c code compiles)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;but I cannot seem to get the linker to find the libary files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt; I get this:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Building target: MagneticSensor_under_git.axf&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Invoking: MCU Linker&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;arm-none-eabi-gcc -nostdlib -L/lpc_board_nxp_lpcxpresso_1549/Debug -L"/home/robin/workspace/lpc_chip_15xx/Debug" -Xlinker -Map="MagneticSensor_under_git.map" -Xlinker --gc-sections -mcpu=cortex-m3 -mthumb -T "MagneticSensor_under_git_Debug.ld" -o "MagneticSensor_under_git.axf"&amp;nbsp; ./src/MagneticSensor_under_git.o ./src/can.o ./src/cr_startup_lpc15xx.o ./src/crp.o ./src/root.o ./src/sysinit.o&amp;nbsp;&amp;nbsp; -lliblpc_chip_15xx -lliblpc_board_nxp_lpcxpresso_1549&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/usr/local/lpcxpresso_7.3.0_186/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: cannot find -lliblpc_chip_15xx&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;/usr/local/lpcxpresso_7.3.0_186/lpcxpresso/tools/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld: cannot find -lliblpc_board_nxp_lpcxpresso_1549&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;collect2: error: ld returned 1 exit status&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;make: *** [MagneticSensor_under_git.axf] Error 1&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am obviously missing something, and need to get the linker to find what it should.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I have been ediing the values using project properties.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:12:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Getting-compilation-to-work-with-projects-outside-the-workspce/m-p/514327#M635</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Getting compilation to work with projects outside the workspce directory: linker path problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Getting-compilation-to-work-with-projects-outside-the-workspce/m-p/514328#M636</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by robin48gx on Fri Aug 08 05:09:18 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;OK, the way to do this, I was told be resident eclipse guru, was to export the working project under workspace&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;as a general directory, to the git area. Then import it without copy function. Then ensure its launch to debug settings&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;are are for nxp (otherwise it seems to think its a linux app).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Getting-compilation-to-work-with-projects-outside-the-workspce/m-p/514328#M636</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Getting compilation to work with projects outside the workspce directory: linker path problem</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Getting-compilation-to-work-with-projects-outside-the-workspce/m-p/514329#M637</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by lpcxpresso-support on Fri Aug 08 05:49:47 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;If you install the eGit plugin for Eclipse, you can do everything from within LPCXpresso - no need for symbolic links are any other strangeness - it 'just works'.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;See&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.lpcware.com%2Fcontent%2Ffaq%2Flpcxpresso%2Fusing-version-control-within-ide" rel="nofollow" target="_blank"&gt;http://www.lpcware.com/content/faq/lpcxpresso/using-version-control-within-ide&lt;/A&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 17:12:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Getting-compilation-to-work-with-projects-outside-the-workspce/m-p/514329#M637</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T17:12:47Z</dc:date>
    </item>
  </channel>
</rss>

