Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

Choice between GNU-compiler and ARMCC

In SoC EDS istallation present 2 Baremetal compiler family-s:

- C:/Atera/14.0/embedded/host-tools/mentor/gnu/arm/baremetal/bin;

- C:/Atera/14.0/embedded/ds-5/bin (armcc.exe and more).

First is free, and second ask licence. Have it any preferences ?

Many examples have "ARMCC" in filename, and many -- "GNU", for both versions.

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    --- Quote Start ---

    In SoC EDS istallation present 2 Baremetal compiler family-s:

    - C:/Atera/14.0/embedded/host-tools/mentor/gnu/arm/baremetal/bin;

    - C:/Atera/14.0/embedded/ds-5/bin (armcc.exe and more).

    First is free, and second ask licence. Have it any preferences ?

    Many examples have "ARMCC" in filename, and many -- "GNU", for both versions.

    --- Quote End ---

    ARM compiler is only supported by the Full ARM DS5 edition (for all ARM processors), while GNU C compiler provided by DS-5 Community or / Altera Editions.

    If you are hobbyst, or do some projects for Altera SoC FPGAs, i think, the GNUC compiler will be the better choice.

    details:

    http://ds.arm.com/altera/

    Zs.V.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    I are not hobbyst, I beginner in ARM and SoC, have slow English and thousand pages of non-friendly documentation for learning ! :)

    Previous Nios-IP from Altera was greater comprehension, or only 100 MHz.

    ARMCC work in DS-5 AE after obtain license, I want know about loops unrolling and auto-SIMD-using asm-commands from NEON in both versions of compiler in comparison. Need be used ARM for DSP-solutions with low-power.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    The GNU baremetal comes with EDS doesn't support hard floating point option (-mfloat-abi=hard). The ARMCC does it.