Re: The '$' and 'O' in the Linker's Additional Options got eaten by NetBeans

2019-04-15 Thread Heng Zhou
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  wrote:

> That way, the option passed is "\\\RIGIN/LibDir".
>
> On Mon, Apr 15, 2019 at 11:16 PM Tushar Joshi 
> 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: 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tusharjoshi.com=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI=ULL23hq6_0mXbOuPO7dXhmVE-kHIZDeD-lznr4vQIu8=LuDtIMYMsToXihq8WxjE17Lnc-8IesQzhga81owkSY4=
>>
>> * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2
>>
>> * Senior Architect @ Persistent Systems 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.persistent.com=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI=ULL23hq6_0mXbOuPO7dXhmVE-kHIZDeD-lznr4vQIu8=nIgNrAEQUblpwMVPA-PFo8wJxGUiOVPOB7DKqxaIVvM=
>> * LinkedIn: 
>> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_tusharvjoshi=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI=ULL23hq6_0mXbOuPO7dXhmVE-kHIZDeD-lznr4vQIu8=TWLUQ9QhVB89QX2ht6WaZ78dyM0ux0OrHO_KU0EBbH0=
>>
>>
>>
>> On Tue, Apr 16, 2019 at 6:22 AM Heng Zhou  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.
>>>
>>


Re: The '$' and 'O' in the Linker's Additional Options got eaten by NetBeans

2019-04-15 Thread Heng Zhou
That way, the option passed is "\\\RIGIN/LibDir".

On Mon, Apr 15, 2019 at 11:16 PM Tushar Joshi 
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: 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.tusharjoshi.com=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI=lS8lFlZBKlohLkrIpyd4w4zvsjJSLiEiTIwoRDl1P2Q=3csUw6mhkUA5apoFQEABKbG9IcAL2XoWVX3tvQqRltg=
>
> * MCSD_NET C#, SCJP, RHCE, ZCE, PMP, CSM, SAFe, PRINCE2
>
> * Senior Architect @ Persistent Systems 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.persistent.com=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI=lS8lFlZBKlohLkrIpyd4w4zvsjJSLiEiTIwoRDl1P2Q=SATr6QNcCyxQ5FSZgQ1So8FgjZGsIX3GPw5LjjHcjp0=
> * LinkedIn: 
> https://urldefense.proofpoint.com/v2/url?u=http-3A__www.linkedin.com_in_tusharvjoshi=DwIBaQ=Ngd-ta5yRYsqeUsEDgxhcqsYYY1Xs5ogLxWPA_2Wlc4=NMX1BNoBG-Bn1kvZ0H2kBayJt7s1Lx3N_B0eyvYWkPI=lS8lFlZBKlohLkrIpyd4w4zvsjJSLiEiTIwoRDl1P2Q=PqmyRNXjbL5jgLiDZw5sAxEK0_qhttdaMeAiUcqgtKw=
>
>
>
> On Tue, Apr 16, 2019 at 6:22 AM Heng Zhou  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.
>>
>


The '$' and 'O' in the Linker's Additional Options got eaten by NetBeans

2019-04-15 Thread Heng Zhou
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.