all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Nick Roberts <nickrob@snap.net.nz>
To: sunway <sunwayforever@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: gud: how to set the LD_LIBRARY_PATH before run?
Date: Fri, 6 Jun 2008 01:48:54 +1200	[thread overview]
Message-ID: <18503.61126.467081.917442@kahikatea.snap.net.nz> (raw)
In-Reply-To: <d0a98bc4-f061-4934-9f46-13ea51f1ea3b@59g2000hsb.googlegroups.com>

 > 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




  reply	other threads:[~2008-06-05 13:48 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-06-05  2:36 gud: how to set the LD_LIBRARY_PATH before run? sunway
2008-06-05 13:48 ` Nick Roberts [this message]
2008-06-06  1:18   ` sunway
2008-06-06 21:32     ` Nick Roberts

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18503.61126.467081.917442@kahikatea.snap.net.nz \
    --to=nickrob@snap.net.nz \
    --cc=help-gnu-emacs@gnu.org \
    --cc=sunwayforever@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.