Toolchain compilation problems

David Summers gmane@summers5913.freeserve.co.uk
Tue May 29 12:04:00 GMT 2012


Further information, linking by hand works:

> # /home/arm/bin/armv7-hardfloat-linux-gnueabi-gcc -c dummy.c
> # /home/arm/bin/armv7-hardfloat-linux-gnueabi-ld -o a.out dummy.o /home/arm/usr/lib/crt*.o -lc
> # readelf -A a.out
> Attribute Section: aeabi
> File Attributes
>   Tag_CPU_name: "7-A"
>   Tag_CPU_arch: v7
>   Tag_CPU_arch_profile: Application
>   Tag_ARM_ISA_use: Yes
>   Tag_THUMB_ISA_use: Thumb-2
>   Tag_FP_arch: VFPv3-D16
>   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
>   Tag_ABI_HardFP_use: SP and DP
>   Tag_ABI_VFP_args: VFP registers
>   Tag_ABI_optimization_goals: Aggressive Debug
>   Tag_CPU_unaligned_access: v6
>   Tag_DIV_use: Not allowed

The problem seems to be that collect2 has problems finding crt*.o ....

Anyone idea what I'm doing wrong.

Thanks,

David.




More information about the Gcc-help mailing list