View Full Version : How should I bind the DOS-Extender to my executables if I distribute more than one ex
R. T. (Fortran Man)
09-03-2003, 05:54 PM
How should I bind the DOS-Extender to my executables if I distribute more than one executable?
Lahey Support
09-03-2003, 06:35 PM
Compile one of your executables (let's say, target.exe) with the following command:
lf90 <source files> -out target.exe
Compile all of your other executables (other.exe) with the following:
lf90 <source files> -out other.exe
Then run rebindb.exe and cfig386.exe as follows:
rebindb other.exe -noautobind -nofs cfig386 -dosxname
target.exe other.exe
*************
If your executables are to be "schizo" (able to run both under Windows and as DOS-extended applications), then you should do the following:
Compile one of your executables (let's say, target.exe) with the following command:
lf90 -out target.exe -winconsole -bind
Compile all of your other executables (other.exe) with the following:
lf90 -out other.exe -winconsole
Then run rebindb.exe and cfig386.exe as follows:
rebindb other.exe -noautobind -nofs cfig386 -dosxname
target.exe other.exe
vBulletin® v3.6.8, Copyright ©2000-2012, Jelsoft Enterprises Ltd.