Re: GCC MSP430
Peter Bigot <[email protected]>
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.user |
|---|---|
| Message-ID | <CAPOJ94OkzjdC_GdA_V0jgq3u-Nrku+7c_dc+iAw-GUFwvcRX5w@mail.gmail.com> |
That output looks like an mspgcc build before I took over and replaced the hard-coded genericized MCU list with the full set of MCUs. Specifically, it looks possibly like an msp430x branch mspgcc. Dunno if msp430 gcc happened to follow that practice: I truly hope it didn't. Peter On Mon, Sep 23, 2013 at 5:38 AM, Ilya Dmitrichenko <[email protected] > wrote: > It is actually a bit more odd then I thought: > > % cat test.c > #include <msp430fr5739.h> > > int main() { return 0; }; > > % msp430-elf-gcc -mmcu=msp430fr5739 test.c > -I/home/ilya/msp430/msp430-elf-21092013-0/msp430-elf/include/msp430 > > /home/ilya/msp430/msp430-elf-21092013-0/bin/../lib/gcc/msp430-elf/4.9.0/../../../../msp430-elf/bin/ld: > error: /tmp/cc5edjEZ.o uses MSP430X instructions but > > /home/ilya/msp430/msp430-elf-21092013-0/bin/../lib/gcc/msp430-elf/4.9.0/../../../../msp430-elf/lib/crt0.o > uses MSP430 > > /home/ilya/msp430/msp430-elf-21092013-0/bin/../lib/gcc/msp430-elf/4.9.0/../../../../msp430-elf/bin/ld: > failed to merge target specific data of file /tmp/cc5edjEZ.o > collect2: error: ld returned 1 exit status > > Perhaps I was wrong in blaming newlib, not sure what's missing > actually... May be this is the clue: > > % msp430-elf-ld -mmcpu=msp430x > msp430-elf-ld: unrecognised emulation mode: mcpu=msp430x > Supported emulations: msp430x110 msp430x112 msp430x1101 msp430x1111 > msp430x1121 msp430x1122 msp430x1132 msp430x122 msp430x123 msp430x1222 > msp430x1232 msp430x133 msp430x135 msp430x1331 msp430x1351 msp430x147 > msp430x148 msp430x149 msp430x155 msp430x156 msp430x157 msp430x167 > msp430x168 msp430x169 msp430x1610 msp430x1611 msp430x1612 msp430x2101 > msp430x2111 msp430x2121 msp430x2131 msp430x311 msp430x312 msp430x313 > msp430x314 msp430x315 msp430x323 msp430x325 msp430x336 msp430x337 > msp430x412 msp430x413 msp430x415 msp430x417 msp430xE423 msp430xE425 > msp430xE427 msp430xW423 msp430xW425 msp430xW427 msp430xG437 > msp430xG438 msp430xG439 msp430x435 msp430x436 msp430x437 msp430x447 > msp430x448 msp430x449 msp430X > > > ------------------------------------------------------------------------------ > LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! > 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, > SharePoint > 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack > includes > Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. > http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk > _______________________________________________ > Mspgcc-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mspgcc-users > ------------------------------------------------------------------------------ LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99! 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13. http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users