Yeouch, that is total craziness. But thanks very much for looking into it.

Bill.

2009/3/4 Jason Martin <jason.worth.mar...@gmail.com>:
>
> On Wed, Mar 4, 2009 at 7:19 AM, Jason Martin
> <jason.worth.mar...@gmail.com> wrote:
>> Well, the long answer seems to be: Apple doesn't support linking
>> against static versions of Apple supplied libraries.  In other words,
>> there is no static version of crt0.o
>>
>> I'm coming to this conclusion from reading through Apple responses to
>> users on the developer forums.  I haven't found it spelled out in any
>> Apple documentation, yet.
>>
>> You can still build static libraries under OS X, and an application
>> can link against them.  It's just that when an executable is built
>> (i.e. if it has a "main" function or links against system libraries)
>> then those libraries will be dynamically linked in.
>
> Sorry, that was unclear.  The application will dynamically link in the
> system libraries.
> - Show quoted text -
>> For MPIR, this should mean that we can build the libraries statically,
>> but all the test and tuning code will need to be built without the
>> "-static" flag.
>>
>> --jason
>>
>> Jason Worth Martin
>> Asst. Professor of Mathematics
>> http://www.math.jmu.edu/~martin
>>
>>
>>
>> On Tue, Mar 3, 2009 at 3:45 PM, Jason Martin
>> <jason.worth.mar...@gmail.com> wrote:
>>> Sorry, Bill.  I didn't read the subject line :-)
>>>
>>> The quick answer is: I don't seem to have static versions of the
>>> standard C libs on my machine.  I'll see if they're available from the
>>> Apple Developer website and install them.
>>>
>>> --jason
>>>
>>> On Tue, Mar 3, 2009 at 1:27 PM, Bill Hart <goodwillh...@googlemail.com> 
>>> wrote:
>>>>
>>>> If you mean did I build static binaries for mpir, then I think so. How
>>>> would I recognize such?
>>>>
>>>> I did also try ./configure --disable-shared, which should do that.
>>>>
>>>> Bill.
>>>>
>>>> 2009/3/3 Bill Hart <goodwillh...@googlemail.com>:
>>>>> I don't understand the question, but I am using -static. This is on 
>>>>> martinj.
>>>>>
>>>>> Bill.
>>>>>
>>>>> 2009/3/3 Jason Martin <jason.worth.mar...@gmail.com>:
>>>>>>
>>>>>> Are you building in shared (dynamically loadable) object mode or static?
>>>>>> - Show quoted text -
>>>>> - Show quoted text -
>>>>>>
>>>>>>
>>>>>> On Tue, Mar 3, 2009 at 12:49 PM, Bill Hart <goodwillh...@googlemail.com> 
>>>>>> wrote:
>>>>>>>
>>>>>>> When I try to link against mpir on OSX (leopard?? - how would I even
>>>>>>> find that out) it complains:
>>>>>>>
>>>>>>> ld: library not found for -lcrt0.o
>>>>>>> collect2: ld returned 1 exit status
>>>>>>>
>>>>>>> Does anyone know the cause and/or solution?
>>>>>>>
>>>>>>> Bill.
>>>>>>> >
>>>>>>>
>>>>>>
>>>>>> >>
>>>>>>
>>>>>
>>>>
>>>> >>>
>>>>
>>>
>>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mpir-devel" group.
To post to this group, send email to mpir-devel@googlegroups.com
To unsubscribe from this group, send email to 
mpir-devel+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/mpir-devel?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to