This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

  • Resolved

msp430-elf-gcc 4.9.1 source - configure options

Can someone share the options given to ./configure (inside sources/tools/) to build the toolchain similar to what ships with CCSv6?

FYI I'm using the msp430-gcc-14r1-10-source.tar.bz2 download for the source.

  • I filed a question with the MSP430 gcc development team.  I hope to hear back in a few days.

    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:

    Use the -v option to see, among other things, the configure information.  Here is what I see when I use the latest version ...

    > \ti_ccs60\ccsv6\tools\compiler\gcc_msp430_4.9.14r1_10\bin\msp430-elf-gcc -v
    Using built-in specs.
    COLLECT_GCC=\ti_ccs60\ccsv6\tools\compiler\gcc_msp430_4.9.14r1_10\bin\msp430-elf-gcc
    COLLECT_LTO_WRAPPER=c:/ti_ccs60/ccsv6/tools/compiler/gcc_msp430_4.9.14r1_10/bin/../libexec/gcc/msp430-elf/4.9.1/lto-wrapper.exe
    Target: msp430-elf
    Configured with: /opt/redhat/msp430-14r1-10/sources/tools/configure --host=i686-pc-mingw32 --build=i686-redhat-linux --target=msp430-elf --prefix=/opt/redhat/msp430-14r1-10/i686-pc-ingw32 --enable-languages=c,c++ --disable-itcl --disable-tk --disable-tcl --disable-libgui --disable-gdbtk
    Thread model: single
    gcc version 4.9.1 20140707 (prerelease (msp430-14r1-10)) (GNUPro 14r1) (Based on: GCC 4.8 GDB 7.7 Binutils 2.24 Newlib 2.1) (GCC)
    

    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:

    Thanks George.  Giving this a try, but it's giving me some problems... Using Fedora 19, 64-bit:

    ./configure --prefix=/opt/local/msp430-elf-gcc --target=msp430-elf --enable-languages=c,c++ --disable-itcl --disable-tk --disable-tcl --disable-libgui --disable-gdbtk

    make throws the following after a little while:

    Adding multilib support to Makefile in ../../.././libgcc
    with_multisubdir=430
    Running configure in multilib subdir large
    pwd: /home/ebrundic/tmp4/sources/tools/msp430-elf
    mkdir large
    configure: creating cache ./config.cache
    checking build system type... x86_64-unknown-linux-gnu
    checking host system type... msp430-unknown-elf
    checking for --enable-version-specific-runtime-libs... no
    checking for a BSD-compatible install... /usr/bin/install -c
    checking for gawk... gawk
    checking for msp430-elf-ar... /home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/binutils/ar
    checking for msp430-elf-lipo... msp430-elf-lipo
    checking for msp430-elf-nm... /home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/nm
    checking for msp430-elf-ranlib... /home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/binutils/ranlib
    checking for msp430-elf-strip... /home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/binutils/strip-new
    checking whether ln -s works... yes
    checking for msp430-elf-gcc... /home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/ -nostdinc -B/home/ebrundic/tmp4/sources/tools/msp430-elf/large/newlib/ -isystem /home/ebrundic/tmp4/sources/tools/msp430-elf/large/newlib/targ-include -isystem /home/ebrundic/tmp4/sources/tools/newlib/libc/include -B/home/ebrundic/tmp4/sources/tools/msp430-elf/large/libgloss/msp430 -L/home/ebrundic/tmp4/sources/tools/msp430-elf/large/libgloss/libnosys -L/home/ebrundic/tmp4/sources/tools/libgloss/msp430 -B/opt/local/msp430-elf-gcc/msp430-elf/bin/ -B/opt/local/msp430-elf-gcc/msp430-elf/lib/ -isystem /opt/local/msp430-elf-gcc/msp430-elf/include -isystem /opt/local/msp430-elf-gcc/msp430-elf/sys-include -L/home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/ld  -mlarge
    checking for suffix of object files... o
    checking whether we are using the GNU C compiler... yes
    checking whether /home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/ -nostdinc -B/home/ebrundic/tmp4/sources/tools/msp430-elf/large/newlib/ -isystem /home/ebrundic/tmp4/sources/tools/msp430-elf/large/newlib/targ-include -isystem /home/ebrundic/tmp4/sources/tools/newlib/libc/include -B/home/ebrundic/tmp4/sources/tools/msp430-elf/large/libgloss/msp430 -L/home/ebrundic/tmp4/sources/tools/msp430-elf/large/libgloss/libnosys -L/home/ebrundic/tmp4/sources/tools/libgloss/msp430 -B/opt/local/msp430-elf-gcc/msp430-elf/bin/ -B/opt/local/msp430-elf-gcc/msp430-elf/lib/ -isystem /opt/local/msp430-elf-gcc/msp430-elf/include -isystem /opt/local/msp430-elf-gcc/msp430-elf/sys-include -L/home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/ld  -mlarge accepts -g... yes
    checking for /home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/ -nostdinc -B/home/ebrundic/tmp4/sources/tools/msp430-elf/large/newlib/ -isystem /home/ebrundic/tmp4/sources/tools/msp430-elf/large/newlib/targ-include -isystem /home/ebrundic/tmp4/sources/tools/newlib/libc/include -B/home/ebrundic/tmp4/sources/tools/msp430-elf/large/libgloss/msp430 -L/home/ebrundic/tmp4/sources/tools/msp430-elf/large/libgloss/libnosys -L/home/ebrundic/tmp4/sources/tools/libgloss/msp430 -B/opt/local/msp430-elf-gcc/msp430-elf/bin/ -B/opt/local/msp430-elf-gcc/msp430-elf/lib/ -isystem /opt/local/msp430-elf-gcc/msp430-elf/include -isystem /opt/local/msp430-elf-gcc/msp430-elf/sys-include -L/home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/ld  -mlarge option to accept ISO C89... none needed
    checking how to run the C preprocessor... /home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/xgcc -B/home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/ -nostdinc -B/home/ebrundic/tmp4/sources/tools/msp430-elf/large/newlib/ -isystem /home/ebrundic/tmp4/sources/tools/msp430-elf/large/newlib/targ-include -isystem /home/ebrundic/tmp4/sources/tools/newlib/libc/include -B/home/ebrundic/tmp4/sources/tools/msp430-elf/large/libgloss/msp430 -L/home/ebrundic/tmp4/sources/tools/msp430-elf/large/libgloss/libnosys -L/home/ebrundic/tmp4/sources/tools/libgloss/msp430 -B/opt/local/msp430-elf-gcc/msp430-elf/bin/ -B/opt/local/msp430-elf-gcc/msp430-elf/lib/ -isystem /opt/local/msp430-elf-gcc/msp430-elf/include -isystem /opt/local/msp430-elf-gcc/msp430-elf/sys-include -L/home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/ld  -mlarge -E
    checking size of double... 8
    checking size of long double... 8
    checking whether decimal floating point is supported... no
    configure: WARNING: decimal float is not supported for this target, ignored
    checking whether fixed-point is supported... no
    checking whether to use setjmp/longjmp exceptions... no
    checking if the linker (/home/ebrundic/tmp4/sources/tools/host-x86_64-unknown-linux-gnu/gcc/collect-ld) is GNU ld... yes
    checking for thread model used by GCC... single
    checking whether assembler supports CFI directives... no
    checking for __attribute__((visibility("hidden")))... no
    checking whether the target assembler supports thread-local storage... yes
    checking whether the thread-local storage support is from emutls... yes
    checking for init priority support... yes
    configure: updating cache ./config.cache
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: creating auto-target.h
    config.status: linking ../../.././libgcc/enable-execute-stack-empty.c to enable-execute-stack.c
    config.status: linking ../../.././libgcc/unwind-generic.h to unwind.h
    config.status: linking ../../.././libgcc/config/no-unwind.h to md-unwind-support.h
    config.status: linking ../../.././libgcc/config/no-sfp-machine.h to sfp-machine.h
    config.status: linking ../../.././libgcc/gthr-single.h to gthr-default.h
    config.status: executing default commands
    Adding multilib support to Makefile in ../../.././libgcc
    with_multisubdir=large
    make[2]: Entering directory `/home/ebrundic/tmp4/sources/tools/msp430-elf/libgcc'
    Makefile:165: ../.././gcc/libgcc.mvars: No such file or directory
    make[2]: *** No rule to make target `../.././gcc/libgcc.mvars'.  Stop.
    make[2]: Leaving directory `/home/ebrundic/tmp4/sources/tools/msp430-elf/libgcc'
    make[1]: *** [all-target-libgcc] Error 2
    make[1]: Leaving directory `/home/ebrundic/tmp4/sources/tools'
    make: *** [all] Error 2
    

  • In reply to Eric Brundick52:

    Please see if this page is helpful.  -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:

    Thanks George, that did the trick... I should have known that since I've built other gcc's before. whoops!

This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.