unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Eric M. Ludlam" <eric@siege-engine.com>
To: Sascha Wilde <wilde@sha-bang.de>
Cc: Chong Yidong <cyd@stupidchicken.com>,
	Andreas Schwab <schwab@linux-m68k.org>,
	emacs-devel@gnu.org
Subject: Re: Problems with EDE
Date: Tue, 13 Oct 2009 22:43:52 -0400	[thread overview]
Message-ID: <1255488232.6961.540.camel@projectile.siege-engine.com> (raw)
In-Reply-To: <m21vlcnu32.fsf@sha-bang.de>

On Fri, 2009-10-09 at 23:19 +0200, Sascha Wilde wrote:
> Chong Yidong <cyd@stupidchicken.com> wrote:
> > Sascha Wilde <wilde@sha-bang.de> 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





  reply	other threads:[~2009-10-14  2:43 UTC|newest]

Thread overview: 94+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-28 15:31 CEDET merge Chong Yidong
2009-09-28 17:31 ` Ulrich Mueller
2009-09-28 17:55   ` Chong Yidong
2009-09-28 18:42     ` Ulrich Mueller
2009-09-28 19:30       ` Chong Yidong
2009-09-28 20:03         ` Ulrich Mueller
2009-09-28 20:20           ` Rupert Swarbrick
2009-09-28 22:16             ` Ulrich Mueller
2009-09-28 17:47 ` Eli Zaretskii
2009-09-28 18:00 ` Eli Zaretskii
2009-09-28 18:25   ` Chong Yidong
2009-09-28 19:23     ` Eli Zaretskii
2009-09-28 19:27       ` Andreas Schwab
2009-09-28 18:20 ` Phil Hagelberg
2009-09-28 22:10   ` Chong Yidong
2009-09-28 22:25     ` Phil Hagelberg
2009-09-30 16:38     ` Phil Hagelberg
2009-09-30 17:29       ` Chong Yidong
2009-09-30 21:43         ` Phil Hagelberg
2009-10-01  1:19           ` Chong Yidong
2009-10-01  3:20             ` Phil Hagelberg
2009-10-01  5:14               ` Phil Hagelberg
2009-10-01  7:07                 ` Stefan Monnier
2009-10-02 17:46                   ` Phil Hagelberg
2010-03-17 18:24                     ` progress-reporter (was: CEDET merge) Michael Albinus
2009-09-28 19:34 ` CEDET merge Andreas Schwab
2009-09-28 20:20   ` Andreas Schwab
2009-09-28 20:20 ` Alan Mackenzie
2009-09-28 21:57   ` Chong Yidong
2009-09-29  4:28 ` Glenn Morris
2009-09-29 11:28   ` Eric M. Ludlam
2009-09-30  9:32 ` Juanma Barranquero
2009-09-30 18:38   ` Eli Zaretskii
2009-09-30 19:32     ` Juanma Barranquero
2009-09-30 10:29 ` Sascha Wilde
2009-10-01 10:58   ` Sascha Wilde
2009-10-01 11:38     ` Eric M. Ludlam
2009-10-01 12:51       ` Sascha Wilde
2009-10-01 16:28         ` Sascha Wilde
2009-10-03 13:07           ` Eric M. Ludlam
2009-10-03 21:01             ` Sascha Wilde
2009-10-06 16:15               ` Sascha Wilde
2009-10-06 17:51                 ` Chong Yidong
2009-10-07  9:34                   ` Problems with EDE (was: CEDET merge) Sascha Wilde
2009-10-07  9:49                     ` Problems with EDE Sascha Wilde
2009-10-07 16:32                       ` Eric M. Ludlam
2009-10-08  1:51                         ` Chong Yidong
2009-10-08  2:17                           ` Chong Yidong
2009-10-08  9:53                             ` Sascha Wilde
2009-10-08 20:51                               ` Sascha Wilde
2009-10-08 12:04                             ` Eric M. Ludlam
2009-10-08 13:38                               ` Miles Bader
2009-10-08 13:46                               ` Sascha Wilde
2009-10-08 14:16                                 ` Chong Yidong
2009-10-08 19:46                                   ` Sascha Wilde
2009-10-08 14:11                               ` Chong Yidong
2009-10-08 14:16                                 ` David Kastrup
2009-10-14  1:56                                 ` Eric M. Ludlam
2009-10-08 18:32                               ` defalias customize-* in ede.el (was: Problems with EDE) Reiner Steib
2009-10-08 20:58                       ` Problems with EDE Sascha Wilde
2009-10-08 22:15                         ` Chong Yidong
2009-10-09  8:03                           ` Eli Zaretskii
2009-10-09 12:15                           ` Sascha Wilde
2009-10-15  3:45                             ` Eric M. Ludlam
2009-10-15  8:58                               ` Sascha Wilde
2009-10-15 14:38                                 ` Chong Yidong
2009-10-17 14:27                                   ` Chong Yidong
2009-10-20 13:22                                     ` Sascha Wilde
2009-10-14  2:34                           ` Eric M. Ludlam
2009-10-09 12:34                         ` Sascha Wilde
2009-10-09 12:42                           ` Sascha Wilde
2009-10-10  0:24                             ` Eric M. Ludlam
2009-10-10  7:34                               ` Sascha Wilde
2009-10-15  3:05                             ` Eric M. Ludlam
2009-10-09 17:10                           ` Andreas Schwab
2009-10-09 18:08                             ` Chong Yidong
2009-10-09 18:54                               ` Sascha Wilde
2009-10-09 19:14                                 ` Sascha Wilde
2009-10-09 20:33                                   ` Chong Yidong
2009-10-09 21:19                                     ` Sascha Wilde
2009-10-14  2:43                                       ` Eric M. Ludlam [this message]
2009-10-09 19:46                               ` Eric M. Ludlam
2009-10-08 22:21                     ` Chong Yidong
2009-10-03 20:10       ` CEDET merge Chong Yidong
2009-10-03 20:31         ` Eric M. Ludlam
2009-10-04  1:44           ` Chong Yidong
2009-10-04  2:30             ` Eric M. Ludlam
2009-10-04  5:52               ` Chong Yidong
2009-10-01  3:58 ` Miles Bader
2009-10-01 11:31   ` Eric M. Ludlam
2009-10-01 14:48     ` Chong Yidong
2009-10-07  3:43 ` Phil Hagelberg
2009-10-07  5:37   ` Chong Yidong
2009-10-07 16:20     ` Eric M. Ludlam

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1255488232.6961.540.camel@projectile.siege-engine.com \
    --to=eric@siege-engine.com \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=schwab@linux-m68k.org \
    --cc=wilde@sha-bang.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).