This is the name of the executables on fedora (tested on fedora:latest docker container)
Make it look for 'sdcc-sdcc' and 'sdcc-sdas8051' executables too #17
f_autodetect_sdcc_executable_names into main
I'm not really happy with the complexity this adds; I also don't particularly like the idea of maintaining a set of workarounds for individual distros. Why does Fedora do this anyway?
I think a better approach would be to make sure we have the definitions of
SDCC = sdcc
SDAR = sdar
SDAS8051 = sdas8051
and then separate ones that include the common flags, something like RUN_SDCC = $(SDCC) ....
This way, people working around weird upstream decisions can easily override them, while leaving me free from the burden of working around these decisions.
I'm not really happy with the complexity this adds; I also don't particularly like the idea of maintaining a set of workarounds for individual distros. Why does Fedora do this anyway?
Looks like it's been like this since 2007.
Changelog:
image
And I also found a fedora readme:
image
Which I checked, indeed the real executables are in libexec, and bin only contains shell scripts that pass on to libexec.
Perhaps we can add a note to the glasgow firmware, to add /usr/libexec/sdcc to PATH, does that sound acceptable?
Perhaps we can add a note to the glasgow firmware, to add
/usr/libexec/sdccto PATH, does that sound acceptable?
Yeah.
Alright, I'll close this PR.
Pull request closed
No due date set.
No dependencies set.
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?