Awesome! with regards Tushar
On Tue, Apr 16, 2019 at 8:57 AM Heng Zhou <hzh...@clemson.edu> wrote: > With the inspiration from Mr. Tushar, I finally figured out the trick: The > option should be written as "\$$ORIGIN/FMOD". Double $ is key! :-) > > On Mon, Apr 15, 2019 at 11:19 PM Heng Zhou <hzh...@clemson.edu> wrote: > >> That way, the option passed is "\\\RIGIN/LibDir". >> >> On Mon, Apr 15, 2019 at 11:16 PM Tushar Joshi <tusharvjo...@gmail.com> >> wrote: >> >>> Can you please try "\\\$ORIGIN/LibDir" that is one escape character for >>> the backslash and one escape character for the $ >>> >>> with regards >>> Tushar >>> >>> Tushar Joshi, Nagpur: http://www.tusharjoshi.com >>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tusharjoshi.com_&d=DwMFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI&m=ULL23hq6_0mXbOuPO7dXhmVE-kHIZDeD-lznr4vQIu8&s=cieUvzxsBgmuh4Sbp4OnOdvX85w4RfPbK81DfV0Woos&e=> >>> >>> * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2 >>> >>> * Senior Architect @ Persistent Systems http://www.persistent.com >>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.persistent.com_&d=DwMFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI&m=ULL23hq6_0mXbOuPO7dXhmVE-kHIZDeD-lznr4vQIu8&s=zG95i9Zlgdw2yc10zIRrTs-85Y8916MvJ82zoFHVIEY&e=> >>> * LinkedIn: http://www.linkedin.com/in/tusharvjoshi >>> <https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_tusharvjoshi&d=DwMFaQ&c=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4&r=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI&m=ULL23hq6_0mXbOuPO7dXhmVE-kHIZDeD-lznr4vQIu8&s=TWLUQ9QhVB89QX2ht6WaZ78dyM0ux0OrHO_KU0EBbH0&e=> >>> >>> >>> >>> On Tue, Apr 16, 2019 at 6:22 AM Heng Zhou <hzh...@clemson.edu> wrote: >>> >>>> Hi, >>>> >>>> I wanna the following linker flags to be passed to the linker: >>>> >>>> -Wl,--enable-new-dtags,-rpath,"\$ORIGIN/LibDir" >>>> >>>> So I type it literally in the Linker's Additional Options. But I found >>>> that the '$' and 'O' in "\$ORIGIN/LibDir" got eaten by NetBeans, so only >>>> "\RIGIN" appears in actual linking option. I guess it is related to some >>>> pre-processing like escaping, but I'm not familiar with it. Could you >>>> please instruct me how to circumvent the pre-processing so that it is >>>> exactly "\$ORIGIN/LibDir" that is actually passed to the linker? Thanks. >>>> >>>