Skip to main content
Visitor II
March 5, 2007
Question

Compiling C for ST7

  • March 5, 2007
  • 2 replies
  • 861 views
Posted on March 05, 2007 at 04:46

Compiling C for ST7

    This topic has been closed for replies.

    2 replies

    awaller24Author
    Visitor II
    March 4, 2007
    Posted on March 04, 2007 at 23:46

    I've just been given a ST72F345C4 to program, using a FLASH STICK

    programmer. I only want to write simple programs, so I tried to compile

    my code with ''ST7 Visual Develop'', I have set up a project, wkspace,

    etc and including header files.

    BUT. I keep getting these linker errors:

    #error clnk example.lkf:14 can't open file crtsx.st7

    #error clnk example.lkf:15 can't open file libim.st7

    #error clnk example.lkf:16 can't open file libm.st7

    *** Is it a problem with the linker or is there a greater problem with

    only using this program? Must I use Cosmic/ Codewarrior/ something else

    to compile? ***

    I did a search in the root ST7 directory and none of these files are

    even there! I also tried to download Cosmic Compiler for ST7, but there

    link is broken. any suggestions??

    Thanks. :o

    Visitor II
    March 5, 2007
    Posted on March 05, 2007 at 04:46

    Quote:

    #error clnk example.lkf:14 can't open file crtsx.st7

    #error clnk example.lkf:15 can't open file libim.st7

    #error clnk example.lkf:16 can't open file libm.st7

    these are files that belong to the Cosmic compiler installation, so, yes, you need to install the Cosmic compiler

    Quote:

    I also tried to download Cosmic Compiler for ST7, but there

    link is broken.

    Our website had a problem in the second half of last week, it should be back to work today. Sorry for the inconvenience.

    Regards,

    Luca (Cosmic)