public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Fail to build gcc with target=arm-elf
@ 2013-08-09  4:09 eMartian
  2013-08-19  9:55 ` Richard Earnshaw
  2013-08-19 11:07 ` eMartian
  0 siblings, 2 replies; 3+ messages in thread
From: eMartian @ 2013-08-09  4:09 UTC (permalink / raw)
  To: crossgcc

Hi,
  I build binutils-2.23.2, gcc-4.8.1, newlib-2.0.0 in Cygwin:
1. Full install cygwin.
2. Run cygwin.
3. CC="gcc -B/usr/bin"
4. /src/binutils-2.23.2/configure --target=arm-elf
--prefix=/gnutools/arm-elf --enable-interwork \
 --enable-multilib -v 2>&1 | tee configure.out
5. make -w all install 2>&1 | tee make.out
6. PATH=/gnutools/arm-elf/bin:$PATH; export PATH
7. /src/gcc-4.8.1/configure --target=arm-elf --prefix=/gnutools/arm-elf
--enable-languages="c,c++" \
 --enable-interwork --enable-multilib --with-gnu-as --with-gnu-ld
--with-newlib \
--with-headers=/src/newlib-2.0.0/newlib/libc/include -v 2>&1 | tee
config.out
8. make -w all-gcc install-gcc LANGUAGES= 2>&1 | tee make.out

It stoped and displayed:

checking for clock_t... yes
checking for F_SETLKW... yes
checking if mkdir takes one argument... no
*** Configuration arm-unknown-elf not supported
Makefile:3860: recipe for target `configure-gcc' failed
make: *** [configure-gcc] Error 1

 I don't know what's wrong and how to resolve it. If I use --target=i386-elf
or arm-eabi, I can build the toolchain. But why arm-elf can't?

Best regardes
eMartian



--
View this message in context: http://sourceware-org.1504.n7.nabble.com/Fail-to-build-gcc-with-target-arm-elf-tp240634.html
Sent from the Sourceware - crossgcc list mailing list archive at Nabble.com.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fail to build gcc with target=arm-elf
  2013-08-09  4:09 Fail to build gcc with target=arm-elf eMartian
@ 2013-08-19  9:55 ` Richard Earnshaw
  2013-08-19 11:07 ` eMartian
  1 sibling, 0 replies; 3+ messages in thread
From: Richard Earnshaw @ 2013-08-19  9:55 UTC (permalink / raw)
  To: eMartian; +Cc: crossgcc

On 09/08/13 05:09, eMartian wrote:

> checking for clock_t... yes
> checking for F_SETLKW... yes
> checking if mkdir takes one argument... no
> *** Configuration arm-unknown-elf not supported
> Makefile:3860: recipe for target `configure-gcc' failed
> make: *** [configure-gcc] Error 1

arm-elf support was obsoleted in gcc-4.7 and dropped in gcc-4.8.

R.


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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Fail to build gcc with target=arm-elf
  2013-08-09  4:09 Fail to build gcc with target=arm-elf eMartian
  2013-08-19  9:55 ` Richard Earnshaw
@ 2013-08-19 11:07 ` eMartian
  1 sibling, 0 replies; 3+ messages in thread
From: eMartian @ 2013-08-19 11:07 UTC (permalink / raw)
  To: crossgcc

Hi, Richard

    Thank you very much!
eMartian



--
View this message in context: http://sourceware-org.1504.n7.nabble.com/Fail-to-build-gcc-with-target-arm-elf-tp240634p241365.html
Sent from the Sourceware - crossgcc list mailing list archive at Nabble.com.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-08-19 11:07 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-08-09  4:09 Fail to build gcc with target=arm-elf eMartian
2013-08-19  9:55 ` Richard Earnshaw
2013-08-19 11:07 ` eMartian

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).