This is the mail archive of the ecos-discuss@sources.redhat.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]

AW: Knows anyone a location, where I can download an i386-target crosscompiler for a i686-cygwin host machine?


Hello,

Yesterday I have updated my Cygwin to version 1.1.8 and now configure is
working without problems. But make isn't working.
On a certain point (
make -w all-gcc install-gcc \ 
LANGUAGES="c c++" 2>&1 | tee make.out )
 I receive an error message from make. Can anyone help me, how I can solve
the problem.

- Operating System: Windows2000 (Service Pack 1)
- Machine: Pentium II 350MHz
- Cygwin version: 1.1.8
- Binutils version: 2.10.1
- Gcc version: 2.95.2-6
- Source code for the gcc of the cross compiler is version: 2.95.2


the last messages are:


for file in .. /src/gcc/gcc-2.95.2/gcc/ginclude/stdarg.h
/src/gcc/gcc-2.95.2/gcc
/ginclude/stddef.h /src/gcc/gcc-2.95.2/gcc/ginclude/varargs.h
/src/gcc/gcc-2.95.
2/gcc/ginclude/va-alpha.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-h8300.h
/src/gcc/g
cc-2.95.2/gcc/ginclude/va-i860.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-i960.h
/src
/gcc/gcc-2.95.2/gcc/ginclude/va-mips.h
/src/gcc/gcc-2.95.2/gcc/ginclude/va-m88k.
h /src/gcc/gcc-2.95.2/gcc/ginclude/va-mn10200.h
/src/gcc/gcc-2.95.2/gcc/ginclude
/va-mn10300.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-pa.h
/src/gcc/gcc-2.95.2/gcc/g
include/va-pyr.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-sparc.h
/src/gcc/gcc-2.95.2
/gcc/ginclude/va-clipper.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-spur.h
/src/gcc/g
cc-2.95.2/gcc/ginclude/va-m32r.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-sh.h
/src/g
cc/gcc-2.95.2/gcc/ginclude/va-v850.h
/src/gcc/gcc-2.95.2/gcc/ginclude/va-arc.h /
src/gcc/gcc-2.95.2/gcc/ginclude/iso646.h
/src/gcc/gcc-2.95.2/gcc/ginclude/va-ppc
.h /src/gcc/gcc-2.95.2/gcc/ginclude/va-c4x.h
/src/gcc/gcc-2.95.2/gcc/cp/inc/typ
einfo /src/gcc/gcc-2.95.2/gcc/cp/inc/exception
/src/gcc/gcc-2.95.2/gcc/cp/inc/ne
w /src/gcc/gcc-2.95.2/gcc/cp/inc/new.h
/src/gcc/gcc-2.95.2/gcc/ginclude/proto.h
/src/gcc/gcc-2.95.2/gcc/ginclude/stdbool.h; do \
  if [ X$file != X.. ]; then \
    realfile=`echo $file | sed -e 's|.*/\([^/]*\)$|\1|'`; \
    touch include/$realfile; \
    rm -f include/$realfile; \
    cp $file include; \
    chmod a+r include/$realfile; \
  fi; \
done
rm -f include/limits.h
cp xlimits.h include/limits.h
chmod a+r include/limits.h
rm -f include/float.h
if [ xfloat-i64.h != xMakefile.in ]; then \
  cp /src/gcc/gcc-2.95.2/gcc/config/float-i64.h include/float.h && \
  chmod a+r include/float.h; \
else :; fi
rm -f include/README
cp /src/gcc/gcc-2.95.2/gcc/README-fixinc include/README
chmod a+r include/README
touch stmp-int-hdrs
if [ -f libgcc2.ready ] ; then \
        true; \
else \
        touch libgcc2.ready; \
fi
case " c c++ " in \
*" "[cC]"++ "*) \
  echo tinfo.o tinfo2.o new.o opnew.o opnewnt.o opvnew.o opvnewnt.o opdel.o
opde
lnt.o opvdel.o opvdelnt.o exception.o > cplib2.new;; \
*) \
  echo "" > cplib2.new;; \
esac
mv -f cplib2.new cplib2.txt
rm -f tmplibgcc2.a
for name in _muldi3 _divdi3 _moddi3 _udivdi3 _umoddi3 _negdi2 _lshrdi3
_ashldi3
_ashrdi3 _ffsdi2 _udiv_w_sdiv _udivmoddi4 _cmpdi2 _ucmpdi2 _floatdidf
_floatdisf
 _fixunsdfsi _fixunssfsi _fixunsdfdi _fixdfdi _fixunssfdi _fixsfdi _fixxfdi
_fix
unsxfdi _floatdixf _fixunsxfsi _fixtfdi _fixunstfdi _floatditf __gcc_bcmp
_varar
gs __dummy _eprintf _bb _shtab _clear_cache _trampoline __main _exit _ctors
_pur
e; \
do \
  echo ${name}; \
  /tmp/build/gcc/gcc/xgcc -B/tmp/build/gcc/gcc/
-B/tools/H-i686-pc-cygwin/i386-e
lf/bin/ -I/tools/H-i686-pc-cygwin/i386-elf/include -O2  -DCROSS_COMPILE
-DIN_GCC
     -g -O2 -I./include    -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED
-Dinhibit_
libc  -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 -c -DL${name} \
       /src/gcc/gcc-2.95.2/gcc/libgcc2.c -o ${name}.o; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  i386-elf-ar rc tmplibgcc2.a ${name}.o; \
  rm -f ${name}.o; \
done
_muldi3
In file included from tm.h:5,
                 from /src/gcc/gcc-2.95.2/gcc/config/i386/xm-i386.h:43,
                 from tconfig.h:5,
                 from /src/gcc/gcc-2.95.2/gcc/libgcc2.c:33:
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:36: warning: `TARGET_DEFAULT'
rede
fined
/src/gcc/gcc-2.95.2/gcc/config/i386/unix.h:136: warning: this is the
location of
 the previous definition
In file included from tm.h:5,
                 from /src/gcc/gcc-2.95.2/gcc/config/i386/xm-i386.h:43,
                 from tconfig.h:5,
                 from /src/gcc/gcc-2.95.2/gcc/libgcc2.c:33:
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:43: parse error before `=='
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:62: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:62: parse error before `)'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:77: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:77: parse error before `)'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:81: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:86: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:94: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:94: parse error before `)'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:98: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:99: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:104: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:105: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:116: parse error before string
con
stant
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:116: warning: data definition
has
no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:208: `_ascii_bytes' undeclared
her
e (not in a function)
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:208: `LENGTH' undeclared here
(not
 in a function)
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:208: initializer element is
not co
nstant
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:208: register name not
specified f
or `limit'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:209: register name not
specified f
or `bytes_in_chunk'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:210: parse error before `for'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:216: conflicting types for
`bytes_
in_chunk'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:209: previous declaration of
`byte
s_in_chunk'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:216: warning: data definition
has
no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:217: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:225: redefinition of
`bytes_in_chu
nk'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:216: `bytes_in_chunk'
previously d
efined here
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:225: warning: data definition
has
no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:226: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: register name not
specified f
or `ch'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: conflicting types for
`ch'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: previous declaration of
`ch'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: `_limited_str' undeclared
her
e (not in a function)
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: warning: data definition
has
no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: parse error before `++'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:227: parse error before `('
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:228: `p' undeclared here (not
in a
 function)
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:228: warning: data definition
has
no type or storage class
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:229: parse error before `}'
/src/gcc/gcc-2.95.2/gcc/config/i386/i386elf.h:236: parse error before `('
In file included from /src/gcc/gcc-2.95.2/gcc/libgcc2.c:45:
/src/gcc/gcc-2.95.2/gcc/machmode.h:138: warning: parameter has incomplete
type
/src/gcc/gcc-2.95.2/gcc/machmode.h:142: warning: parameter has incomplete
type
make[1]: *** [libgcc2.a] Error 1
make[1]: Leaving directory `/tmp/build/gcc/gcc'
make: *** [all-gcc] Error 2
make: Leaving directory `/tmp/build/gcc'

Thank you for your help!

Hansjoerg

-----Ursprüngliche Nachricht-----
Von: Jonathan Larmour [mailto:jlarmour@redhat.com]
Gesendet: Freitag, 16. März 2001 08:37
An: Hansjörg Petriffer
Cc: 'ecos-discuss@sources.redhat.com'
Betreff: Re: [ECOS] Knows anyone a location, where I can download an
i386-target crosscompiler for a i686-cygwin host machine?


Hansjörg Petriffer wrote:
> 
> Because I fail allways with building an cross compiler for ECOS
> (i386-target) following to the instruction on the ecos side, now I searc a
> location where I can download the gcc for that. I have no other idea how I
> can solve otherwise the problem.

Perhaps describe exactly what problem you are having? Is it this one:

> I followed the instruction to compiling the cross compiler for i386 on
> http://sources.redhat.com/ecos/tools/win-i386-elf.html but I receive
allways
> the message cannot find config.sub when I type the command 
> 
> /src/gcc/gcc-2.95.2/configure --target=i386-elf \
> --prefix=/tools \
> --exec-prefix=/tools/H-i686-pc-cygwin \
> --with-gnu-as --with-gnu-ld --with-newlib \
> -v 2>&1 | tee configure.out 

If so, then did you follow Andrew's suggestion of typing this all on one
line?

Also, check that there really is a file /src/gcc/gcc-2.95.2/config.sub. You
should also be able to run it yourself e.g. as:

/src/gcc/gcc-2.95.2/config.sub i386-elf

which should return:

i386-pc-elf

If it doesn't, we can look closer.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine


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