help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to using cross compile tools in emacs?


From: enzo fang
Subject: how to using cross compile tools in emacs?
Date: Sat, 7 May 2011 20:57:40 +0800

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]