This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to enable Mudflap in gcc 4.x?
- From: Eric Christopher <echristo at apple dot com>
- To: Deepen Mantri <Deepen dot Mantri at kpitcummins dot com>
- Cc: fche at redhat dot com, gcc at gcc dot gnu dot org
- Date: Mon, 4 Jun 2007 01:12:48 -0700
- Subject: Re: How to enable Mudflap in gcc 4.x?
- References: <B9D27836A814694B95A1C294F71457660141B268@sohm.kpit.com>
Thanks for the reply.
I did remove --enable-libmudflap option from the build script and
followed following steps for libmudflap configuration:
Why on earth would you do this?
I created a separate build folder and from there
a) [libmudflap source path]/configure --target=sh-elf --prefix=[My
prefix folder path]
b) make
c) make install
By this, libmudflap.a got created but for i386-redhat-linux target.
No, at the toplevel (just like your normal build of the compiler and
target libraries):
configure --enable-languages=c --disable-multilib --enable-libmudflap
--target=sh-elf ; make -j8 all-gcc all-target
and you'll get this:
configure: error: none of the known symbol names works
make: *** [configure-target-libmudflap] Error 1
which means that libmudflap needs to be ported to sh-elf.
-eric