I would like to cross compile gcj program for windows on linux

I already have my compilation on Linux gcj, but I would like to statically compile for Windows.

I was unable to use linux. It always says: / usr / bin / ld: cannot find -lgcj collect2: ld returned 1 exit status

Someone will succeed in this (portable java gcj binary statically liked for Windows). I don't want pointers to ExcelsiorJet or launch4j (which is not static or AOT to compile anything).

+3
source share
1 answer

Source: https://habr.com/ru/post/1794008/


All Articles