Can Silverfrost create the linkable library of blank plugs for all Clearwin controls and functions for the FTN95+Clearwin source code for Windows to be able to be compiled with any Fortran for Linux?
I do not mean to create the full working Clearwin code for Linux. I mean to have just the empty functions which will do nothing. They will be just really empty, have no source code, just the declarations dummies needed to trick the Linux compiler to swallow the entire FTN95 source code with Clearwin for Windows and compile it without complaints..
Things are that the code can be made workable with and without GUI. The GUI of course make it muuuch more usable but since there exist difficulties to create and support two sets of Clearwin, one for Windows and another for Linux, this could be pretty useful workaround. Otherwise user have to remove or comment out all these lines with Clearwin controls and functions and maintain two sets of code, one for Windows with GUI and another for Linux without GUI.
On my own Linux computer/supercomputer i do not need this, Clearwin works on Linux like on its own Windows without me doing any additional steps -- you click on Windows EXE file and the program starts, same on Linux, you click on the same Windows created EXE file and, what a miracle!, it also starts -- but on remote public supercomputers where it is not allowed to install Windows emulators in any form, Wine, Bottle or VirtualBox, i am stuck to modify the code for its software.
I can change 'call winop@...' to 'call winop#..., no problem, Windows also works with #.
change include <windows.ins> and <clearwin.ins> to 'include mswin' and can make fake mswin.mod and clrwin.mod
change integer (7) to integer (2) or to integer (3?) since I will not need any 32-bit code anymore... 32-bits are dead.
fix declarations gFortran does not like, it does not like even naturally looking integer8 thinking it is integer4
integer*8, parameter :: nTotalFieldCells = 28000000000 Error: Integer too big for its kind. This check can be disabled with the option ‘-fno-range-check’