Porting to i686-msdosdjgpp

Aleksey Shipilev shade at redhat.com
Tue Nov 16 08:59:36 UTC 2021


On 11/14/21 12:09 PM, gnufan42 wrote:
> I'm trying to port openjdk 8 to DOS. I use cygwin as compilation environment and use djgpp-gcc
> for the compiler.
I'd suggest doing two things:

  a) Try to port mainline JDK (https://github.com/openjdk/jdk), not JDK 8. It should be more 
pleasant to work with, the minor "shared code" problems could be PR-ed right away;

  b) Try to port x86_64 Zero (--with-jvm-variants=zero) VM first. That would avoid dealing with a 
whole lot of OS-specific code, including stack management for deopts, OSR, arch-specific signal 
handling, all that kind of stuff. Porting src/hotspot/os_cpu/linux_zero to 
src/hotspot/os_cpu/dos_zero would be in order.

-- 
Thanks,
-Aleksey



More information about the porters-dev mailing list