From f866a5d62b42c3b8028899441b7aa1f1983279e4 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Fri, 14 Jul 2017 16:38:45 +0200 Subject: some notes on building and using cross compilers for gcc/tcc/pcc (clang yet to be done) --- README.CrossCompiling | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'README.CrossCompiling') 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 ----- -- cgit v1.2.3-54-g00ecf