• TI Thinks Resolved

Compiler: Building MSP430 gcc from sources on CentOS 7 for Windows

Tool/software: TI C/C++ Compiler

Hi,

I would like to build msp430 gcc from sources on CentOS 7 for Windows and I tried to follow your instructions on this website: processors.wiki.ti.com/.../Building_MSP430-GCC_From_Sources but I have got few problems. I think that the instructions are old or not complete because

  • the current sources on your website does not contain general 'configure' file
  • the link to the sources does not work
  • 'i686-pc-mingw32' is not available anymore

Am I right or I am mixing some things? If the instructions are not correct could you please correct them? Then I could try to compile it again.

Many thanks,

Karolina

  • Please use the directions in the chapter titled Building MSP430 GCC From Sources in the MSP430 GCC compiler manual.

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click This Resolved My Issue on the best reply to your question
    The CCS Youtube Channel
     has short how-to videos
    The 
    Compiler Wiki answers most common questions
    Track an issue with SDOWP. Enter your bug id in the Search box.

  • In reply to George Mock:

    Hi George,

    Thank you for the information. I haven't seen this document before.

    I tried to compile it according to this documentation and unfortunately I still have a problem. During the build process it cannot find msp430-elf-gcc even though I have it in the path. What I did is I moved the 'install' and 'build' folder after building the native toolchain to another location and then I added 'bin' folder from the 'install' folder to the path. When I execute 'msp430-elf-gcc --version' it is recognized. Any idea why msp430-gcc is not recognized during the build? Should I add something more to the path? Can you tell me exactly the folder structure I should have?

    Many thanks,

    Karolina

  • In reply to George Mock:

    Hi George,

    Thank you for the information. I haven't seen this document before.

    I tried to compile it according to this documentation and unfortunately I still have a problem. During the build process it cannot find msp430-elf-gcc even though I have it in the PATH (I can call it from whatever place I want and it is there).

    More details what I did:

    What I did is I moved the 'install' and 'build' folder after building the native toolchain to another location and then I added 'bin' folder from the 'install' folder to the PATH. When I execute 'msp430-elf-gcc --version' it IS recognized. Any idea why msp430-gcc is not recognized during the build? Should I add something more to the path? Can you tell me exactly the folder structure I should have?

    Many thanks,

    Karolina

  • In reply to Karolina Wojcik:

    Unfortunately, the person best able to help is out until next week.  As a placeholder til then, I filed MSPGCC-94 in the SDOWP system. It reports an error in the MSP430 GCC manual.  I'm not sure that is the case.  Even so, it is a good way to make sure this issue does not get lost.  You are welcome to follow this issue with the SDOWP link below in my signature.

    Thanks and regards,

    -George


    TI C/C++ Compiler Forum Moderator
    Please click This Resolved My Issue on the best reply to your question
    The CCS Youtube Channel
     has short how-to videos
    The 
    Compiler Wiki answers most common questions
    Track an issue with SDOWP. Enter your bug id in the Search box.