summaryrefslogtreecommitdiff
path: root/README.CrossCompiling
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2017-07-14 16:38:45 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2017-07-14 16:38:45 +0200
commitf866a5d62b42c3b8028899441b7aa1f1983279e4 (patch)
tree855b95014a4f2f413c18ebe037e5afdea6eba6da /README.CrossCompiling
parentec0810b91aba837f684ed15f0b8abfb03299f661 (diff)
downloadabaos-f866a5d62b42c3b8028899441b7aa1f1983279e4.tar.gz
abaos-f866a5d62b42c3b8028899441b7aa1f1983279e4.tar.bz2
some notes on building and using cross compilers for gcc/tcc/pcc
(clang yet to be done)
Diffstat (limited to 'README.CrossCompiling')
-rw-r--r--README.CrossCompiling13
1 files changed, 13 insertions, 0 deletions
diff --git a/README.CrossCompiling b/README.CrossCompiling
index 67b5957..f3f195d 100644
--- a/README.CrossCompiling
+++ b/README.CrossCompiling
@@ -73,6 +73,12 @@ make all-target-libgcc
make install-gcc
make install-target-libgcc
+Compile abaos and libc tests with:
+
+setenv PATH "${PATH}:$HOME/cross-compilers"
+make clean all CC=i486-elf-gcc LD=i486-elf-ld
+
+
tcc
---
@@ -96,6 +102,8 @@ cd tinycc
make
cd ..
+Compile abaos and libc tests with:
+
setenv PATH "${PATH}:$HOME/cross-compilers"
make clean all CC=i386-tcc LD=i486-elf-ld
@@ -130,6 +138,11 @@ cd pcc-build
make
make install
+Compile abaos and libc tests with:
+
+setenv PATH "${PATH}:$HOME/cross-compilers"
+make clean all CC=i486-unknown-linux-gnu-pcc LD=i486-unknown-linux-gnu-ld
+
Links
-----