On 3/4/06, Ricardo Kekki <[EMAIL PROTECTED]> wrote:
>
>
> The codesourcery based toolchains can be built from the darcs
> repository. Just use arm-gcc3.4.cs-glibc-sf.conf. I think scratchbox has
> never provided softfloat toolchains with the gcc-3.3 or older gcc.

I am trying to build the codesourcery toolchain as you suggest above.
However the build stops in between and asks for a file to apply the
patch to. I'm pasting the message below. Can you please tell me what
file name I should give here? I haven't manually applied patches to
gcc before so don't know what needs to be done here.
In the sb-toolchains directory under the cc, directory I see folders
for gcc-3.4pass1 and gcc3.4pass2, but these contain only .patch files
and checksums. I think the patch needs to be applied to gcc itself,
but don't know how i should do this.

Thanks!

Rohit

build log pasted below:

[===== NOW BUILDING:    gcc-2004-q3d    =====]
        [fetch] complete for gcc.
install -d cookies
 ==> Running checksum on arm-gcc-2004-q3d-lfloat.patch
8e91b897358c01c5e5bfcc14be1d5997  download/arm-gcc-2004-q3d-lfloat.patch
file arm-gcc-2004-q3d-lfloat.patch passes checksum test!
 ==> Running checksum on arm-gcc-2004-q3d-softfloat.patch
eea792be979ac8bee0e4f100cc9eacfe  download/arm-gcc-2004-q3d-softfloat.patch
file arm-gcc-2004-q3d-softfloat.patch passes checksum test!
        [checksum] complete for gcc.
install -d work
 ==> Copying download/arm-gcc-2004-q3d-lfloat.patch
 ==> Copying download/arm-gcc-2004-q3d-softfloat.patch
        [extract] complete for gcc.
install -d work/gcc-2004-q3d
        [patch] complete for gcc.
if [ "" != "" ]; then \
   \
  download/ download/ work/gcc-2004-q3d; \
fi
for FILE in arm-gcc-2004-q3d-lfloat.patch arm-gcc-2004-q3d-softfloat.patch; do \
    patch -d work/gcc-2004-q3d -p1 < download/$FILE; \
done
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- gcc-2004-q3d-orig/gcc/config/arm/linux-elf.h       2004-05-15
16:02:09.000000000 +0300
|+++ gcc-2004-q3d/gcc/config/arm/linux-elf.h    2005-02-11
10:20:48.000000000 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rNd -U3 gcc-2004-q3d-pristine/gcc/config/arm/linux-elf.h
gcc-2004-q3d/gcc/config/arm/linux-elf.h
|--- gcc-2004-q3d-pristine/gcc/config/arm/linux-elf.h   2004-05-15
16:02:09.000000000 +0300
|+++ gcc-2004-q3d/gcc/config/arm/linux-elf.h    2005-03-03
20:15:30.696385250 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 30
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -rNd -U3 gcc-2004-q3d-pristine/gcc/config/arm/t-linux
gcc-2004-q3d/gcc/config/arm/t-linux
|--- gcc-2004-q3d-pristine/gcc/config/arm/t-linux       2004-05-15
16:02:10.000000000 +0300
|+++ gcc-2004-q3d/gcc/config/arm/t-linux        2005-03-03
20:16:49.033655090 +0200
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
make[2]: *** [pre-configure] Error 1
make[2]: Leaving directory `/home/rohit/sb-toolchains-1.0.2/cc/gcc-3.4-pass1'
make[1]: *** [dep-../../cc/gcc-3.4-pass1] Error 2
make[1]: Leaving directory `/home/rohit/sb-toolchains-1.0.2/meta/toolchain'
make: *** [build] Error 2
[sbox-x86-gcc: ~/sb-toolchains-1.0.2] >




>
> Ricardo
> _______________________________________________
> Scratchbox-users mailing list
> [email protected]
> http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
>
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to