From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Sascha Wilde Newsgroups: gmane.emacs.devel Subject: Re: Problems with EDE Date: Thu, 08 Oct 2009 15:46:27 +0200 Message-ID: References: <87hbun9jbs.fsf@stupidchicken.com> <1254397096.16450.84.camel@projectile.siege-engine.com> <1254575261.6961.23.camel@projectile.siege-engine.com> <873a5wbed3.fsf@stupidchicken.com> <1254933167.6961.298.camel@projectile.siege-engine.com> <87ocoibqln.fsf@stupidchicken.com> <87r5tesk6l.fsf@stupidchicken.com> <1255003484.6961.360.camel@projectile.siege-engine.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Trace: ger.gmane.org 1255009721 1195 80.91.229.12 (8 Oct 2009 13:48:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 8 Oct 2009 13:48:41 +0000 (UTC) Cc: Chong Yidong , emacs-devel@gnu.org To: eric@siege-engine.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 08 15:48:31 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MvtKG-0005mX-Vm for ged-emacs-devel@m.gmane.org; Thu, 08 Oct 2009 15:46:37 +0200 Original-Received: from localhost ([127.0.0.1]:55024 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvtKG-0001PP-CN for ged-emacs-devel@m.gmane.org; Thu, 08 Oct 2009 09:46:36 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MvtKB-0001PH-F9 for emacs-devel@gnu.org; Thu, 08 Oct 2009 09:46:31 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MvtK9-0001Ox-TF for emacs-devel@gnu.org; Thu, 08 Oct 2009 09:46:31 -0400 Original-Received: from [199.232.76.173] (port=36867 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MvtK9-0001Ou-PP for emacs-devel@gnu.org; Thu, 08 Oct 2009 09:46:29 -0400 Original-Received: from mail2.sha-bang.de ([78.47.120.114]:34189 helo=mail.sha-bang.de) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MvtK9-0007Vg-97 for emacs-devel@gnu.org; Thu, 08 Oct 2009 09:46:29 -0400 Original-Received: from kenny.sha-bang.local (xdslr190.osnanet.de [82.149.187.190]) by mail.sha-bang.de (Postfix) with ESMTPSA id D2D7D54E; Thu, 8 Oct 2009 15:46:27 +0200 (CEST) Original-Received: from wilde by kenny.sha-bang.local with local (Sha Bang MUA v.0711184.68) ID 1MvtK7-0005tJ-3I; Thu, 08 Oct 2009 15:46:27 +0200 In-Reply-To: <1255003484.6961.360.camel@projectile.siege-engine.com> (Eric M. Ludlam's message of "Thu, 08 Oct 2009 08:04:44 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115985 Archived-At: --=-=-= "Eric M. Ludlam" 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. --=-=-= Content-Type: text/x-patch Content-Disposition: inline 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 --=-=-=--