From: Mike Frysinger <vapier@gentoo.org>
To: "Hans-Peter Nilsson" <hans-peter.nilsson@axis.com>
Cc: hp@axis.com, gdb-patches@sourceware.org
Subject: Re: Your sim configure commits broke mn10300-sim and m68hc11-sim
Date: Wed, 19 Oct 2011 16:33:00 -0000 [thread overview]
Message-ID: <201110191205.02203.vapier@gentoo.org> (raw)
In-Reply-To: <201110181608.p9IG80pZ007667@ignucius.se.axis.com>
[-- Attachment #1: Type: Text/Plain, Size: 641 bytes --]
please try this. it works for me.
-mike
2011-10-19 Mike Frysinger <vapier@gentoo.org>
* acinclude.m4 (SIM_AC_OPTION_HARDWARE): Check libm for log2 when
cfi is in the hardware list.
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index 70feca4..35ad690 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -639,6 +639,10 @@ fi
if test x"$silent" != x"yes"; then
echo "Setting hardware to $sim_hw_cflags, $sim_hw, $sim_hw_objs"
fi])dnl
+dnl Some devices require extra libraries.
+case " $hardware " in
+ *" cfi "*) AC_CHECK_LIB(m, log2);;
+esac
])
AC_SUBST(sim_hw_cflags)
AC_SUBST(sim_hw_objs)
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2011-10-19 16:05 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-18 3:51 Hans-Peter Nilsson
2011-10-18 4:11 ` Mike Frysinger
2011-10-18 16:55 ` Hans-Peter Nilsson
2011-10-19 16:33 ` Mike Frysinger [this message]
2011-10-19 20:46 ` Hans-Peter Nilsson
2011-10-19 21:29 ` Mike Frysinger
2011-10-20 1:04 ` Mike Frysinger
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=201110191205.02203.vapier@gentoo.org \
--to=vapier@gentoo.org \
--cc=gdb-patches@sourceware.org \
--cc=hans-peter.nilsson@axis.com \
--cc=hp@axis.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