Hi,
I am able to configure and build libiberty, bfd and opcodes after
adding new target details to the
corresponding configure script. But now, getting error while building
binutils-2.19/binutils/ as follows :
gcc -DHAVE_CONFIG_H -I. -I/root/binutils-2.19/binutils -I. -I.
-I/root/binutils-2.19/binutils -I../bfd
-I/root/binutils-2.19/binutils/../bfd
-I/root/binutils-2.19/binutils/../include
-DLOCALEDIR="\"/root/temp_install//share/locale\""
-Dbin_dummy_emulation=bin_vanilla_emulation -W -Wall -Wstrict-prototypes
-Wmissing-prototypes -Werror -g -O2 -c /root/binutils-2.19/binutils/size.c
In file included from /root/binutils-2.19/binutils/sysdep.h:25,
from /root/binutils-2.19/binutils/size.c:33:
./config.h:192:16: error: missing terminating " character
In config.h file the target name is getting generated as :
/* Configured target name. */
#define TARGET "mytarget-unknown
-elf"
Which is the cause of the error. & I would like to know which file generates
config.h.
Thanks & Regards,
Prashant
--
View this message in context:
http://old.nabble.com/Porting-Binutils-to-A-New-Target-And-Getting-Error.-tp27058018p27141973.html
Sent from the Gnu - Binutils - Bugs mailing list archive at Nabble.com.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils