Other Parts Discussed in Thread: MSP430-FLASHER
I downloaded, and have been using msp430-gcc-8.3.0.16_linux64 software tools, which seem to have been functioning correctly so far, except for the fact that whenever I tries to enable --tui (text user interface) gdb mode, gdb crashed with:
[ No Source Available ]Segmentation fault (core dumped)
Since I could not figure out why this was happening, I decided to build the whole set of tools from source.
I struck a few snags along the way, and decided to separate the configure steps for: binutils, gcc and gdb by stripping out the unecessary parts of README-build.sh script into build-binutils.sh, build-gcc.sh and build-gdb.sh, respectively.
Whilst doing this, I also tweaked a few parameters, particularly for the gdb build, as follows:
#configure_args_gdb=$(echo --disable-{binutils,gas,ld,gprof,etc} --without-{mpfr,lzma} --with-python=no)
configure_args_gdb=$(echo --without-{mpfr,lzma} --with-python=yes --enable-targets=all --enable-tui --with-curses )
because I noticed that tui and python were not previously enabled, and I wanted them both.
binutils and gcc seemed to build OK.
I found that I had to install python-dev onto my system, because I kept running into an error stating that there was an issue with python 2.7.
I finally managed to get gdb to build and I briefly tested to make sure that tui mode was working, which it appeared to be, since it no longer crashed.
Owing to the fact that I had added the necessary support files to the original build and also to make sure that all the necessary components were in the new build, I did a directory comparison, and immediately noticed that a directory called lib64, did not appear in the new build (BTW, I had added the library file, libmsp430.so to this directory, since it was needed by msp430-flasher).
Anyhow, I just started checking through, to make sure that all the components were there in the new build, when I noticed that all of the executables in the install/bin directory, appear to be about 5 times larger than the original pre-built ones.
I have done one or two cursory checks, by running a few of the newly built executables, with --version and -h options, just to see if they are basically alive or dead, and seem to be behaving normally.
Could anyone perhaps suggest why this may have happened please?
I have attached the three modified configure scripts, for reference.
Thanks in advance.
Jonathan Roberts