GCC 3.3.6 make fail on 'msp430_emit_return'

View: New views
7 Messages — Rating Filter:   Alert me  

GCC 3.3.6 make fail on 'msp430_emit_return'

by Greg Hoover :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm trying to build GCC 3.3.6 with the patch files from gcc/gcc-3.4.  
I'm building on Mac 10.5 and get a slew of redeclaration errors:

./config/msp430/msp430.c:3669: error: conflicting types for  
‘msp430_movesi_code’
./config/msp430/msp430.c:2399: error: previous implicit declaration of  
‘msp430_movesi_code’ was here
./config/msp430/msp430.c:3783: error: conflicting types for  
‘msp430_movedi_code’
./config/msp430/msp430.c:2413: error: previous implicit declaration of  
‘msp430_movedi_code’ was here
./config/msp430/msp430.c:3875: error: conflicting types for  
‘msp430_addsi_code’
./config/msp430/msp430.c:2631: error: previous implicit declaration of  
‘msp430_addsi_code’ was here
./config/msp430/msp430.c:3955: error: conflicting types for  
‘msp430_adddi_code’
./config/msp430/msp430.c:2655: error: previous implicit declaration of  
‘msp430_adddi_code’ was here
./config/msp430/msp430.c:4060: error: conflicting types for  
‘msp430_subsi_code’
./config/msp430/msp430.c:2633: error: previous implicit declaration of  
‘msp430_subsi_code’ was here
./config/msp430/msp430.c:4130: error: conflicting types for  
‘msp430_subdi_code’
./config/msp430/msp430.c:2657: error: previous implicit declaration of  
‘msp430_subdi_code’ was here
./config/msp430/msp430.c:4228: error: conflicting types for  
‘msp430_emit_immediate_and2’
./config/msp430/msp430.c:2687: error: previous implicit declaration of  
‘msp430_emit_immediate_and2’ was here
./config/msp430/msp430.c:4304: error: conflicting types for  
‘msp430_emit_immediate_and4’
./config/msp430/msp430.c:2719: error: previous implicit declaration of  
‘msp430_emit_immediate_and4’ was here
./config/msp430/msp430.c:4434: error: conflicting types for  
‘msp430_andsi_code’
./config/msp430/msp430.c:2635: error: previous implicit declaration of  
‘msp430_andsi_code’ was here

Any help would be appreciated.
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: GCC 3.3.6 make fail on 'msp430_emit_return'

by Chris Liechti :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greg Hoover schrieb:
> I'm trying to build GCC 3.3.6 with the patch files from gcc/gcc-3.4.

well, don't..

3.2.3 (with the files from the 3.3 folder, sigh) is the current
recommended version

> I'm building on Mac 10.5 and get a slew of redeclaration errors:
>
> ./config/msp430/msp430.c:3669: error: conflicting types for  
> ‘msp430_movesi_code’
[...]
> Any help would be appreciated.

strange errors can happen compiling a gcc 3.x tree with gcc 4.x. use a
gcc 3.x to compile a 3.x tree.

HTH
chris

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: GCC 3.3.6 make fail on 'msp430_emit_return'

by Greg Hoover :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You know, I've done this several times over the past few years and I  
keep forgetting that I need to use 3.2.3 -- I naturally try to use the  
most recent versions and then end up stepping my way back down...sigh.

Thanks.
Greg

On Jun 19, 2008, at 5:25 PM, Chris Liechti wrote:

> Greg Hoover schrieb:
>> I'm trying to build GCC 3.3.6 with the patch files from gcc/gcc-3.4.
>
> well, don't..
>
> 3.2.3 (with the files from the 3.3 folder, sigh) is the current
> recommended version
>
>> I'm building on Mac 10.5 and get a slew of redeclaration errors:
>>
>> ./config/msp430/msp430.c:3669: error: conflicting types for
>> ‘msp430_movesi_code’
> [...]
>> Any help would be appreciated.
>
> strange errors can happen compiling a gcc 3.x tree with gcc 4.x. use a
> gcc 3.x to compile a 3.x tree.
>
> HTH
> chris
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@...
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: GCC 3.3.6 make fail on 'msp430_emit_return'

by Greg Hoover :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Well apparently GCC 3.2.3 doesn't support i686 darwin -- I get this  
error:

Configuration i686-apple-darwin9.3.0 not supported

Any suggestions?

Thanks,
Greg
On Jun 19, 2008, at 5:33 PM, Greg Hoover wrote:

> You know, I've done this several times over the past few years and I
> keep forgetting that I need to use 3.2.3 -- I naturally try to use the
> most recent versions and then end up stepping my way back down...sigh.
>
> Thanks.
> Greg
>
> On Jun 19, 2008, at 5:25 PM, Chris Liechti wrote:
>
>> Greg Hoover schrieb:
>>> I'm trying to build GCC 3.3.6 with the patch files from gcc/gcc-3.4.
>>
>> well, don't..
>>
>> 3.2.3 (with the files from the 3.3 folder, sigh) is the current
>> recommended version
>>
>>> I'm building on Mac 10.5 and get a slew of redeclaration errors:
>>>
>>> ./config/msp430/msp430.c:3669: error: conflicting types for
>>> ‘msp430_movesi_code’
>> [...]
>>> Any help would be appreciated.
>>
>> strange errors can happen compiling a gcc 3.x tree with gcc 4.x.  
>> use a
>> gcc 3.x to compile a 3.x tree.
>>
>> HTH
>> chris
>>
>> -------------------------------------------------------------------------
>> Check out the new SourceForge.net Marketplace.
>> It's the best place to buy or sell services for
>> just about anything Open Source.
>> http://sourceforge.net/services/buy/index.php
>> _______________________________________________
>> Mspgcc-users mailing list
>> Mspgcc-users@...
>> https://lists.sourceforge.net/lists/listinfo/mspgcc-users
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@...
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: GCC 3.3.6 make fail on 'msp430_emit_return'

by Raúl Sánchez Siles-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Greg Hoover wrote:

> Well apparently GCC 3.2.3 doesn't support i686 darwin -- I get this
> error:
>
> Configuration i686-apple-darwin9.3.0 not supported
>
> Any suggestions?

  Have you tried building with latest gcc-3.4 or gcc-3.3?

  Regards,

--
Raúl Sánchez Siles


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: GCC 3.3.6 make fail on 'msp430_emit_return'

by Greg Hoover :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I tried, unsuccessfully and was told that 3.2.3 was the officially  
supported version.  Have you had any luck with 3.3 or 3.4?

Greg
On Jun 20, 2008, at 1:45 AM, Raúl Sánchez Siles wrote:

> Greg Hoover wrote:
>
>> Well apparently GCC 3.2.3 doesn't support i686 darwin -- I get this
>> error:
>>
>> Configuration i686-apple-darwin9.3.0 not supported
>>
>> Any suggestions?
>
>  Have you tried building with latest gcc-3.4 or gcc-3.3?
>
>  Regards,
>
> --
> Raúl Sánchez Siles
>
>
> -------------------------------------------------------------------------
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> Mspgcc-users mailing list
> Mspgcc-users@...
> https://lists.sourceforge.net/lists/listinfo/mspgcc-users


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users

Re: GCC 3.3.6 make fail on 'msp430_emit_return'

by Grant Edwards :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2008-06-20, Greg Hoover <ghoover@...> wrote:

>>> Well apparently GCC 3.2.3 doesn't support i686 darwin -- I get this
>>> error:

> I tried, unsuccessfully and was told that 3.2.3 was the officially  

Yes, 3.2.3 is the "supported" version of the cross compiler.
It doesn't matter whether 3.2.3 supports i686 darwin -- you're
not building it for i686 darwin.  You want to build it for the
msp430 target.

I've never had any problems building gcc 3.2.3 with any gcc 3.x
or 4.x host compiler (I'm currently using 4.1.2 to build
3.2.3).

--
Grant Edwards                   grante             Yow! Yes, but will I
                                  at               see the EASTER BUNNY in
                               visi.com            skintight leather at an
                                                   IRON MAIDEN concert?


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@...
https://lists.sourceforge.net/lists/listinfo/mspgcc-users
LightInTheBox - Buy quality products at wholesale price