Bootstrapping build
David Nadlinger via digitalmars-d-ldc
digitalmars-d-ldc at puremagic.com
Fri Feb 26 10:19:39 PST 2016
Hi Russel,
On 26 Feb 2016, at 11:55, Russel Winder via digitalmars-d-ldc wrote:
> I guess this is going to end up being a judgement call based on
> cost/benefit.
> […]
> I'll see if I can do some research on this over the weekend.
That would be great! My worry is not so much the (small) bit of extra
engineering effort, it's that adding rpaths might have unintended
consequences or cause more confusion among users than it resolves. This
is merely based on the observation that I can't recall ever using a
development toolchain that would set rpaths by default (apart from old
libtooled projects, but it was done there only as part of the install
step).
On another note, it's not just a question of setting
CMAKE_INSTALL_PREFIX vs. not setting it. For example, setting any rpaths
on -DCMAKE_INSTALL_PREFIX=/usr would be pretty unexpected, and from the
looks of it would also break the Fedora packages.
I suppose one way to find out how to go about this would be to just add
the rpath and see if anybody complains. How does DMD handle this?
— David
More information about the digitalmars-d-ldc
mailing list