/[gentoo-alt]/trunk/prefix/sys-devel/gcc/files/4.1.0/gcc-4.1.0-cross-compile.patch
Gentoo

Contents of /trunk/prefix/sys-devel/gcc/files/4.1.0/gcc-4.1.0-cross-compile.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1335 - (show annotations) (download)
Wed Sep 6 10:54:56 2006 UTC (7 years, 7 months ago) by grobian
File size: 1134 byte(s)
Update to 4.1.1, removal of old cruft, removal of 4.0.2


1 Some notes on the 'bootstrap with or without libc headers' debate:
2 http://linuxfromscratch.org/pipermail/lfs-dev/2005-July/052409.html
3 http://gcc.gnu.org/ml/gcc/2005-07/msg01195.html
4
5 --- gcc/unwind-dw2.c
6 +++ gcc/unwind-dw2.c
7 @@ -253,9 +253,11 @@
8 }
9 #endif
10
11 +#ifndef inhibit_libc
12 #ifdef MD_UNWIND_SUPPORT
13 #include MD_UNWIND_SUPPORT
14 #endif
15 +#endif
16
17 /* Extract any interesting information from the CIE for the translation
18 unit F belongs to. Return a pointer to the byte after the augmentation,
19 --- gcc/configure
20 +++ gcc/configure
21 @@ -12857,7 +12857,7 @@ then
22 | powerpc*-*-*,powerpc64*-*-*)
23 CROSS="$CROSS -DNATIVE_CROSS" ;;
24 esac
25 -elif test "x$TARGET_SYSTEM_ROOT" != x; then
26 +elif test "x$TARGET_SYSTEM_ROOT" != x -o $build != $host; then
27 SYSTEM_HEADER_DIR=$build_system_header_dir
28 fi
29
30 --- gcc/configure.ac
31 +++ gcc/configure.ac
32 @@ -1717,7 +1717,7 @@ then
33 | powerpc*-*-*,powerpc64*-*-*)
34 CROSS="$CROSS -DNATIVE_CROSS" ;;
35 esac
36 -elif test "x$TARGET_SYSTEM_ROOT" != x; then
37 +elif test "x$TARGET_SYSTEM_ROOT" != x -o $build != $host; then
38 SYSTEM_HEADER_DIR=$build_system_header_dir
39 fi
40

  ViewVC Help
Powered by ViewVC 1.1.20