--- cross-compiler.mdwn 2007/12/01 02:45:33 1.5
+++ cross-compiler.mdwn 2008/04/18 00:27:33 1.6
@@ -1,4 +1,6 @@
-A complete cross compile system can be setup easily. For example:
+__General cross-compiler__
+
+A complete cross-compile system can be setup easily. For example:
$ cd binutils-2.18
$ ./configure --target=mips-netbsdelf
@@ -13,3 +15,15 @@
It's possible for multiple cross-compilers to exist on the host system at the same time (which was the motivation for doing this!).
+__Cross-compiler to Microsoft Windows__
+
+To develop a cross-compile system for Microsoft Windows:
+
+ $ cd binutils-2.18
+ $ ./configure --target=i386-pe
+ $ make&& make install
+ $ cd ../pcc
+ $ ./configure --target=i386-pc-windows
+ $ make&& make install
+
+You'll want to copy the include files and libraries from the [Microsoft Platform SDK](http://www.microsoft.com/downloads/details.aspx?FamilyId=0BAF2B35-C656-4969-ACE8-E4C0C0716ADB&displaylang=en).
Powered by rcshistory.cgi 0.3