<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.xiph.org/index.php?action=history&amp;feed=atom&amp;title=Cross_Compiling</id>
	<title>Cross Compiling - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.xiph.org/index.php?action=history&amp;feed=atom&amp;title=Cross_Compiling"/>
	<link rel="alternate" type="text/html" href="https://wiki.xiph.org/index.php?title=Cross_Compiling&amp;action=history"/>
	<updated>2026-05-30T23:50:31Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://wiki.xiph.org/index.php?title=Cross_Compiling&amp;diff=16038&amp;oldid=prev</id>
		<title>Tdaede: Created page with &quot;Most Xiph.Org projects can be cross compiled for native platforms. You can either use the autotools build system provided, or use a custom build system or IDE with the sources...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.xiph.org/index.php?title=Cross_Compiling&amp;diff=16038&amp;oldid=prev"/>
		<updated>2015-09-15T01:44:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;Most Xiph.Org projects can be cross compiled for native platforms. You can either use the autotools build system provided, or use a custom build system or IDE with the sources...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Most Xiph.Org projects can be cross compiled for native platforms. You can either use the autotools build system provided, or use a custom build system or IDE with the sources directly.&lt;br /&gt;
&lt;br /&gt;
==Using Autotools==&lt;br /&gt;
Autotools generally only works with GCC-like toolchains.&lt;br /&gt;
&lt;br /&gt;
First, make sure your $PATH environment variable contains the path to your toolchain binaries (arm-none-eabi-gcc or similar).&lt;br /&gt;
&lt;br /&gt;
You will need an install path to put the final headers and libraries. Your main project might have a spot already, or you can create a directory:&lt;br /&gt;
 mkdir install&lt;br /&gt;
&lt;br /&gt;
Then, run the configure script with the host triple, install directory, and necessary CFLAGS:&lt;br /&gt;
&lt;br /&gt;
 ./configure --host=arm-none-eabi --prefix=/home/thomas/sandbox/opus/install CFLAGS=&amp;quot;-mcpu=cortex-a15 --specs=nosys.specs&amp;quot;&lt;br /&gt;
&lt;br /&gt;
You might also need extra options specific to the library you are compiling.&lt;br /&gt;
&lt;br /&gt;
Then,&lt;br /&gt;
 make&lt;br /&gt;
 make install&lt;br /&gt;
&lt;br /&gt;
You should now have a lib/ and include/ dir under your installation prefix, containing the built library and header files.&lt;br /&gt;
&lt;br /&gt;
==Using your own build system==&lt;br /&gt;
This is highly dependent on the project you are compiling. Many have simple Unix makefiles for reference.&lt;/div&gt;</summary>
		<author><name>Tdaede</name></author>
	</entry>
</feed>