This is the mail archive of the ecos-discuss@sourceware.cygnus.com mailing list for the eCos project.


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

Re: Problem when make gcc cross compiler for MIPS platform


Thanks Jonathan, I get a new version egcs and the problem is correct.
Unfortunately, I met another probelm as below.

------------------------------------------------------------
...................
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/src/gcc/egcs-20000530/libiberty/../incl
ude  -W -Wall -Wtraditional /src/gcc/egcs-20000530/libiberty/strerror.c
if [ x"" != x ]; then \


gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/src/gcc/egcs-20000530/libiberty/../incl
ude  -W -Wall -Wtraditional  /src/gcc/egcs-20000530/libiberty/strsignal.c -o
pic/strsignal.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I/src/gcc/egcs-20000530/libiberty/../incl
ude  -W -Wall -Wtraditional /src/gcc/egcs-20000530/libiberty/strsignal.c
/src/gcc/egcs-20000530/libiberty/strsignal.c:424: conflicting types for
`strsignal'
d:\cygnus\CYGWIN~1\H-I586~1\bin\..\lib\gcc-lib\i586-cygwin32\egcs-2.91.57\..
\..\..\..\i586-cygwin32\include\string.h:67: previous declaration of
`strsignal'
make[1]: *** [strsignal.o] Error 1
make[1]: Leaving directory `/src/build/gcc/libiberty'
make: *** [all-libiberty] Error 2
make: Leaving directory `/src/build/gcc'
--------------------------------------------------------------

I am using cygwinB20, and I didn't update to B20.1. Since I find if I just
run the setup.exe provided by cygwin website, it installs in a different
subdirectory architecture. Is it necessary to update to the new version?

Best Regards,
-Ling



----- Original Message -----
From: "Jonathan Larmour" <jlarmour@redhat.co.uk>
To: "Ling Su" <lingsu@palmmicro.com>
Cc: <ecos-discuss@sourceware.cygnus.com>
Sent: Wednesday, May 31, 2000 8:05 AM
Subject: Re: [ECOS] Problem when make gcc cross compiler for MIPS platform


> Ling Su wrote:
> >
> > Hi,
> >
> > I met a problem when I was compiling the cross compiler for MIPS
plateform,
> > following is the brief log massage I got when I compiled it at the
second
> > time.
>
> Did you get past this stage the first time?
>
> > ------------------------------------------------------
> > make[2]: Entering directory `/src/build/gcc/gcc/intl'
> > make[2]: Nothing to be done for `all'.
> > make[2]: Leaving directory `/src/build/gcc/gcc/intl'
> > if [ -f specs.ready ] ; then \
> >         true; \
> > else \
> >         touch specs.ready; \
> > fi
> > make[1]: *** No rule to make target
> > `../../../gcc/egcs-20000501/gcc/config/mips/
> > mips16.S', needed by `stmp-multilib'.  Stop.
> > make[1]: Leaving directory `/src/build/gcc/gcc'
> > make: *** [all-gcc] Error 2
> > make: Leaving directory `/src/build/gcc'
> > ------------------------------------------------------
> >
> > I followed the instructions on the web carefully. Any remedies!
>
> The file /src/gcc/egcs-20000501/gcc/config/mips/mips16.S should have been
> part of the sources unpacked from the snapshot tarball, but for some
reason
> it is not present - have a look and check. Perhaps the tarball did not
> unpack correctly?
>
> 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
>


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