unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Sascha Wilde <wilde@sha-bang.de>
To: eric@siege-engine.com
Cc: Chong Yidong <cyd@stupidchicken.com>, emacs-devel@gnu.org
Subject: Re: Problems with EDE
Date: Thu, 08 Oct 2009 15:46:27 +0200	[thread overview]
Message-ID: <m28wfm3sng.fsf@sha-bang.de> (raw)
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")

[-- Attachment #1: Type: text/plain, Size: 350 bytes --]

"Eric M. Ludlam" <eric@siege-engine.com> 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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 811 bytes --]

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))

[-- Attachment #3: Type: text/plain, Size: 187 bytes --]


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

  parent reply	other threads:[~2009-10-08 13:46 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 [this message]
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
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=m28wfm3sng.fsf@sha-bang.de \
    --to=wilde@sha-bang.de \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    --cc=eric@siege-engine.com \
    /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).