raisama.netNote: very experimental stuff
This work is based on the DJ Delorie 8086 gcc work.
The patch is based on gcc-3.3.3, I hadn't tested it on other versions.
Apply the patch and use ./configure --target=i86
This is very experimental stuff. GCC will not even build completely, but at least cc1 will compile and work. You can test it from the source tree using gcc/xgcc -B$PWD/gcc <parameters>
I didn't even looked at libgcc stuff.
Now I need a real test environment, and real applications to build and test. I am looking at ELKS, and this will be the my primary goal: build userspace applications that run on elks.
Later, I plan to try to build ELKS using gcc-8086.
After that, a big memory model would be great. So, ELKS could be improved, and the most interesting: a better and improved linux-8086. The current linux kernel code will be easily used.
arch/8086 on the official Linux Kernel tree, anyone? 8)
If you have any problems, send questions, comments, improvements, to ehabkost@gmx.net.