[ECOS] apply patch file Problem

Leandro Vieira leandro@av.it.pt
Wed Oct 11 03:52:00 GMT 2000


Hello!
I'm new in GCC and i want to build GCC to work with eCos under linux.
i have download these files:
     gcc-core-2.95.2.tar.bz2    -----> 6,610KB
     gcc-core-2.95.2.tar.gz     -----> 8,679KB
     gcc-g++-2.95.2.tar.bz2     -----> 1,237KB
     gcc-g++-2.95.2.tar.gz      -----> 1,612KB

i try this:
    gzunzip < gcc-core-2.95.2.tar.gz | tar xvf -  or bunzip2 <
gcc-core-2.95.2.tar.bz2 | tar xvf -
    gzunzip < gcc-g++-2.95.2.tar.gz | tar xvf -  or bunzip2 <
gcc-g++-2.95.2.tar.bz2 | tar xvf -
after that, i got this folder gcc-2.95.2 and i try to apply the pacth
file(ecos-gcc-2952.pat) that i got from:
http://sources.redhat.com/ecos/tools/linux-i686-linux.html
the file is this:
http://sources.redhat.com/ecos/tools/patches/ecos-gcc-2952.pat  to it i


and i got this:

patching file 'gcc/Makefile.in'
Hunk #1 FAILED at 350
1 out of 1 hunks FAILED --saving reject to gcc/Makefile.in.rej
patching file 'gcc/configure.in'
Hunk #1 FAILED at 1020
Hunk #2 FAILED at 3205
Hunk #3 FAILED at 3345
Hunk #4 FAILED at 3398
Hunk #5 FAILED at 4402
5 out of 5 hunks FAILED --saving reject to gcc/configure.in.rej
patching file 'gcc/config/arm/arm.h'
Hunk #1 FAILED at 2146
Hunk #2 FAILED at 2161
Hunk #3 FAILED at 2203
3 out of 3 hunks FAILED --saving reject to gcc/config/arm/arm.h.rej
patching file 'gcc/config/arm/t-arm.elf'
Hunk #1 FAILED at 21
1 out of 1 hunks FAILED --saving reject to gcc/config/arm/t-arm.elf.rej
patching file 'config.sub'
Hunk #1 FAILED at 62
1 out of 1 hunks FAILED --saving reject to config.sub.rej
patching file 'gcc/config/mips/elf.h'
Hunk #1 FAILED at 252
1 out of 1 hunks FAILED --saving reject to gcc/config/mips/elf.h.rej

Can anybody tell me how can i solve the problem!
**********************************************
					*       Portugal Telecom                     *
					*       Instituto de Telecomunicações        *
					*       Aveiro  / Portugal                   *
					*       leandro@av.it.pt                     *
					**********************************************



More information about the Ecos-discuss mailing list