This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to identify Arch info when building


Hi All,

I have two ARM arch (A9 and A15). and have cross compiler for both.

Since code is integrated, some time .so got mixed(A9 with A15), and at
run time it fails with undefined instruction.

Is there any way to check strict at build time, we through an error.

Scenario.

(A15 code) + A9(.so)= executable when run on target (undefined instruction)

 Tag_CPU_name: "Cortex-A15"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application
  Tag_ARM_ISA_use: Yes


  Tag_CPU_name: "Cortex-A9"
  Tag_CPU_arch: v7
  Tag_CPU_arch_profile: Application

thanks


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]