public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] Compiling the ecos toolchain in Cygwin
@ 2000-07-25 15:01 Shaun Jackman
  2000-07-25 15:04 ` Jonathan Larmour
  0 siblings, 1 reply; 2+ messages in thread
From: Shaun Jackman @ 2000-07-25 15:01 UTC (permalink / raw)
  To: ecos-discuss

I'm not certain if this is the right mailing list for this, my appologies in
advance if it could have been directed better elsewhere.

I'm trying to compile a working gcc/insight/ecos toolchain to target an ARM7
board. The host is a Win98SE box running Cygwin.
I downloaded the binutils source, configured it for the target system, and
compiled it. no problems so far
I downloaded the gcc source and patched it with ecos-gcc-2952.pat and
configured it for the target system, then compiled it. I'm getting all sorts
of compiler warnings and errors though. here's a small sample (I have 70k
more just like it)

...
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1280: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1281: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1282: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1283: initializer element is not
constant
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1283: warning: data definition has
no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1283: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1284: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1284: stray '\' in program
/src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1285: stray '\' in program
...

Any thoughts on this?

Thanks,
Shaun Jackman


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

* Re: [ECOS] Compiling the ecos toolchain in Cygwin
  2000-07-25 15:01 [ECOS] Compiling the ecos toolchain in Cygwin Shaun Jackman
@ 2000-07-25 15:04 ` Jonathan Larmour
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Larmour @ 2000-07-25 15:04 UTC (permalink / raw)
  To: shaunj; +Cc: ecos-discuss

Shaun Jackman wrote:
> 
> I'm not certain if this is the right mailing list for this, my appologies in
> advance if it could have been directed better elsewhere.
> 
> I'm trying to compile a working gcc/insight/ecos toolchain to target an ARM7
[snip]
> /src/gcc/gcc-2.95.2/gcc/config/arm/arm.h:1285: stray '\' in program
> ...
> 
> Any thoughts on this?

I still get reports about this, even though I can't reproduce it myself
(sigh). But the solution is: 

tr -d '\r' < /src/gcc/gcc-2.95.2/gcc/config/arm/arm.h > foo
mv foo /src/gcc/gcc-2.95.2/gcc/config/arm/arm.h

Jifl
-- 
Red Hat, 35 Cambridge Place, Cambridge, UK. CB2 1NS  Tel: +44 (1223) 728762
"Plan to be spontaneous tomorrow."  ||  These opinions are all my own fault

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

end of thread, other threads:[~2000-07-25 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-25 15:01 [ECOS] Compiling the ecos toolchain in Cygwin Shaun Jackman
2000-07-25 15:04 ` Jonathan Larmour

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