Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-14 Thread JMGross
projects later. JMGross - Ursprüngliche Nachricht - Von: Paul F. Sehorne An: mspgcc-users@lists.sourceforge.net Gesendet am: 12 Jun 2010 06:37:45 Betreff: Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc Jim, I am taking your suggestion for the __delay_cycles

Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-14 Thread Paul F. Sehorne
you move on to more sophisticated projects later. JMGross - Ursprüngliche Nachricht - Von: Paul F. Sehorne An: mspgcc-users@lists.sourceforge.net Gesendet am: 12 Jun 2010 06:37:45 Betreff: Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc Jim, I am taking

Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-12 Thread Paul F. Sehorne
Jim, I am taking your suggestion for the __delay_cycles intrinsic function. Thanks for the suggestion. Paul On 6/7/2010 6:00 AM, JMGross wrote: I suggest replacing the intrinsic functions by macros or inline-functions with hand-crafted inline assembly code. This way, you have full

Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-11 Thread Paul F. Sehorne
Yesterday I installed mspgcc4 on a Ubuntu 9.10 Linux machine and copied my TI eZChronos Sports Watch project to the machine. Upon building the program I get the same error as when building on Windows 7. This is a showstopper for me. I cannot proceed with mspgcc4 as long as this problem

Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-11 Thread Peter Bigot
If you will provide a complete standalone example that reproduces the problem I'll take a look at this. The fragments you posted before(menu.h, menu.c, main.c) aren't complete and I don't really have time to try to fill out the missing pieces. Best way would be to file it as a bug on the mspgcc4

Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-11 Thread Paul F. Sehorne
I'm working on it On 6/11/2010 10:10 AM, Peter Bigot wrote: If you will provide a complete standalone example that reproduces the problem I'll take a look at this.

Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-07 Thread JMGross
for doing so. JMGross - Ursprüngliche Nachricht - Von: Paul F. Sehorne An: Richard Newman; GCC for MSP430 - http://mspgcc.sf.net Gesendet am: 04 Jun 2010 05:09:13 Betreff: Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc I have completed the port to mspgcc

Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-04 Thread Paul F. Sehorne
Richard, thanks for your offer. I welcome your partnership. I have completed the port to mspgcc except for the following items: The last linking hurdle, the warning: internal error: unsupported relocation error, remains. This is caused by a bug in mspgcc4. The bug has been fixed but has not

[Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-01 Thread Paul F. Sehorne
Having gotten past the compiling phase in my effort to port the TI Sports Watch code to mspgcc, I'm moving on to the linking phase. I'm getting the following error: c:\users\paul\documents\programming\texas_instruments\ez430\mspgcc4\bin\..\lib\gcc\msp430\4.4.3\..\..\..\..\bin\msp430-ld.exe:

Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-01 Thread Peter Bigot
The IAR compiler specifically generates very tight code; some of the intrinsics (such as even_in_range) help it do so (while it's possible to create a function that has the same operational behavior as the intrinsic, the code generated for the intrinsic is likely to be smaller). It's quite

Re: [Mspgcc-users] mspgcc linking problems porting TI Sports Code to mspgcc

2010-06-01 Thread Paul F. Sehorne
Peter, thanks. I had been using -O2 and -O3, but I did not know about -Os. I tried it and the original error is now gone. I am now getting a series of errors like the following: = C:\Users\Paul\cc16wBFJ.o: In function `display_update': main.c:(.text+0x108): warning: internal