emacs-devel
[Top][All Lists]
Advanced

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

Re: Problems with EDE


From: Eric M. Ludlam
Subject: Re: Problems with EDE
Date: Tue, 13 Oct 2009 22:43:52 -0400

On Fri, 2009-10-09 at 23:19 +0200, Sascha Wilde wrote:
> Chong Yidong <address@hidden> wrote:
> > Sascha Wilde <address@hidden> 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 via email to

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