On Mon, Mar 03, 2025 at 05:21:38PM -0500, James K. Lowden wrote:
> However IMO, the incantation:
>
> make install DESTDIR=/foo
>
> is invalid. The compiler's library search path is fixed when the
> compiler is built, based on configure options. Installing into an
> arbitrary directory cannot work; there is no opportunity then to alter
> the gcobol binary.
This is how most distros install stuff for their packaging systems,
make install DESTDIR=/some/directory
and then everything under /some/directory
is packaged into the package.
GCC is generally relocatable, the compiler driver should find the
compiler and library/include directories etc. relative to where the
driver resides in the filesystem.
Jakub