From: Michael Snyder <msnyder@specifix.com>
To: me@madteckhead.dreamhosters.com
Cc: gdb@sourceware.org
Subject: Re: GDB make error: for m68xx toolchain
Date: Fri, 04 Apr 2008 09:35:00 -0000 [thread overview]
Message-ID: <1207276213.31772.231.camel@localhost.localdomain> (raw)
In-Reply-To: <64034.210.49.88.189.1207275669.squirrel@webmail.madteckhead.dreamhosters.com>
On Fri, 2008-04-04 at 12:21 +1000, Nathan K wrote:
> Hi people who have more of an idea about this than me,
>
> For Uni we have to compile for the m68hc11. So I've set about setting up
> the toolchain so I can work at home as indicated here.
>
> My problem is a make error when compiling GDB
>
> make[1]: *** No rule to make target `-lm', needed by `gdb'. Stop.
> make: *** [all-gdb] Error 2
>
> I'm running os x, gcc 3.3.5 (using gcc_select), gdb-6.2 with 68hc patch as
> indicated on GCC 68HC11 & 68HC12 Sources Installation
>
> I think this might be referring to the math library, but I'm not sure what
> to do about it. perhaps add a config option or edit make file???
>
> Thanks in advance for any pointers,
>
> Nathan
What's Uni? Oh, university? Heh, you're not at an .edu address...
Yes, the error message refers to the math library.
"-lm" means "link with libm.a" (or libm.so, depending).
But the -lm directive seems to be misplaced somehow,
perhaps from your host/target makefile fragment.
We're at version 6.8, though -- we can't help you too much
with version 6.2...
next prev parent reply other threads:[~2008-04-04 2:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-04 2:43 Nathan K
2008-04-04 9:35 ` Michael Snyder [this message]
2008-04-04 11:18 ` No.Spam
2008-04-05 3:58 ` Michael Snyder
2008-04-07 11:34 ` No.Spam
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=1207276213.31772.231.camel@localhost.localdomain \
--to=msnyder@specifix.com \
--cc=gdb@sourceware.org \
--cc=me@madteckhead.dreamhosters.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox