From: "Eric M. Ludlam" <eric@siege-engine.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: Sascha Wilde <wilde@sha-bang.de>, emacs-devel@gnu.org
Subject: Re: Problems with EDE
Date: Tue, 13 Oct 2009 21:56:29 -0400 [thread overview]
Message-ID: <1255485389.6961.532.camel@projectile.siege-engine.com> (raw)
In-Reply-To: <87iqeqht64.fsf@stupidchicken.com>
Thanks,
I finally applied this to my repository as well (plus modifications also
mentioned on this thread.)
Eric
On Thu, 2009-10-08 at 10:11 -0400, Chong Yidong wrote:
> "Eric M. Ludlam" <eric@siege-engine.com> writes:
>
> > I wrote it in 1999, and at the time, that is what worked for me.
> >
> > EDE actually will use a range of different linkers, and the ld one was
> > the first match. If you use:
> >
> > M-x customize-target RET
> >
> > you can select a new linker, such as a g++ linker, or the gfortran
> > linker. 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. ;)
>
> I see. I added a new ede-gcc-linker, and the Make project now compiles
> properly. Here's a patch for your source tree:
>
> *** cedet/ede/ede-proj-obj.el.~1.15.~ 2009-08-18 19:56:57.000000000 -0400
> --- cedet/ede/ede-proj-obj.el 2009-10-08 10:10:29.000000000 -0400
> ***************
> *** 48,58 ****
> ;; fortran or pascal can be added here
> ))
> (availablelinkers :initform (ede-g++-linker
> ! ;; Add more linker thingies here.
> ! ede-ld-linker
> ede-gfortran-linker
> ))
> ! (sourcetype :initform (ede-source-c
> ede-source-c++
> ede-source-f77
> ede-source-f90
> --- 48,59 ----
> ;; fortran or pascal can be added here
> ))
> (availablelinkers :initform (ede-g++-linker
> ! ede-gcc-linker
> ede-gfortran-linker
> + ede-ld-linker
> + ;; Add more linker thingies here.
> ))
> ! (sourcetype :initform (ede-source-c
> ede-source-c++
> ede-source-f77
> ede-source-f90
> ***************
> *** 109,114 ****
> --- 110,125 ----
> :uselinker t)
> "Compiler for C sourcecode.")
>
> + (defvar ede-gcc-linker
> + (ede-linker
> + "ede-gcc-linker"
> + :name "gcc"
> + :sourcetype '(ede-source-c)
> + :variables '(("C_LINK" . "$(CC) $(CFLAGS) $(LDFLAGS) -L."))
> + :commands '("$(C_LINK) -o $@ $^")
> + :objectextention "")
> + "Linker for C sourcecode.")
> +
> (defvar ede-source-c++
> (ede-sourcecode "ede-source-c++"
> :name "C++"
next prev parent reply other threads:[~2009-10-14 1:56 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 [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1255485389.6961.532.camel@projectile.siege-engine.com \
--to=eric@siege-engine.com \
--cc=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.