all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: enzo fang <feixiangniao26@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: how to using cross compile tools in emacs?
Date: Sat, 7 May 2011 20:57:40 +0800	[thread overview]
Message-ID: <BANLkTingtC6g-rrEGHnuORrH1=jT9s=1Dg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 649 bytes --]

Hi,all

i want to use emacs to remote debug my program.
but in gud command line when i input my command  "arm-none-linux-gnueabi-gdb
--annotate=3 vmlinux"
emacs tell me command not fount.It seems emacs can't find the command path.
I try to add my cross compile path to emacs environment variable like this
(setenv "PATH" (concat "/usr/local/CodeSourcery/
Sourcery_G++_Lite/bin;/home/enzo/gcc-3.4.5-glibc-2.3.6/bin;" (getenv
"PATH")))
(setq exec-path (cons
"/usr/local/CodeSourcery/Sourcery_G++_Lite/bin;/home/enzo/gcc-3.4.5-glibc-2.3.6/bin;"
exec-path))

but this doesn't works,Can someone help me?


-- 
Best Regards
enzofang

[-- Attachment #2: Type: text/html, Size: 780 bytes --]

                 reply	other threads:[~2011-05-07 12:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='BANLkTingtC6g-rrEGHnuORrH1=jT9s=1Dg@mail.gmail.com' \
    --to=feixiangniao26@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /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.