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

2007-06-05 Thread Deepen Mantri
On 4th June 2007 at 07:24:37 Frank Eigler wrote: First thing is to get past that autoconf error. Check your linker script for the default entry point symbol's name, and give it to libmudflap/configure.ac (then regenerate configure). Next, overcome build problems (if any) to the extent that a

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

2007-06-04 Thread Deepen Mantri
Frank Ch. Eigler [EMAIL PROTECTED] wrote: libmudflap needs to know the know the name of the entry point symbol, to enable one of its heuristics. See the ENTRY_POINT area in configure.ac, and update it for your own runtime. Be aware that libmduflap's libc-wrapper functions may need porting for

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

2007-06-04 Thread Eric Christopher
On Jun 4, 2007, at 12:09 AM, Deepen Mantri wrote: Frank Ch. Eigler [EMAIL PROTECTED] wrote: libmudflap needs to know the know the name of the entry point symbol, to enable one of its heuristics. See the ENTRY_POINT area in configure.ac, and update it for your own runtime. Be aware that

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

2007-06-04 Thread Eric Christopher
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

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

2007-06-04 Thread Deepen Mantri
Eric Christopher wrote: 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

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

2007-06-04 Thread Frank Ch. Eigler
Hi - which means that libmudflap needs to be ported to sh-elf. How should I start the porting? Do you have any document related to such porting? [...] First thing is to get past that autoconf error. Check your linker script for the default entry point symbol's name, and give it to

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

2007-06-03 Thread Frank Ch. Eigler
Deepen Mantri [EMAIL PROTECTED] writes: [...] To enable libmudflap library, I am passing the --enable-libmudflap option in the gcc configure script But I get the following error during final gcc building: configure error: none of the known symbol names works [configure-target-libmudflap]

How to enable Mudflap in gcc 4.x?

2007-05-28 Thread Deepen Mantri
Hi, I am building the C/C++ GCC toolchain for i386 target on x86/Linux platform. The native gcc version is gcc (GCC) 3.2 20020903 (Red Hat Linux 8.0 3.2-7) and the version of the sources are: GCC : gcc-4.3-20070302 Binutils : binutils-070204 Newlib : newlib-1.15.0 To enable