Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rpi-dev hello_world # make
- cc -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include/ -I/opt/vc/include/ -I./ -I../libs -g -c world.c -o world.o -Wno-deprecated-declarations
- cc -o hello_world.bin -Wl,--whole-archive -L/opt/vc/lib/ -lGLESv2 -lEGL -lopenmaxil -lbcm_host -lvcos -lvchiq_arm ../libs/libilclient.a world.o -Wl,--no-whole-archive -rdynamic
- /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.3/../../../../armv6j-hardfloat-linux-gnueabi/bin/ld: error: hello_world.bin uses VFP register arguments, ../libs/libilclient.a(ilcore.o) does not
- /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.3/../../../../armv6j-hardfloat-linux-gnueabi/bin/ld: failed to merge target specific data of file ../libs/libilclient.a(ilcore.o)
- /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.3/../../../../armv6j-hardfloat-linux-gnueabi/bin/ld: error: hello_world.bin uses VFP register arguments, ../libs/libilclient.a(ilclient.o) does not
- /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.3/../../../../armv6j-hardfloat-linux-gnueabi/bin/ld: failed to merge target specific data of file ../libs/libilclient.a(ilclient.o)
- /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.3/../../../../armv6j-hardfloat-linux-gnueabi/bin/ld: error: hello_world.bin uses VFP register arguments, ../libs/libilclient.a(ilclient_util.o) does not
- /usr/lib/gcc/armv6j-hardfloat-linux-gnueabi/4.5.3/../../../../armv6j-hardfloat-linux-gnueabi/bin/ld: failed to merge target specific data of file ../libs/libilclient.a(ilclient_util.o)
- collect2: ld returned 1 exit status
- make: *** [hello_world.bin] Error 1
- rm world.o
- rpi-dev hello_world # ls -lha world.o
- ls: cannot access world.o: No such file or directory
- rpi-dev hello_world # cc -DSTANDALONE -D__STDC_CONSTANT_MACROS -D__STDC_LIMIT_MACROS -DTARGET_POSIX -D_LINUX -fPIC -DPIC -D_REENTRANT -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -Wall -g -DHAVE_LIBOPENMAX=2 -DOMX -DOMX_SKIP64BIT -ftree-vectorize -pipe -DUSE_EXTERNAL_OMX -DHAVE_LIBBCM_HOST -DUSE_EXTERNAL_LIBBCM_HOST -DUSE_VCHIQ_ARM -Wno-psabi -I/opt/vc/include/ -I/opt/vc/include/ -I./ -I../libs -g -c world.c -o world.o -Wno-deprecated-declarations
- rpi-dev hello_world # readelf -A world.o
- Attribute Section: aeabi
- File Attributes
- Tag_CPU_name: "6J"
- Tag_CPU_arch: v6
- Tag_ARM_ISA_use: Yes
- Tag_THUMB_ISA_use: Thumb-1
- Tag_FP_arch: VFPv2
- 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_align_preserved: 8-byte, except leaf SP
- 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_DIV_use: Not allowed
- rpi-dev hello_world # readelf -A ../libs/libilclient.a
- File: ../libs/libilclient.a(ilcore.o)
- Attribute Section: aeabi
- File Attributes
- Tag_CPU_name: "ARM1176JZF-S"
- Tag_CPU_arch: v6K
- Tag_ARM_ISA_use: Yes
- Tag_THUMB_ISA_use: Thumb-1
- Tag_FP_arch: VFPv2
- 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_align_preserved: 8-byte, except leaf SP
- Tag_ABI_enum_size: int
- Tag_ABI_HardFP_use: SP and DP
- Tag_ABI_optimization_goals: Aggressive Debug
- File: ../libs/libilclient.a(ilclient.o)
- Attribute Section: aeabi
- File Attributes
- Tag_CPU_name: "ARM1176JZF-S"
- Tag_CPU_arch: v6K
- Tag_ARM_ISA_use: Yes
- Tag_THUMB_ISA_use: Thumb-1
- Tag_FP_arch: VFPv2
- 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_align_preserved: 8-byte, except leaf SP
- Tag_ABI_enum_size: int
- Tag_ABI_HardFP_use: SP and DP
- Tag_ABI_optimization_goals: Aggressive Debug
- File: ../libs/libilclient.a(ilclient_util.o)
- Attribute Section: aeabi
- File Attributes
- Tag_CPU_name: "ARM1176JZF-S"
- Tag_CPU_arch: v6K
- Tag_ARM_ISA_use: Yes
- Tag_THUMB_ISA_use: Thumb-1
- Tag_FP_arch: VFPv2
- 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_align_preserved: 8-byte, except leaf SP
- Tag_ABI_enum_size: int
- Tag_ABI_HardFP_use: SP and DP
- Tag_ABI_optimization_goals: Aggressive Debug
- rpi-dev hello_world #
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement