Re: code size
Peter Bigot <[email protected]> Fri, 12 Dec 2014 05:57:57 -0600
| Newsgroups | gmane.comp.hardware.texas-instruments.msp430.gcc.user |
|---|---|
| Message-ID | <CAPOJ94O1=xxcXY0fG-zb-qKAGXfoE4rCALaqazXvsWCqxLDeRg@mail.gmail.com> |
On Fri, Dec 12, 2014 at 4:43 AM, Kees Schoenmakers <[email protected]> wrote: > I tried the newer msp-GCC (TI/RedHat) distribution on my project(s). > > It still builds with _far_ more code then my present msp430-gcc > (4.7.0). This compiler > has also some minor habits but produces compact code. > > So for the moment I will not switch to the newer version, my project > would not fit in the flash. > Yes, code size is not as one might wish. See http://e2e.ti.com/support/development_tools/compiler/f/343/p/384317/1356674#1356674 for some information, as well as https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64027 Those issues, unfortunately, are not solved by linker optimizations. (IRT Eric: I was unaware of the visibility attribute, so haven't run into that, though I can see it will be useful in the future.) My core blockers for msp430-elf are an official patch for https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64160 and a new release of the support headers/linker scripts that reverts the broken initialization infrastructure (which I assume TI is working on). But since mspgcc doesn't build on Ubuntu 14.04 the code size issue does become more important. The E2E response hints that we're running into an organizational conflict of interest at TI. Peter ------------------------------------------------------------------------------ Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server from Actuate! Instantly Supercharge Your Business Reports and Dashboards with Interactivity, Sharing, Native Excel Exports, App Integration & more Get technology previously reserved for billion-dollar corporations, FREE http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk _______________________________________________ Mspgcc-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mspgcc-users