On Sun, 2014-09-07 at 15:05 +0200, Jacob Carlborg via Digitalmars-d wrote: > On 2014-09-06 17:51, Russel Winder via Digitalmars-d wrote: > > Ariovistus originally reported Issue 2940 against SCons and the D > > toolset (http://scons.tigris.org/issues/show_bug.cgi?id=2940). The gdc > > tool uses "-Wl,-rpath=." in the gdc command to set the rpath for gdc. > > The dmd tool uses "-L-rpath=." in the dmd command to set the rpath for > > dmd. > > > > This all works fine on Linux. I haven't managed to find a way to test > > this on Windows. > > > > It seems for the first time (which surprised me as I thought I had > > checked this), I am running the tests on OSX and "-L-rpath=." generates > > "-rpath=." to the ld which is Clang and it rejects this option. > > It works for me with "-rpath .", note the absence of the equals sign.
So does that mean giving DMD the option
-L"-rpath ."
would this work for Linux I wonder instead of:
-L-path=.
I feel an experiment coming on!
--
Russel.
=============================================================================
Dr Russel Winder t: +44 20 7585 2200 voip: sip:[email protected]
41 Buckmaster Road m: +44 7770 465 077 xmpp: [email protected]
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
signature.asc
Description: This is a digitally signed message part
