How to enable Mudflap in gcc 4.x?
Eric Christopher
echristo@apple.com
Mon Jun 4 07:22:00 GMT 2007
On Jun 4, 2007, at 12:09 AM, Deepen Mantri wrote:
>
>
> Frank Ch. Eigler <fche@redhat.com> 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 your libc.
>
> Thanks for the reply.
> When I try to build the libmudflap library separately for
> (Renesas)sh-elf target after building the complete toolchain, it
> automatically gets configured for i386-redhat-linux target.
> Is it the case that libmudflap only supports i386 target and not
> others?
>
> Do I need to port it for sh-elf target?
>
Perhaps, but you want to build it as part of your target libraries
using --enable-libmudflap. When you build it after you're not using
host and target and therefore it's being built for your machine (i386-
redhat-linux).
-eric
More information about the Gcc
mailing list