Oszkar Ambrus wrote:
I have a further question regarding finishing up my work.
What else do I need to change? libgcc and msp430-libs will definitely
have to be changed,
since they use call and ret. So I'll probably use a macro, with
something like #ifdef msp430X....
__MSP430X__ is already defined for MSP430X devices. Use that.
How do I specify that when I build gcc from sources? Do I add another
architecture, like msp430x (that probably isn't a good idea) ?
Do I specify it as an environment variable when I configure it? Or is
there another solution?
Steve