How to build cross-gcc(for ARM) with 'target=arm-linux'

Prez Ahn prezahn@gmail.com
Tue Mar 17 01:20:00 GMT 2009


Hi Everyone,

I'm trying to build cross-gcc(for ARM) with followings.
	binutils-2.18.tar.gz
	gcc-4.2.2.tar.bz2
	newlib-1.15.0.tar.gz

It is successful with "target=arm-elf".
	(Copied t-arm-elf to gcc-4.2.2/gcc/config/arm/t-arm-elf)
But it fails with "target=arm-linux".
	(Moved t-arm-elf to gcc-4.2.2/gcc/config/arm/t-arm-linux)
(All conditions except 'target' are same.)

Due to backward compatibility, I need to build with "target=arm-linux".

I met make-error as follows.
Is there the solution for this?

...
/tools/gcc-4.2.2/gcc/gthr-posix.h:660: error: expected ')' before '*' token
/tools/gcc-4.2.2/gcc/gthr-posix.h:666: error: expected ')' before '*' token
make[2]: *** [libgcc/./unwind-dw2.o] Error 1
make[2]: Leaving directory `/tools/arm-linux-tools-4.2.2/build-gcc/gcc'
make[1]: *** [libgcc.a] Error 2
make[1]: Leaving directory `/tools/arm-linux-tools-4.2.2/build-gcc/gcc'
make: *** [all-gcc] Error 2

--
Prez Ahn (prezahn at gmail dot com)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: build_bash
Type: application/octet-stream
Size: 2247 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/crossgcc/attachments/20090317/74bedbf2/attachment.obj>
-------------- next part --------------
--
For unsubscribe information see http://sourceware.org/lists.html#faq


More information about the crossgcc mailing list