public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Help building gcc for ARM under Cygwin?
@ 2000-11-11 11:52 Lewin A.R.W. Edwards
       [not found] ` <000b01c04d1f$e61eff90$8564a8c0@xuas>
  0 siblings, 1 reply; 2+ messages in thread
From: Lewin A.R.W. Edwards @ 2000-11-11 11:52 UTC (permalink / raw)
  To: ecos-discuss

Hi all!

I'm currently porting a PA-RISC design to ARM7T (Cirrus EP7212) with the 
intention of using eCOS. I can build the toolchain OK under Linux, but for 
several reasons it is not desirable for me to have to use Linux as my 
development platform (among those reasons, I want to use the eCOS graphical 
config tool).

Under cygwin, I can't build gcc using either the 2.95.2 (with patches) or 
the 20001101 source. Is it even possible?? I'm following the instructions 
in the eCOS install pages to the letter.

Using 2.95.2 source with the relevant patch, when I try to configure gcc I 
get [several pages skipped] then:
checking if mkdir takes one argument... no
Configuration thumb-unknown-elf not supported
Configure in /tmp/build/gcc/gcc failed, exiting.

If I try to build a generic arm-elf target, I get the same kind of error, 
with "arm-unknown-elf not supported".

Using the latest 20001101 versions of gcc-core and gcc-g++, (a) I can't 
apply the 2.95.2 patches, and (b) I get a message that the thumb-elf target 
is deprecated, and that I should use -mthumb. Unfortunately, the build 
process for the regular arm-elf fails in the link phase, there are a few 
__imp* functions missing.

This is using the latest 1.1.4 Cygwin.

Help! :(

Lewin A.R.W. Edwards (Embedded Engineer)
Got any Commodore 16 or VIC-20 hardware, cartridges, tapes?
Visit http://www.larwe.com/vintage/
================================================
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

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

* Re: [ECOS] Help building gcc for ARM under Cygwin?
       [not found] ` <000b01c04d1f$e61eff90$8564a8c0@xuas>
@ 2000-11-12 19:36   ` Lewin A.R.W. Edwards
  0 siblings, 0 replies; 2+ messages in thread
From: Lewin A.R.W. Edwards @ 2000-11-12 19:36 UTC (permalink / raw)
  To: xuas; +Cc: ecos-discuss

Hi,

> > I'm currently porting a PA-RISC design to ARM7T (Cirrus EP7212) with the
> > intention of using eCOS. I can build the toolchain OK under Linux, but for

 >we have same problem on powerpc platform,
 >nobody reply us.
 >I think this is bring up by Cygwin 1.1.4 ,It is a vision problem

Hmm. What makes you think it is Cygwin? Does it work for you under earlier 
versions of Cygwin? I have done a lot of testing this weekend under Linux 
(Red Hat 6.1) and I cannot get a fully working set of tools for arm-elf 
built on this platform either.

I have spoken informally with someone from Red Hat, and he has helped me 
get some of the way. The _imp__xxxxx link errors can be resolved by 
configuring the gcc build environment with NLS support disabled 
(--disable-nls). This got me to a stage where most of gcc compiles, but I 
then get assembler errors building lib1funcs.asm.


Lewin A.R.W. Edwards (Embedded Engineer)
Got any Commodore 16 or VIC-20 hardware, cartridges, tapes?
Visit http://www.larwe.com/vintage/
================================================
Work: http://www.digi-frame.com/
Personal: http://www.zws.com/ and http://www.larwe.com/

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

end of thread, other threads:[~2000-11-12 19:36 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-11 11:52 [ECOS] Help building gcc for ARM under Cygwin? Lewin A.R.W. Edwards
     [not found] ` <000b01c04d1f$e61eff90$8564a8c0@xuas>
2000-11-12 19:36   ` Lewin A.R.W. Edwards

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).