This is because I don't want to modify the building parameters of 
msp430-gcc. 




Oszkar Ambrus <[email protected]> 
Sent by: [email protected]
07/13/2007 06:26 PM
Please respond to
"GCC for MSP430 - http://mspgcc.sf.net"; 
<[email protected]>


To
"GCC for MSP430 - http://mspgcc.sf.net"; 
<[email protected]>
cc

Subject
Re: [Mspgcc-users] msp430x support: finalizing







>>__MSP430X__ is already defined for MSP430X devices. Use that. 

I have a problem with that. 

I put this in libgss.S: 
#if defined(__MSP430X__) 
        #define RET reta 
#else 
        #define RET ret 
#endif 
and replaced each occurence of ret with RET. 

But the problem is, that when I build gcc from sources specifying 
--target=msp430, __MSP430X__ isn't defined yet. 
So libgcc is compiled with ret everywhere, and no reta. 

I'd need something that isn't fixed when compiling libgcc. 
Any thoughts on that?
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mspgcc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Reply via email to