Forum: ARM programming with GCC/GNU tools EmBitz - Compiler - Configuration

von Walter Tarpan (Guest)

Rate this post
not useful

my build environment is EmBitz 1.11 (although not shiny and fresh 
anymore). As Target Compiler, the outdated ARM GCC Compiler (EmBitz - 
bare-metal) is used, while the ARM GCC Compiler (generic) Target is been 
utilized to build and start Windows executables.

(Debugging Windows targets is not possible in this configuration. When I 
asked in the EmBitz forum back then, the answer was just "why should 
anyone want to do that anyhow???", so for Windows exe debugging, I use 
Eclipse CDT standalone debugger.)

However, it's time to get a newer ARM-GCC, but of course, I do not want 
to dispense the MinGW compiler for Windows executables.

Does one of you know, if there is a way to change the compiler Flags of 
any of the other Compilers or add own Compilers? Is there a way to 
define you own Compiler flags?

von Frank M. (Guest)

Rate this post
not useful
Right Click on your Project -> Build Options -> TAB C Flags

Here you can choose following categories:

Language Standard
C++ options
ARM CPU architecture
ARM FPU architecture

There you can set hundreds of compiler flags - everything gcc has to 

Walter, warum fragst Du im englischsprachigen Forum nach, wo man im 
deutschsprachigen Forum schon anhand der weitaus höheren Zahl an Threads 
erkennen kann, dass Du dort viel mehr Leser erreichst?

von Walter Tarpan (Guest)

Rate this post
not useful
Frank M. wrote:
> There you can set hundreds of compiler flags - everything gcc has to
> offer.

The available flags depend on the selected compiler. (ARM Keil RIView 
Compiler has other flags than ARM GCC.) So the available compilers and 
flags might be configured somewhere.

If there is no way to configure those, "AVR GCC" seems to be the closest 
one available.

von Maje L. (jaloten12)

Rate this post
not useful
GCC works for me also there


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.