From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Eric M. Ludlam" Newsgroups: gmane.emacs.devel Subject: Re: Problems with EDE Date: Tue, 13 Oct 2009 22:43:52 -0400 Message-ID: <1255488232.6961.540.camel@projectile.siege-engine.com> 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> <87tyy8bft0.fsf@stupidchicken.com> <87tyy8qpds.fsf@stupidchicken.com> Reply-To: eric@siege-engine.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1255488221 12000 80.91.229.12 (14 Oct 2009 02:43:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2009 02:43:41 +0000 (UTC) Cc: Chong Yidong , Andreas Schwab , emacs-devel@gnu.org To: Sascha Wilde Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 14 04:43: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 1Mxtpp-0006n6-4j for ged-emacs-devel@m.gmane.org; Wed, 14 Oct 2009 04:43:29 +0200 Original-Received: from localhost ([127.0.0.1]:35917 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxtpo-0007Ws-Gi for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2009 22:43:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mxtph-0007WT-O9 for emacs-devel@gnu.org; Tue, 13 Oct 2009 22:43:21 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mxtph-0007Vo-9L for emacs-devel@gnu.org; Tue, 13 Oct 2009 22:43:21 -0400 Original-Received: from [199.232.76.173] (port=53663 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mxtpg-0007Va-HD for emacs-devel@gnu.org; Tue, 13 Oct 2009 22:43:20 -0400 Original-Received: from static-71-184-83-10.bstnma.fios.verizon.net ([71.184.83.10]:39981 helo=projectile.siege-engine.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mxtpf-0002un-It for emacs-devel@gnu.org; Tue, 13 Oct 2009 22:43:20 -0400 Original-Received: from projectile.siege-engine.com (localhost [127.0.0.1]) by projectile.siege-engine.com (8.14.3/8.14.3/Debian-6) with ESMTP id n9E2hrWi016869; Tue, 13 Oct 2009 22:43:53 -0400 Original-Received: (from zappo@localhost) by projectile.siege-engine.com (8.14.3/8.14.3/Submit) id n9E2hqEQ016868; Tue, 13 Oct 2009 22:43:52 -0400 X-Authentication-Warning: projectile.siege-engine.com: zappo set sender to eric@siege-engine.com using -f In-Reply-To: X-Mailer: Evolution 2.26.1 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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:116128 Archived-At: On Fri, 2009-10-09 at 23:19 +0200, Sascha Wilde wrote: > Chong Yidong wrote: > > Sascha Wilde writes: > Actually I would suggest to use libtool even for the ede make project > variant where possible, as trying to get things right for all possible > platforms would mean to duplicate the affords of libtool to great > extends. There is libtool support for Make projects already, it is just not the default. The attached patch against my repository shows that you just need to swap the order to make libtool the default. I realize that there is more work to be done for this target type, in terms of querying the compiler to figure out what the target name is, but just doing this swap would let you experiment with it and see what else needs to be done. You could also customize the shared object target, and just select libtool as the compiler you want to use instead of changing the code. Eric -------------------------- *** ede-proj-shared.el.~1.11.~ 2009-10-09 15:49:22.000000000 -0400 --- ede-proj-shared.el 2009-10-13 22:39:18.000000000 -0400 *************** *** 34,43 **** ;;; Code: (defclass ede-proj-target-makefile-shared-object (ede-proj-target-makefile-program) ! ((availablecompilers :initform (ede-gcc-shared-compiler ! ede-gcc-libtool-shared-compiler ! ede-g++-shared-compiler ede-g++-libtool-shared-compiler )) (ldflags :custom (repeat (string :tag "Libtool flag")) :documentation --- 34,43 ---- ;;; Code: (defclass ede-proj-target-makefile-shared-object (ede-proj-target-makefile-program) ! ((availablecompilers :initform (ede-gcc-libtool-shared-compiler ! ede-gcc-shared-compiler ede-g++-libtool-shared-compiler + ede-g++-shared-compiler )) (ldflags :custom (repeat (string :tag "Libtool flag")) :documentation