Other Parts Discussed in Thread: MSP430F5659
Tool/software: Code Composer Studio
I am trying to automate the build of my CCS project for MSP430F5659. I created a docker container with CCS 9.1.0 and my desired version of the TI compiler (18.1.6). When I build my project, I get the following error:
error #10366-D: automatic library build: using library "/opt/ti/ccs/tools/compiler/ti-cgt-msp430_18.1.6.LTS/lib/rts430x_lc_ld_eabi.lib" for the first time, so it must be built. This may take a few minutes.
which makes my build fail.
In order to cut on build time and have a successful build, I want to build rtsx430_lc_ld_eabi.lib in advance and include it in the docker image. I managed to do it using the following command line:
/opt/ti/ccs/tools/compiler/ti-cgt-msp430_18.1.6.LTS/lib/mklib --pattern=rts430x_lc_ld_eabi.lib --index=libc.a
but the output file differs from what is built from CCS. Since I don't see what command line CCS uses to build rtsx430_lc_ld_eabi.lib, I can't be sure if what I'm doing is right.
Is this the right way to go?
Thanks