Re: How to build library using GCC for openMP support and still get -arch
Re: How to build library using GCC for openMP support and still get -arch
- Subject: Re: How to build library using GCC for openMP support and still get -arch
- From: Chris Hanson <email@hidden>
- Date: Wed, 09 Oct 2013 08:26:57 -0700
It might still be worth investigating GCD for this code, rather than trying to set up cross-compilation from Linux.
There is a port of libdispatch to Linux that you could use on that platform.
-- Chris
Sent from my iPhone
> On Oct 8, 2013, at 11:32 PM, Rick Mann <email@hidden> wrote:
>
> Yep, saw that. Really hoping it comes together soon, and works on iOS. What we're attempting to do right now is cross-compile from Linux to ARM using GCC, and link the resulting lib.a into our iOS project. I foresee many problems, but it will be of immense benefit to performance in our compute-intensive app.
>
> Unfortunately, the same code has to run on Linux, and so re-writing it all to use GCD is out of the question (not to mention the substantial effort it will entail. We probably have 100 openMP spots in the code).
>
>> On Oct 8, 2013, at 22:48 , Joar Wingfors <email@hidden> wrote:
>>
>> On a related note:
>>
>> <http://blog.llvm.org/2013/10/openmp-project.html>
>>
>> Joar
>>
>>
>>> On 8 okt 2013, at 17:32, Rick Mann <email@hidden> wrote:
>>>
>>> Thanks Sean. Looks like it's hard to get the runtime libraries on iOS. The Intel runtime wants to build with icc.
>>>
>>>
>>>> On Oct 8, 2013, at 16:58 , Sean McBride <email@hidden> wrote:
>>>>
>>>> On Tue, 8 Oct 2013 16:38:01 -0700, Rick Mann said:
>>>>
>>>>> We need OpenMP support for a part of our iOS app. Our plan was to use
>>>>> gcc from the command line to build this code, package it into a .a, and
>>>>> link that into our Xcode project. But gcc is gone, and open-source gcc
>>>>> doesn't support -arch.
>>>>
>>>> gcc is gone in newer Xcodes, but present in older Xcodes. Can you just use an older one? That seems safest. Otherwise, try this I guess <http://clang-omp.github.com/>
>>>>
>>>> Cheers,
>>>>
>>>> --
>>>> ____________________________________________________________
>>>> Sean McBride, B. Eng email@hidden
>>>> Rogue Research www.rogue-research.com
>>>> Mac Software Developer Montréal, Québec, Canada
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Xcode-users mailing list (email@hidden)
>>>> Help/Unsubscribe/Update your Subscription:
>>>>
>>>> This email sent to email@hidden
>>>
>>>
>>> --
>>> Rick
>>>
>>>
>>>
>>> _______________________________________________
>>> Do not post admin requests to the list. They will be ignored.
>>> Xcode-users mailing list (email@hidden)
>>> Help/Unsubscribe/Update your Subscription:
>>>
>>> This email sent to email@hidden
>
>
> --
> Rick
>
>
>
> _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> Xcode-users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden