[Buildroot] ARM EABI builds
Konstantin Kletschke
kletschke at synertronixx.de
Wed Jun 27 09:03:29 UTC 2007
Am 2007-06-27 09:19 +0100 schrieb Ben Dooks:
> I have finally tracked down the problem, and will be submitting a
> fix as soon as I have reviewed the patch.
*argh*
I followed your thread and I am so sorry that I forgot that I for myself
apply a patch regarding this issue. It floated around a while ago and
it is called unbreak-armv4t.patch:
ff -urN gcc-4.1.1/gcc/config/arm/linux-eabi.h gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h
--- gcc-4.1.1/gcc/config/arm/linux-eabi.h 2006-10-22 11:11:49.000000000 -0700
+++ gcc-4.1.1-arm9tdmi/gcc/config/arm/linux-eabi.h 2006-10-24 21:34:01.000000000 -0700
@@ -45,7 +45,7 @@
The ARM10TDMI core is the default for armv5t, so set
SUBTARGET_CPU_DEFAULT to achieve this. */
#undef SUBTARGET_CPU_DEFAULT
-#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm10tdmi
+#define SUBTARGET_CPU_DEFAULT TARGET_CPU_arm9tdmi
#undef SUBTARGET_EXTRA_LINK_SPEC
#define SUBTARGET_EXTRA_LINK_SPEC " -m armelf_linux_eabi"
> The next thing is, do we then need to produce our compiler and
> libraries in toolchain_arm_<cpu>_<fp> and build_arm_<cpu>_<fp> ?
Well... why not? The toolchain_arm_<cpu>_<fp> directory is some sort of
PIC in the filesystem and can moved around and used for crosscompiling
other stuff standing alone.
Konsti
--
GPG KeyID EF62FCEF
Fingerprint: 13C9 B16B 9844 EC15 CC2E A080 1E69 3FDA EF62 FCEF
More information about the buildroot
mailing list