[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gud: how to set the LD_LIBRARY_PATH before run?
From: |
Nick Roberts |
Subject: |
Re: gud: how to set the LD_LIBRARY_PATH before run? |
Date: |
Fri, 6 Jun 2008 01:48:54 +1200 |
> My program need to link some shared libs using export
> LD_LIBRARY_PATH=.., but when using gud, but how to export the
> environment variable in gud?
If you mean set the environment variable for the program being debugged, then
this is really a GDB question and it's described in the GDB info manual:
set environment VARNAME [ = VALUE]
set environment LD_LIBRARY_PATH = /your/path1:/your_path2
--
Nick http://www.inet.net.nz/~nickrob