[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problems with EDE
From: |
Sascha Wilde |
Subject: |
Re: Problems with EDE |
Date: |
Thu, 08 Oct 2009 15:46:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
"Eric M. Ludlam" <address@hidden> wrote:
> Looking in ede-proj-obj.el (ede/proj/obj.el ?) it is hopefully
> obvious how to add new linkers here. I think my test suite I use uses c
> ++ instead, and thus gets a different linker. I apparently need to add
> a new test. ;)
Hi *,
how about the following patch? It fixes the problems for me.
diff -r 1667bfa67b40 lisp/cedet/ede/proj-obj.el
--- a/lisp/cedet/ede/proj-obj.el Thu Oct 08 11:07:26 2009 +0200
+++ b/lisp/cedet/ede/proj-obj.el Thu Oct 08 15:20:44 2009 +0200
@@ -47,6 +47,7 @@
))
(availablelinkers :initform (ede-g++-linker
;; Add more linker thingies here.
+ ede-gcc-linker
ede-ld-linker
ede-gfortran-linker
))
@@ -231,6 +232,18 @@
:objectextention "")
"Linker needed for c++ programs.")
+(defvar ede-gcc-linker
+ (ede-linker
+ "ede-gcc-linker"
+ :name "gcc"
+ :variables '(("LD" . "gcc")
+ ("LD_LINK" .
+ "$(LD) $(LDFLAGS) -L. -o $@")
+ )
+ :commands '("$(LD_LINK) $^")
+ :objectextention "")
+ "Generic gcc linker.")
+
;;; The EDE object compiler
;;
(defmethod ede-proj-makefile-insert-variables ((this ede-object-compiler))
cheers
sascha
--
Sascha Wilde
"Computers are good at following instructions,
but not at reading your mind."
D. E. Knuth, The TeXbook, Addison-Wesley 1984, 1986, 1996, p. 9
- Re: CEDET merge, (continued)
- Re: CEDET merge, Chong Yidong, 2009/10/06
- Problems with EDE (was: CEDET merge), Sascha Wilde, 2009/10/07
- Re: Problems with EDE, Sascha Wilde, 2009/10/07
- Re: Problems with EDE, Eric M. Ludlam, 2009/10/07
- Re: Problems with EDE, Chong Yidong, 2009/10/07
- Re: Problems with EDE, Chong Yidong, 2009/10/07
- Re: Problems with EDE, Sascha Wilde, 2009/10/08
- Re: Problems with EDE, Sascha Wilde, 2009/10/08
- Re: Problems with EDE, Eric M. Ludlam, 2009/10/08
- Re: Problems with EDE, Miles Bader, 2009/10/08
- Re: Problems with EDE,
Sascha Wilde <=
- Re: Problems with EDE, Chong Yidong, 2009/10/08
- Re: Problems with EDE, Sascha Wilde, 2009/10/08
- Re: Problems with EDE, Chong Yidong, 2009/10/08
- Re: Problems with EDE, David Kastrup, 2009/10/08
- Re: Problems with EDE, Eric M. Ludlam, 2009/10/13
- defalias customize-* in ede.el (was: Problems with EDE), Reiner Steib, 2009/10/08
- Re: Problems with EDE, Sascha Wilde, 2009/10/08
- Re: Problems with EDE, Chong Yidong, 2009/10/08
- Re: Problems with EDE, Eli Zaretskii, 2009/10/09
- Re: Problems with EDE, Sascha Wilde, 2009/10/09