<?xml version="1.0" encoding="UTF-8"?>
<!-- generator="bbPress/1.0.2" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>LeafLabs Garden &#187; Topic: Updating toolchain, missing -Xlinker and -Xassembler flags</title>
		<link>http://forums.leaflabs.com/topic.php?id=10395</link>
		<description>A place to share, learn, and grow...</description>
		<language>en-US</language>
		<pubDate>Fri, 22 Jan 2016 00:18:00 +0000</pubDate>
		<generator>http://bbpress.org/?v=1.0.2</generator>
		<textInput>
			<title><![CDATA[Search]]></title>
			<description><![CDATA[Search all topics from these forums.]]></description>
			<name>q</name>
			<link>http://forums.leaflabs.com/search.php</link>
		</textInput>
		<atom:link href="http://forums.leaflabs.com/rss.php?topic=10395" rel="self" type="application/rss+xml" />

		<item>
			<title>mlundinse on "Updating toolchain, missing -Xlinker and -Xassembler flags"</title>
			<link>http://forums.leaflabs.com/topic.php?id=10395#post-22950</link>
			<pubDate>Sat, 16 Mar 2013 06:44:10 +0000</pubDate>
			<dc:creator>mlundinse</dc:creator>
			<guid isPermaLink="false">22950@http://forums.leaflabs.com/</guid>
			<description>&#60;p&#62;I am trying to replace the arm-elf-none-eabi toolchain in Maple IDE under Macos X&#60;br /&#62;
I have a recent Yagarto toolchain and have replaced the original with this in the&#60;br /&#62;
application package contents. Building a sketch now compiles all the files but fails on linking with the error:&#60;/p&#62;
&#60;p&#62;	Linking...&#60;/p&#62;
&#60;p&#62;arm-none-eabi-g++: error: unrecognized command line option '--print-gc-sections'&#60;/p&#62;
&#60;p&#62;arm-none-eabi-g++: error: unrecognized command line option '--march=armv7-m'&#60;/p&#62;
&#60;p&#62;This seems to be because -Xlinker flag in ArmCompiler.java line 243 only passes one argument on to the linker, the --gc-sections, the following two flags are not sent to the linker but are passed to g++ that doesnt recognise them.&#60;/p&#62;
&#60;p&#62;As far as I can see a patch for the same problem in the Makefile of libmaple has been submitted &#60;a href=&#34;https://github.com/leaflabs/libmaple/pull/39&#34; rel=&#34;nofollow&#34;&#62;https://github.com/leaflabs/libmaple/pull/39&#60;/a&#62;&#60;/p&#62;
&#60;p&#62;/Magnus
&#60;/p&#62;</description>
		</item>

	</channel>
</rss>
