User forums > Nightly builds

The 17 June 2012 build (8059) is out.

<< < (11/11)

DrShred:
I've just switched from 10.05 to nightly build  8059 and have encountered a problem with linker settings (using Ubuntu 12.04, 64-bit).  In 10.05 I could specify $ORIGIN in the linker settings by putting '-Wl,-R\\$$ORIGIN' in the 'other linker options' section, but this doesn't work any more.  The build log shows '-Wl,-R\\', but no mention of $ORIGIN.  Is there a better/different way of specifying $ORIGIN now?

oBFusCATed:
DrShred: have you tried to find a suitable variable here: http://wiki.codeblocks.org/index.php?title=Variable_expansion
I suppose origin was an internal variable, so you've not meant to use it.

Jenna:

--- Quote from: DrShred on July 10, 2012, 09:53:53 am ---I've just switched from 10.05 to nightly build  8059 and have encountered a problem with linker settings (using Ubuntu 12.04, 64-bit).  In 10.05 I could specify $ORIGIN in the linker settings by putting '-Wl,-R\\$$ORIGIN' in the 'other linker options' section, but this doesn't work any more.  The build log shows '-Wl,-R\\', but no mention of $ORIGIN.  Is there a better/different way of specifying $ORIGIN now?

--- End quote ---
Since some revisions we replace macros and variables in the linker settings.

You can try to triple the $-sign (-Wl,-R\\$$$ORIGIN).

DrShred:
Triple $$$ works great!  Thanks for the quick replies!

Navigation

[0] Message Index

[*] Previous page

Go to full version