EmbDev.net

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


von Walter Tarpan (Guest)


Rate this post
useful
not useful
Hello,

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
useful
not useful
Right Click on your Project -> Build Options -> TAB C Flags

Here you can choose following categories:

General
Debugging
Warnings
Language Standard
C++ options
ARM CPU architecture
ARM FPU architecture

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

P.S.
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
useful
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
useful
not useful
GCC works for me also there

Please log in before posting. Registration is free and takes only a minute.
Existing account
Do you have a Google/GoogleMail account? No registration required!
Log in with Google account
No account? Register here.