target=sh-elf build error
Anders Montonen
Anders.Montonen@helsinki.fi
Fri Dec 9 16:09:00 GMT 2005
On Dec 9 , 2005, at 15:40 , Anders Montonen wrote:
> Hi!
>
> When trying to build a toolchain for the sh-elf target, the build
> stops with the following error message:
>
> gcc -DHAVE_CONFIG_H -I. -I../../src/gprof -I. -D_GNU_SOURCE -DDEBUG
> -I../bfd -I../../src/gprof/../include -I../../src/gprof/../bfd -
> I../../src/gprof/../intl -I../intl -I. -DLOCALEDIR="\"/Users/anders/
> local/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-
> prototypes -Werror -g -O2 -c ../../src/gprof/mips.c
> gcc -g -O2 -c -o flat_bl.o ../../src/gprof/flat_bl.m
Thinking about this some more, I would guess that flat_bl.m is
attempted to be compiled with GCC has something to do with *.m being
the default extension for Objective-C. Disabling gprof from configure
lets the build complete, but I have no idea on how to fix the actual
problem.
Regards,
Anders Montonen
More information about the Binutils
mailing list