Bootstrapping build

David Nadlinger via digitalmars-d-ldc digitalmars-d-ldc at puremagic.com
Thu Feb 25 09:20:20 PST 2016


On 25 Feb 2016, at 18:13, Russel Winder via digitalmars-d-ldc wrote:
> General executables compiled with ldc2 are one thing but when ldc2 is
> compiled with ldc2 and doesn't know where it's libraries are you get
> serious "throwing toys out of pram"!

So this is coming back to the dynamic libraries not being on the path 
after you do "cmake -DBUILD_SHARED_LIBS=ON -DCMAKE_INSTALL_PREFIX=… 
<ldc>; make install", and is not in any way specific to LDC also being 
the executable being built?

What would your suggested solution be? I'm not sure what the correct way 
to address this is, since unless I'm mistaken, exactly the same issue 
occurs also for any C++ shared library produced by GCC, etc.

  — David



More information about the digitalmars-d-ldc mailing list