Skip to main content
Visitor II
December 8, 2003
Question

ST7 C Compiler choice : Cosmic or MetroWerks?

  • December 8, 2003
  • 10 replies
  • 2158 views
Posted on December 08, 2003 at 10:26

ST7 C Compiler choice : Cosmic or MetroWerks?

    This topic has been closed for replies.

    10 replies

    Visitor II
    October 23, 2003
    Posted on October 23, 2003 at 21:39

    When developping an application in C for ST7 micros, you have to choose between 2 C compiler : Cosmic or MetroWerks.

    Now I am at this step, I have to make this choice.

    Can you please give me your feedback on this?

    1- Have you noticed some differences between the 2 C compilers? (optimization, size of the code, timings, prices, options)

    2- What features are included in one compiler and is not included in the other?

    3- What are the advantages and drawbacks for each compiler?

    Thank you very much for your help.

    Best Regards
    Visitor II
    October 24, 2003
    Posted on October 24, 2003 at 06:48

    I would recommend cosmic out of the two.

    Cosmic gives slightly better optimisation as well as the choice of either using a software or hardware stack - metrowerks only has a software stack.

    I also think cosmic is slightly cheaper, it was anyway.

    Don't bother with zap (save the money), just use Visual Debug.

    Regards

    sjo
    Visitor II
    October 25, 2003
    Posted on October 25, 2003 at 20:13

    thanks sjo for your answer!

    any other comments from other users?
    Visitor II
    October 30, 2003
    Posted on October 30, 2003 at 22:02

    Is there anyboday else who had experienced using the 2 compilers? and that have noticed differences between them? (in term of generated code size and speed, speacila optimizations).

    Thank you
    Visitor II
    October 31, 2003
    Posted on October 31, 2003 at 04:56

    Hello

    I am FAE of STMicroelectronics and i am getting this question all the time .

    What i am learning from my customers that all the programmer like the Cosmic but the Metrowerks give more optimaize code .

    Latino
    Visitor II
    October 31, 2003
    Posted on October 31, 2003 at 05:02

    I have tried both and finally choosed the cosmic !

    I like the Cosmic thing, highly optimized towards code efficiency

    even their maths libs are impressive

    but their editor (idea) is pure BS.

    Visitor II
    November 2, 2003
    Posted on November 02, 2003 at 20:01

    Thank you both for your answers, anybody else have got comments on this subject?

    Visitor II
    November 9, 2003
    Posted on November 10, 2003 at 00:25

    Yes thats true thats a difficult choice to make, it could be a good idea to discuss all the differences between these 2 compilers.

    Visitor II
    November 17, 2003
    Posted on November 17, 2003 at 12:54

    Compared to cosmic, Metrowerks is the right choice to take care of the codesize and it has some good compiler options to reduce both ROM,RAM.

    ( It all depends on the way in which the program has been written )

    KrSel
    Visitor II
    December 8, 2003
    Posted on December 08, 2003 at 10:26

    Cosmic is far the best for code optimisation.

    With Cosmic default model is full C (renetrance recursion; stack)

    while Metrowerks uses the ''static'' type (all varibales allocated

    at compile time).

    This way Metrowerks tries to show better but it's artificial and

    in the real world Cosmic is far much better.