This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC 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]

Re: How to enable Mudflap in gcc 4.x?




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]