This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: target=sh-elf build error



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


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