Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 221420

Forum Post: MSP430FR6047: GCC 9.3.1 compiler error. Code Model differs

$
0
0
Part Number: MSP430FR6047 Tool/software: Hi, I have the following issue (Example): [build] /opt/ti/msp430/gcc/bin/../lib/gcc/msp430-elf/9.3.1/../../../../msp430-elf/bin/ld: error: /opt/ti/msp430/gcc/msp430-elf/lib/libc.a(lib_a-fflush.o) uses the small code model whereas /opt/ti/msp430/gcc/bin/../lib/gcc/msp430-elf/9.3.1/../../../../msp430-elf/lib/large/crt0.o uses the large code model [build] /opt/ti/msp430/gcc/bin/../lib/gcc/msp430-elf/9.3.1/../../../../msp430-elf/bin/ld: error: /opt/ti/msp430/gcc/msp430-elf/lib/libc.a(lib_a-fflush.o) uses the small data model whereas /opt/ti/msp430/gcc/bin/../lib/gcc/msp430-elf/9.3.1/../../../../msp430-elf/lib/large/crt0.o uses the large data model the -mlarge flag I already set But I do not know how to say the compiler that he should use the large code model library.

Viewing all articles
Browse latest Browse all 221420

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>