Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

I have a GCC compiler for GBA. Can I generate ARM or Thumb using a command line option?

0
Posted

I have a GCC compiler for GBA. Can I generate ARM or Thumb using a command line option?

0

This depends on the version of GCC that you have. Up until mid-year 2000, GCC had to be built to support ARM or Thumb mode. You could not support both in the same compiler. Around mid-year 2000, ARM contributed a new backend to the GCC project that allowed one compiler build to support many of the ARM platforms including ARM & Thumb. Type the following from a DOS prompt: gcc -dumpmachine If it reports “arm-thumb-elf” and it is v3.0 or later then it supports both. If it reports “thumb-elf” or “arm-elf” then it only supports one mode.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123