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: Thu, 08 Oct 2009 08:04:44 -0400 [thread overview]
Message-ID: <1255003484.6961.360.camel@projectile.siege-engine.com> (raw)
In-Reply-To: <87r5tesk6l.fsf@stupidchicken.com>
On Wed, 2009-10-07 at 22:17 -0400, Chong Yidong wrote:
> Chong Yidong <cyd@stupidchicken.com> writes:
>
> > The target is now printed correctly, but there is a different
> > compilation error; I'll investigate further.
>
> It seems the error occurs in upstream CEDET as well. Following Sascha's
> "Make" project recipe, I get
>
> make -f /home/cyd/tmp/Makefile all
> gcc -c hello.c
> ld -L. -o hello hello.o
> ld: warning: cannot find entry symbol _start; defaulting to 0000000008048074
> hello.o: In function `main':
> hello.c:(.text+0x19): undefined reference to `puts'
> make: *** [hello] Error 1
>
> Why is EDE using ld rather than gcc to perform linking?
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. ;)
Eric
next prev parent reply other threads:[~2009-10-08 12:04 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 [this message]
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
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=1255003484.6961.360.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.