tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Wrappers don't transform @file syntax

On Thu, Jan 16, 2020 at 12:43:44AM +0900, PHO wrote:
> 2. GHC does multi-stage bootstrapping, i.e. it first compiles itself
> with an externally supplied GHC, then uses it to compile the final stage
> of GHC. This means we can't just substitute $ORIGIN with the final
> prefix relative to ${LOCALBASE}.

Actually, that's exactly how a lot of system worked before $ORIGIN and
it is still fine. Record the final location of the executable and use
LD_LIBRARY_PATH for the rest.


Home | Main Index | Thread Index | Old Index