rpath options to linkers, OSX issue
Russel Winder via Digitalmars-d
digitalmars-d at puremagic.com
Sun Sep 7 06:17:45 PDT 2014
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:russel.winder at ekiga.net
41 Buckmaster Road m: +44 7770 465 077 xmpp: russel at winder.org.uk
London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: This is a digitally signed message part
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20140907/ee111430/attachment-0001.sig>
More information about the Digitalmars-d
mailing list