summaryrefslogtreecommitdiffstats
path: root/development/crosstool-ng/README.x86_64_to_raspi
diff options
context:
space:
mode:
author Christoph Willing <c.willing@uq.edu.au>2013-06-04 17:15:39 -0400
committer Robby Workman <rworkman@slackbuilds.org>2013-06-05 03:17:41 -0500
commit15e02c6fe1b85d71c8e7fadd27fe0461061f8141 (patch)
treeccb75d74f067b0ac8e6954008ea5bcc3e6253179 /development/crosstool-ng/README.x86_64_to_raspi
parentcad5bb12397fb04b5b1cffe736d4e84fd1bd4b19 (diff)
downloadslackbuilds-15e02c6fe1b85d71c8e7fadd27fe0461061f8141.tar.gz
slackbuilds-15e02c6fe1b85d71c8e7fadd27fe0461061f8141.tar.xz
development/crosstool-ng: Added (Toolchain Generator)
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'development/crosstool-ng/README.x86_64_to_raspi')
-rw-r--r--development/crosstool-ng/README.x86_64_to_raspi19
1 files changed, 19 insertions, 0 deletions
diff --git a/development/crosstool-ng/README.x86_64_to_raspi b/development/crosstool-ng/README.x86_64_to_raspi
new file mode 100644
index 0000000000..9dde019d1a
--- /dev/null
+++ b/development/crosstool-ng/README.x86_64_to_raspi
@@ -0,0 +1,19 @@
+x86_64_to_raspi.conf is the .config file I use to generate the toolchain
+that allows me to cross compile from a 64bit Linux host to run on a
+Raspberry Pi (32bit arm).
+
+Quick instructions to use:
+1. find/create and cd to an empty working directory
+2. copy x86_64_to_raspi.conf to .config
+3. run:
+ ct-ng menuconfig
+ change any settings needed (probably
+ just the ones referring to /home/chris/x-tool,
+ my owrking directory)
+4. run:
+ ct-ng build
+5. after half an hour or so, the build should be finished
+6. Now for a source file atest.c you could run:
+ /path/to/workdir/arm-unknown-linux-gnueabi/bin/arm-unknown-linux-gnueabi-cc -o atest atest.c
+ which should compile an atest binary suitable to run on a Raspberry Pi
+