Bootstrapping build

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Tue Feb 23 11:14:08 PST 2016


On 23 Feb 2016, at 11:25, Russel Winder via digitalmars-d-ldc wrote:
> The only downside is the lack of path processing in linking which 
> means
> you have to set LD_LIBRARY_PATH all the time.

I don't think this would be an LDC issue, though, as we just forward the 
arguments to the system gcc – or is it?

As I'm sure you know, to avoid this issue you can either specify an 
rpath during linking or put the shared libraries into a well-known 
directory (/lib, /usr/lib or one listed in ld.so.conf).

  — David


More information about the digitalmars-d-ldc mailing list