I'm trying to install from source the UEFI target patched version https://svn.freepascal.org/cgi-bin/viewvc.cgi/branches/olivier/uefi/. With a bootstrap compiler (with debian 9) the patched version compilation goes fine, however I Have some questions
-Is necesary to install (Make Install) the compiler to produce executables? How I can do this with another version installed previously?
It
is possible to use the compiler without installing it, especially if not many unit directories of the packages directory are requires, however it is suggested to install it and to adjust your fpc.cfg. You can influence the location using the
INSTALL_PREFIX variable. If you have a installation of a different version then those two
shouldn't conflict (though you should probably do a
make crossinstall instead of a
make install. If you have a installation of the same version the compiler binary itself (e.g.
ppcx64) will be overwritten, but the units for any other target (e.g.
x86_64-linux) remain untouched and the compiler can still be used to compile for another target.
-How I can ensure that I'm compiling an UEFI executable? (force by command line that the output will be an EFI PE executable)
You need to pass the correct target to the compiler using the
-T option. I have not checked the patched compiler, but I assume the target to be
uefi, so it would be
-Tuefi.
To the moment, when I try to compile a Non-installed version, specifying the include and unit paths ion the command line, sa normal X86_64 executable is produced successfully. However, when I try to compile one with a UEFI target version(I believe that), header and dependence resolution fails (I'm just trying to make a helloworld program, open a text file, appending some stuff and close it, nothing serious yet).
What commands did you try exactly?
It looks abandoned.
"no activity" does not necessarily mean "not working".