This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Fri, 2008-04-04 at 12:21 +1000, Nathan K wrote:Thanks for your response, yeah I use a dumb email address for lists to avoid spam.
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...
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |