From e2005fda57ea4da12754d67ba127b09508125395 Mon Sep 17 00:00:00 2001 From: Miguel Date: Wed, 10 Oct 2018 21:54:10 +0200 Subject: cross compiling struggles --- README.md | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'README.md') diff --git a/README.md b/README.md index 07f47b9..7b3e289 100644 --- a/README.md +++ b/README.md @@ -119,8 +119,39 @@ Todos * EXTRA: port to arm and berryboot / minicom? * EXTRA: port doom/quake/mesa 3d + +1.GCC & Binutils +================ + + * ref: GCC Cross Compiler + * ref: OS Specific Toolchain + * ref: Hosted GCC Cross Compiler + +2.Porting Newlib +================ + + * ref: Porting_Newlib + * Add fool-os specifics under ../newlib-foolos/newlib/libc/sys/foolos + * TODO: os specifics diff + * cd newlib-build + * ../newlib-foolos/configure --prefix=/usr --target=i686-foolos + * make all + * make DESTDIR=${SYSROOT} install (e.g. make DESTDIR=/home/miguel/temp/foolos/ install) + +3.Porting Software +=================== + + * ref: Cross Porting Software + + * ncurses: ../ncurses-6.1/configure --host=i686-foolos --without-tests + --with-fallbacks="fool-term" --with-debug --prefix=/usr --with-termlib --without-progs + + * ncurses-examples: ../ncurses-examples-20180127/configure --host=i686-foolos --prefix=/usr --with-ncurses + make DESTDIR=/home/miguel/temp/foolos/ install + + Disclaimer ----------- +========== THIS IS A WORK IN PROGRESS. -- cgit v1.2.3