From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: enzo fang Newsgroups: gmane.emacs.help Subject: how to using cross compile tools in emacs? Date: Sat, 7 May 2011 20:57:40 +0800 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=0016e6469d42c61a9504a2af2643 X-Trace: dough.gmane.org 1304919663 1151 80.91.229.12 (9 May 2011 05:41:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 9 May 2011 05:41:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon May 09 07:40:57 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QJJDE-00052Z-05 for geh-help-gnu-emacs@m.gmane.org; Mon, 09 May 2011 07:40:56 +0200 Original-Received: from localhost ([::1]:39873 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QJJDD-0007Z1-GO for geh-help-gnu-emacs@m.gmane.org; Mon, 09 May 2011 01:40:55 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:54291) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIh4o-0006CC-1R for help-gnu-emacs@gnu.org; Sat, 07 May 2011 08:57:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QIh4n-0004aU-C5 for help-gnu-emacs@gnu.org; Sat, 07 May 2011 08:57:42 -0400 Original-Received: from mail-vx0-f169.google.com ([209.85.220.169]:58374) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QIh4n-0004aO-A1 for help-gnu-emacs@gnu.org; Sat, 07 May 2011 08:57:41 -0400 Original-Received: by vxk20 with SMTP id 20so5715273vxk.0 for ; Sat, 07 May 2011 05:57:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=/g+7g4bq2bIhhDisYMISPhl81TnZQU8P6pEmcSX2BQA=; b=v9k6tCkUYvmGZlSEkPP/FWzxz9ULwZ1/jylI78z6VWPXsUOdGR98nWvhB7GVuVMvVF Fa0ST19EG5iQBwAzeKEshNjAPb9syWWF7ma+nMIWHtHz7Wr5WmhA5G1EIS1Ma8FBakLW POUu/IgcY6QWQDL07rnMcd5eB0k1b8tAjpopc= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=T5YzCh9/JXm98nc4BTldfqVDYkiF8hlFKsPZo/slyhkqfzEtA1EjpJznXdqPoXu4UK VEDPbOQLkM2WtsQkF3Z6XgRsRQYalbNxXm7z1/G5djJVvNod2QaIw+iVpYyR0VbA96SG x08w03cumi21X2JOkIJRxHURrZOh4wTtRAmiM= Original-Received: by 10.220.48.142 with SMTP id r14mr1218815vcf.30.1304773060335; Sat, 07 May 2011 05:57:40 -0700 (PDT) Original-Received: by 10.220.194.199 with HTTP; Sat, 7 May 2011 05:57:40 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 209.85.220.169 X-Mailman-Approved-At: Mon, 09 May 2011 01:40:50 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:80952 Archived-At: --0016e6469d42c61a9504a2af2643 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi=EF=BC=8Call i want to use emacs to remote debug my program. but in gud command line when i input my command "arm-none-linux-gnueabi-gd= b --annotate=3D3 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? --=20 Best Regards enzofang --0016e6469d42c61a9504a2af2643 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi=EF=BC=8Call

i want to use emacs to remote debug my program.
bu= t in=20 gud command line when i input my command=C2=A0 "arm-none-linux-gnueabi= -gdb=20 --annotate=3D3 vmlinux"
emacs tell me command not fount.It seems em= acs can't find the command path.
I try to=20 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/Code= Sourcery/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

--0016e6469d42c61a9504a2af2643--