<?xml version="1.0"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
	<channel>
		<title>PaRisc CrossCompile - Revision history</title>
		<link>https://www.slackwiki.com/index.php?title=PaRisc_CrossCompile&amp;action=history</link>
		<description>Revision history for this page on the wiki</description>
		<language>en</language>
		<generator>MediaWiki 1.40.0</generator>
		<lastBuildDate>Wed, 08 Apr 2026 16:08:59 GMT</lastBuildDate>
		<item>
			<title>Erik: Copy from old, had no category, placed in Tutorials</title>
			<link>https://www.slackwiki.com/index.php?title=PaRisc_CrossCompile&amp;diff=154&amp;oldid=prev</link>
			<guid isPermaLink="false">https://www.slackwiki.com/index.php?title=PaRisc_CrossCompile&amp;diff=154&amp;oldid=prev</guid>
			<description>&lt;p&gt;Copy from old, had no category, placed in Tutorials&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:Tutorials]]&lt;br /&gt;
Cross compiler setup instructions&lt;br /&gt;
=================================&lt;br /&gt;
&lt;br /&gt;
Work in progress, a script to build the hppa-linux compiler toolchain on Slackware&lt;br /&gt;
&lt;br /&gt;
#!/bin/bash&lt;br /&gt;
&lt;br /&gt;
export TARGET=hppa-linux&lt;br /&gt;
export MACH=i686-linux&lt;br /&gt;
export DEST=/usr/local&lt;br /&gt;
export SRC=~/pabuild&lt;br /&gt;
&lt;br /&gt;
mkdir -p $DEST $SRC&lt;br /&gt;
mkdir -p $DEST/include&lt;br /&gt;
&lt;br /&gt;
cd $SRC&lt;br /&gt;
mkdir binutils-build&lt;br /&gt;
mkdir gcc-build&lt;br /&gt;
mkdir glibc-build&lt;br /&gt;
mkdir linux&lt;br /&gt;
&lt;br /&gt;
# Extract binutils&lt;br /&gt;
tar -zxvf binutils-&amp;lt;version&amp;gt;.tar.gz&lt;br /&gt;
cd binutils-build&lt;br /&gt;
&lt;br /&gt;
../binutils/configure --target=$TARGET --prefix=$DEST/hppa-linux --host=$MACH --disable-nls&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
cd ..&lt;br /&gt;
&lt;br /&gt;
# Extract gcc&lt;br /&gt;
tar -zxvf gcc-3.4.6.tar.gz&lt;br /&gt;
cd gcc-build&lt;br /&gt;
../gcc/configure --target=$TARGET --prefix=$DEST --host=$MACH --disable-shared --disable-nls&lt;br /&gt;
&lt;br /&gt;
make LANGUAGES=c&lt;br /&gt;
&lt;br /&gt;
cd ..&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
# Extract the kernel source from CVS&lt;br /&gt;
&lt;br /&gt;
cd linux&lt;br /&gt;
make oldconfig&lt;br /&gt;
make dep&lt;br /&gt;
&lt;br /&gt;
# Extract glibc&lt;br /&gt;
cd glibc-build&lt;br /&gt;
&lt;br /&gt;
../glibc/configure --HOST=$TARGET --BUILD=$MACH --PREFIX=$DEST/hppa-linux&lt;br /&gt;
--WITH-HEADERS=$DEST/include --disable-profile --without-cvs --enable-add-ons&lt;br /&gt;
make&lt;br /&gt;
make install&lt;br /&gt;
cd $DEST/hppa-linux/include&lt;br /&gt;
ln -s ~/source/linux/include/asm .&lt;br /&gt;
ln -s ~/source/linux/include/linux .&lt;/div&gt;</description>
			<pubDate>Sat, 06 Jun 2009 21:19:30 GMT</pubDate>
			<dc:creator>Erik</dc:creator>
			<comments>https://www.slackwiki.com/Talk:PaRisc_CrossCompile</comments>
		</item>
</channel></rss>