public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* error while making gcc
@ 2000-06-29  0:59 Andreas.Karlsson
  2000-06-29 17:06 ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Andreas.Karlsson @ 2000-06-29  0:59 UTC (permalink / raw)
  To: crossgcc

Hi,

I'm running NT 4.0 and the latest version of cygwin.
Following the installation instructions on
http://sourceware.cygnus.com/ecos/tools/win-arm-elf.html everything works
fine until making GCC.
Is there anybody who has a clue why the error occurs?
I have not done anything in cygwin since I installed it, just been following
the eCos installation pages. Is there maybe something I have to set or
define in cygwin?
Some days ago I had a problem with arm.h (probably DOS enters) but this was
solved when I received a new file, is there a connection?
/Andreas


make: Entering directory `/tmp/build/gcc'
make[1]: Entering directory `/tmp/build/gcc/libiberty'
make[2]: Entering directory `/tmp/build/gcc/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/build/gcc/libiberty/testsuite'
make[1]: Leaving directory `/tmp/build/gcc/libiberty'
make[1]: Entering directory `/tmp/build/gcc/texinfo'
make all-recursive
make[2]: Entering directory `/tmp/build/gcc/texinfo'
Making all in intl
make[3]: Entering directory `/tmp/build/gcc/texinfo/intl'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/build/gcc/texinfo/intl'
Making all in lib
make[3]: Entering directory `/tmp/build/gcc/texinfo/lib'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/build/gcc/texinfo/lib'
Making all in makeinfo
make[3]: Entering directory `/tmp/build/gcc/texinfo/makeinfo'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/tmp/build/gcc/texinfo/makeinfo'
make[2]: Leaving directory `/tmp/build/gcc/texinfo'
make[1]: Leaving directory `/tmp/build/gcc/texinfo'
make[1]: Entering directory `/tmp/build/gcc/gcc'
gcc -DCROSS_COMPILE -DIN_GCC     -g -O2  -DHAVE_CONFIG_H    -I.
-I/src/gcc/gcc-2.95.2/gcc -I/src/gcc/gcc-2.95.2/gcc/config
-I/src/gcc/gcc-2.95.2/gcc/../include \
-DPREFIX=\"/tools\" \
  -c `echo /src/gcc/gcc-2.95.2/gcc/prefix.c | sed 's,^\./,,'`
In file included from
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/windef.h:141,
                 from
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/windows.h:96,
                 from /src/gcc/gcc-2.95.2/gcc/prefix.c:69:
/usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winnt.h:2062: two
or more data types in declaration of `type name'
make[1]: *** [prefix.o] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

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

* Re: error while making gcc
  2000-06-29  0:59 error while making gcc Andreas.Karlsson
@ 2000-06-29 17:06 ` Jonathan Larmour
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Larmour @ 2000-06-29 17:06 UTC (permalink / raw)
  To: Andreas.Karlsson; +Cc: crossgcc

Andreas.Karlsson@combitechsystems.com wrote:
> 
> Some days ago I had a problem with arm.h (probably DOS enters) but this was
> solved when I received a new file, is there a connection?
[snip]
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winnt.h:2062: two
> or more data types in declaration of `type name'

Yes, there is a connection. The arm.h they gave you is missing a patch
(part of the patch in the eCos instructions) that allows you to build for
the arm-elf target on Windows.

It's probably easiest if I just give you a working arm.h. I'll send it in a
separate mail to you in bzip2 format. Use "bzip2 -d arm.h.bz2" from a
cygwin prompt to extract it.

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

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

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

* RE: error while making gcc
@ 2000-07-14  5:13 Clive Davies
  0 siblings, 0 replies; 5+ messages in thread
From: Clive Davies @ 2000-07-14  5:13 UTC (permalink / raw)
  To: 'Dan Carlson', crossgcc

try this to remove the dos ^m characters:-

$tr -d '\015' < arm.h > tmp
$mv tmp arm.h

Clive

-----Original Message-----
From: Dan Carlson [ mailto:decarlson1@juno.com ]
Sent: 13 July 2000 18:11
To: crossgcc@sourceware.cygnus.com
Cc: Andreas.Karlsson@combitechsystems.com; jlarmour@redhat.co.uk
Subject: Re: error while making gcc


Hello,

Would it be possible to get a copy of the fixed arm.h file, or directions /
link on how to fix the problem?

I have run it to the same problem.

Thanks.

Andreas.Karlsson@combitechsystems.com wrote:
>
> Some days ago I had a problem with arm.h (probably DOS enters) but this
was
> solved when I received a new file, is there a connection?
[snip]
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winnt.h:2062:
two
> or more data types in declaration of `type name'

Yes, there is a connection. The arm.h they gave you is missing a patch
(part of the patch in the eCos instructions) that allows you to build for
the arm-elf target on Windows.

It's probably easiest if I just give you a working arm.h. I'll send it in a
separate mail to you in bzip2 format. Use "bzip2 -d arm.h.bz2" from a
cygwin prompt to extract it.

Jifl




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

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

* Re: error while making gcc
  2000-07-13 10:10 Dan Carlson
@ 2000-07-13 10:26 ` Jonathan Larmour
  0 siblings, 0 replies; 5+ messages in thread
From: Jonathan Larmour @ 2000-07-13 10:26 UTC (permalink / raw)
  To: Dan Carlson; +Cc: crossgcc, Andreas.Karlsson

Dan Carlson wrote:
> 
> Would it be possible to get a copy of the fixed arm.h file, or directions /
> link on how to fix the problem?

Apply the patch at
http://sources.redhat.com/ecos/tools/patches/ecos-gcc-2952.pat 

to a clean gcc 2.95.2 tree by going to the top of the source tree and
running:

patch -p0 < ecos-gcc-2952.pat

It's intended for eCos users, but you should be able to use it. It contains
a few things you don't need, but won't hurt.

BTW, the reason I'm pointing you at the patch is that the fixed arm.h is
not the only thing required to fix the specific problem reported - it's
just that Andreas applied the above patch, but then reverted his arm.h to
an older, unpatched, version - that's why he only needs the arm.h to be
fixed.

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

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

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

* Re: error while making gcc
@ 2000-07-13 10:10 Dan Carlson
  2000-07-13 10:26 ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Dan Carlson @ 2000-07-13 10:10 UTC (permalink / raw)
  To: crossgcc; +Cc: Andreas.Karlsson, jlarmour

Hello,

Would it be possible to get a copy of the fixed arm.h file, or directions /
link on how to fix the problem?

I have run it to the same problem.

Thanks.

Andreas.Karlsson@combitechsystems.com wrote:
>
> Some days ago I had a problem with arm.h (probably DOS enters) but this
was
> solved when I received a new file, is there a connection?
[snip]
> /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2/../../../../include/winnt.h:2062:
two
> or more data types in declaration of `type name'

Yes, there is a connection. The arm.h they gave you is missing a patch
(part of the patch in the eCos instructions) that allows you to build for
the arm-elf target on Windows.

It's probably easiest if I just give you a working arm.h. I'll send it in a
separate mail to you in bzip2 format. Use "bzip2 -d arm.h.bz2" from a
cygwin prompt to extract it.

Jifl




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com

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

end of thread, other threads:[~2000-07-14  5:13 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-06-29  0:59 error while making gcc Andreas.Karlsson
2000-06-29 17:06 ` Jonathan Larmour
2000-07-13 10:10 Dan Carlson
2000-07-13 10:26 ` Jonathan Larmour
2000-07-14  5:13 Clive Davies

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