This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Hi Everyone,

I sent the following question at last week.
But nobody gave me any solution.
Is there nobody the people to help me?
Then, where can I ask my problem?

---------------------------------------

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)

Attachment: build_bash
Description: Binary data

--
For unsubscribe information see http://sourceware.org/lists.html#faq

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