Csound Csound-dev Csound-tekno Search About

[Cs-dev] Help request on MinGW

Date2013-03-10 14:32
Fromjohn ffitch
Subject[Cs-dev] Help request on MinGW
I am having trouble using the Atomic-Builtins in minGW.  In particular
I get that __sync_fetch_and_or, __sync_fetch_and_and and
__sync_bool_compare_and_swap are said to be undefined when linking.
Do I need some extra library or what?  I updated minGW to the latest I
could (gcc4.6)
==John ffitch

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net

Date2013-03-10 15:53
FromVictor Lazzarini
SubjectRe: [Cs-dev] Help request on MinGW
AttachmentsNone  None  

Victor

On 10 Mar 2013, at 14:32, john ffitch wrote:

I am having trouble using the Atomic-Builtins in minGW.  In particular
I get that __sync_fetch_and_or, __sync_fetch_and_and and
__sync_bool_compare_and_swap are said to be undefined when linking.
Do I need some extra library or what?  I updated minGW to the latest I
could (gcc4.6)
==John ffitch

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2013-03-10 16:00
FromVictor Lazzarini
SubjectRe: [Cs-dev] Help request on MinGW
AttachmentsNone  None  
The sourceforge download page seems to provide gcc 4.7:


On 10 Mar 2013, at 15:53, Victor Lazzarini wrote:


Victor

On 10 Mar 2013, at 14:32, john ffitch wrote:

I am having trouble using the Atomic-Builtins in minGW.  In particular
I get that __sync_fetch_and_or, __sync_fetch_and_and and
__sync_bool_compare_and_swap are said to be undefined when linking.
Do I need some extra library or what?  I updated minGW to the latest I
could (gcc4.6)
==John ffitch

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie



------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini
Senior Lecturer
Dept. of Music
NUI Maynooth Ireland
tel.: +353 1 708 3545
Victor dot Lazzarini AT nuim dot ie




Date2013-03-10 16:07
FromMichael Gogins
SubjectRe: [Cs-dev] Help request on MinGW
AttachmentsNone  None  
In MinGW 4.6.2, these functions are builtins. SContruct for Csound5 tests for them and finds them.

Regards,
Mike



On Sun, Mar 10, 2013 at 10:32 AM, john ffitch <jpff@codemist.co.uk> wrote:
I am having trouble using the Atomic-Builtins in minGW.  In particular
I get that __sync_fetch_and_or, __sync_fetch_and_and and
__sync_bool_compare_and_swap are said to be undefined when linking.
Do I need some extra library or what?  I updated minGW to the latest I
could (gcc4.6)
==John ffitch

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com

Date2013-03-10 16:29
FromMichael Gogins
SubjectRe: [Cs-dev] Help request on MinGW
AttachmentsNone  None  
Wait a minute, I was going too fast. These builtins may be only in 4.7 and not in 4.6. I am checking... There is a bug report at http://sourceforge.net/p/mingw/bugs/1585/ that seems related (it's for C++ not C). I tried the test program for the bug report and get undefined symbols here as well.

I am going to try 4.7 now, and will advise how I installed it.

Regards,
Mike


On Sun, Mar 10, 2013 at 12:07 PM, Michael Gogins <michael.gogins@gmail.com> wrote:
In MinGW 4.6.2, these functions are builtins. SContruct for Csound5 tests for them and finds them.

Regards,
Mike



On Sun, Mar 10, 2013 at 10:32 AM, john ffitch <jpff@codemist.co.uk> wrote:
I am having trouble using the Atomic-Builtins in minGW.  In particular
I get that __sync_fetch_and_or, __sync_fetch_and_and and
__sync_bool_compare_and_swap are said to be undefined when linking.
Do I need some extra library or what?  I updated minGW to the latest I
could (gcc4.6)
==John ffitch

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com



--
Michael Gogins
Irreducible Productions
http://www.michael-gogins.com
Michael dot Gogins at gmail dot com