<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://fpcamigawiki.alb42.de/index.php?action=history&amp;feed=atom&amp;title=Cross_MorphOS_binutils</id>
	<title>Cross MorphOS binutils - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://fpcamigawiki.alb42.de/index.php?action=history&amp;feed=atom&amp;title=Cross_MorphOS_binutils"/>
	<link rel="alternate" type="text/html" href="http://fpcamigawiki.alb42.de/index.php?title=Cross_MorphOS_binutils&amp;action=history"/>
	<updated>2026-04-26T12:33:23Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.35.1</generator>
	<entry>
		<id>http://fpcamigawiki.alb42.de/index.php?title=Cross_MorphOS_binutils&amp;diff=921&amp;oldid=prev</id>
		<title>Alb42: vlink/vasm link</title>
		<link rel="alternate" type="text/html" href="http://fpcamigawiki.alb42.de/index.php?title=Cross_MorphOS_binutils&amp;diff=921&amp;oldid=prev"/>
		<updated>2020-05-16T21:02:44Z</updated>

		<summary type="html">&lt;p&gt;vlink/vasm link&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left diff-editfont-monospace&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 21:02, 16 May 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot; &gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt;−&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;How to create binutils (as, ld) needed for FreePascal crosscompiling to MorphOS on a linux system.&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;How to create &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;gnu &lt;/ins&gt;binutils (as, ld) needed for FreePascal crosscompiling to MorphOS on a linux system.&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;br /&amp;gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;(for vasm/vlink check [[Cross binutils vasm/vlink]])&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One needs:&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;One needs:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key db624220369-ntdbjym2gu:diff::1.12:old-913:rev-921 --&gt;
&lt;/table&gt;</summary>
		<author><name>Alb42</name></author>
	</entry>
	<entry>
		<id>http://fpcamigawiki.alb42.de/index.php?title=Cross_MorphOS_binutils&amp;diff=913&amp;oldid=prev</id>
		<title>Alb42: short manual how to create cross binutils for morphos on linux</title>
		<link rel="alternate" type="text/html" href="http://fpcamigawiki.alb42.de/index.php?title=Cross_MorphOS_binutils&amp;diff=913&amp;oldid=prev"/>
		<updated>2020-05-16T14:53:57Z</updated>

		<summary type="html">&lt;p&gt;short manual how to create cross binutils for morphos on linux&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;How to create binutils (as, ld) needed for FreePascal crosscompiling to MorphOS on a linux system.&lt;br /&gt;
&lt;br /&gt;
One needs:&lt;br /&gt;
* working linux with gcc (e.g. ubuntu: &amp;lt;code&amp;gt;sudo apt install build-essentials&amp;lt;/code&amp;gt;)&lt;br /&gt;
* flex, bison            (e.g. ubuntu: &amp;lt;code&amp;gt;sudo apt install flex bison&amp;lt;/code&amp;gt;)&lt;br /&gt;
* xz-utils               (e.g. ubuntu: &amp;lt;code&amp;gt;sudo apt install xz-utils&amp;lt;/code&amp;gt;)          &lt;br /&gt;
* latest sdk source from [https://www.morphos-team.net/sources MorphOS source page] (e.g. [https://www.morphos-team.net/files/src/sdk//sdk-source-20200422.tar.xz sdk-source-20200422])&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# unpack the source (e.g. &amp;lt;code&amp;gt;tar -xJf sdk-source-20200422.tar.xz&amp;lt;/code&amp;gt;) &amp;lt;br /&amp;gt;&lt;br /&gt;
#* we only need the &amp;lt;code&amp;gt;sdk-source/binutils&amp;lt;/code&amp;gt; folder, therefore its possible to only unpack that directory (e.g. when using GUI tools to unpack)&lt;br /&gt;
# enter the &amp;lt;code&amp;gt;sdk-source/binutils&amp;lt;/code&amp;gt; folder (e.g. &amp;lt;code&amp;gt;cd sdk-source/binutils&amp;lt;/code&amp;gt;)&lt;br /&gt;
# unpack the &amp;lt;code&amp;gt;binutils-x.xx.tar.xz&amp;lt;/code&amp;gt; inside (e.g. &amp;lt;code&amp;gt;tar -xJf binutils-2.34.tar.xz&amp;lt;/code&amp;gt;)&lt;br /&gt;
# apply the patch for the same version number with &amp;lt;code&amp;gt;patch -p0 &amp;lt;./binutils-x.xx-morphos.diff&amp;lt;/code&amp;gt;  (e.g. &amp;lt;code&amp;gt;patch -p0 &amp;lt;./binutils-2.34-morphos.diff&amp;lt;/code&amp;gt;)&lt;br /&gt;
#* make sure you have the same version number of diff file as the directory&lt;br /&gt;
# create a new directory build (e.g. &amp;lt;code&amp;gt;mkdir build&amp;lt;/code&amp;gt;)&lt;br /&gt;
# enter that directory (e.g. &amp;lt;code&amp;gt;cd build&amp;lt;/code&amp;gt;)&lt;br /&gt;
# configure the morphos binutils (e.g. &amp;lt;code&amp;gt;../binutils-2.34/configure CFLAGS=&amp;quot;-DMORPHOS_TARGET&amp;quot; --target=ppc-morphos --enable-plugins=no --disable-initfini-array&amp;lt;/code&amp;gt;)&lt;br /&gt;
# compile the cross binutils for morphos (e.g. &amp;lt;code&amp;gt;make&amp;lt;/code&amp;gt;)&lt;br /&gt;
# you will find the compiled tools in the build directory, we are most interested in directories &amp;quot;gas&amp;quot; the assembler and &amp;quot;ld&amp;quot; the linker&lt;br /&gt;
# copy and rename the assembler to &amp;lt;code&amp;gt;/usr/bin&amp;lt;/code&amp;gt; with prefix powerpc-morphos (e.g. &amp;lt;code&amp;gt;cp gas/as-new /usr/bin/powerpc-morphos-as&amp;lt;/code&amp;gt;)&lt;br /&gt;
# copy and rename the linker to &amp;lt;code&amp;gt;/usr/bin&amp;lt;/code&amp;gt; with prefix powerpc-morphos (e.g. &amp;lt;code&amp;gt;cp ld/ld-new /usr/bin/powerpc-morphos-ld&amp;lt;/code&amp;gt;)&lt;br /&gt;
&lt;br /&gt;
Finished!&lt;/div&gt;</summary>
		<author><name>Alb42</name></author>
	</entry>
</feed>