[Cs-dev] Help request on MinGW
Date | 2013-03-10 14:32 |
From | john 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 |
Date | 2013-03-10 15:53 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Help request on MinGW |
Attachments | None None |
http://stackoverflow.com/questions/9865319/how-to-update-gcc-in-mingw-on-window says you can get it in http://sourceforge.net/projects/mingwbuilds/ Victor On 10 Mar 2013, at 14:32, john ffitch wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-03-10 16:00 |
From | Victor Lazzarini |
Subject | Re: [Cs-dev] Help request on MinGW |
Attachments | None None |
The sourceforge download page seems to provide gcc 4.7: On 10 Mar 2013, at 15:53, Victor Lazzarini wrote:
Dr Victor Lazzarini Senior Lecturer Dept. of Music NUI Maynooth Ireland tel.: +353 1 708 3545 Victor dot Lazzarini AT nuim dot ie |
Date | 2013-03-10 16:07 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Help request on MinGW |
Attachments | None 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 Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |
Date | 2013-03-10 16:29 |
From | Michael Gogins |
Subject | Re: [Cs-dev] Help request on MinGW |
Attachments | None 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:
Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com |