User forums > Using Code::Blocks

cb_console_runner arguments

(1/2) > >>

wally:
Where can i set the cb_console_runner arguments ?
I want cb_console_runner to execute:


--- Code: ---konsole -T hello -e /usr/bin/cb_console_runner /home/op/devel/codeblocks/hello/bin/Release/hello

--- End code ---

instead of:


--- Code: ---konsole -T hello -e '/usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/op/devel/codeblocks/hello/bin/Release/hello

--- End code ---

i'm not able to figure out, where it gets the LD_LIBRARY_PATH from
regs wally


Jenna:
It's hardcoded, and a change would not really make sense.

It means that shared libs are searched first in the LD_LIBRARY_PATH of the system (if any), than in the executables directory, and thean in the paths configured with ldconfig.

wally:
i figured out that the problem is not the LD_LIBRARY_PATH stuff,
but my konsole. Seems i screwed up something with the bashrc
or whatever.
When i run with "xterm -T $TITLE -e" in the environment-settings, it works.

When  issuing the following in an konsole outside CB:

--- Code: ---konsole -T hello -e /usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/op/devel/codeblocks/hello/bin/Release/hello

--- End code ---
it also works.
 
but the line created by CB does not work and give the same termination error
(Process terminated with status 254 (0 minutes, 0 seconds))



--- Code: ---konsole -T hello -e '/usr/bin/cb_console_runner LD_LIBRARY_PATH=$LD_LIBRARY_PATH:. /home/op/devel/codeblocks/hello/bin/Release/hello '

--- End code ---

the only difference is [']  in the beginning and [ ']  (apostroph without space and apostroph with space.

I do not know what's the reason and i try to survive with the ugly xterm.

regs wally

Jenna:
The issue should be fixed in svn r5449.

wally:
Thank you for this info !

Navigation

[0] Message Index

[#] Next page

Go to full version