Hello, i've downloaded an Angstrom image and a toolchain for the FriendlyARM mini2440 board created by the online builder. The image runs well on my mini2440 board. But when I compile programs using the Angstrom toolchain ( which is configured with multilib ), I always get binaries for the armv5t architecture, no matter what architecture is given by the "-march" compiler option. But I need arm4t and the mini2440 has a arm920t core. I've tried to compile a simple C-program:
arm-angstrom-linux-gnueabi-gcc main.c -o main -march=armv4t When doing readelf -A main I always get the following output, independent of the march, mcpu or mtune-options : Attribute Section: aeabi File Attributes Tag_CPU_name: "ARM10TDMI" Tag_CPU_arch: v5T Tag_ARM_ISA_use: Yes Tag_THUMB_ISA_use: Thumb-1 Tag_ABI_PCS_wchar_t: 4 Tag_ABI_FP_denormal: Needed Tag_ABI_FP_exceptions: Needed Tag_ABI_FP_number_model: IEEE 754 Tag_ABI_align_needed: 8-byte Tag_ABI_enum_size: int How do I compile binaries for armv4t ? _______________________________________________ Angstrom-distro-users mailing list Angstrom-distro-users@linuxtogo.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-users