Regarding 1, this is merely because of the way that mpir and yasm (the
assembler used in mpir - which is distributed with it) are chained
together on x86. The mpir make triggers the yasm configure and make.
This was a hack and no one seems to know how to chain two packages
together so that something doesn't break. Autotools does not appear to
offer such an option.

Michael suggested writing an m4 macro to trigger the yasm part of the
build. I have no knowledge of m4 at all, so I will leave this to
someone else to fix.

Bill.

2009/2/4 Bill Hart <goodwillh...@googlemail.com>:
> Hi Mariah,
>
> 2009/2/4 Mariah <mariah.le...@gmail.com>:
>>
>> Bill,
>>
>> On Feb 4, 12:25 am, Bill Hart <goodwillh...@googlemail.com> wrote:
>>> I have placed a tarball here:
>>>
>>> http://sage.math.washington.edu/home/wbhart/mpir-0.9.0.tar.gz
>>>
>>
>> Some quick observations -
>>
>> 1. It looks like you have to build in the source tree.  Many software
>> packages let you have an object directory separate from the source
>> directory.  This is useful for networks with lots of different
>> architectures hanging on them.  You only need one copy of the source
>> file.
>
> Autotools is supposed to let you do that as standard. We may have
> broken something which allows that, or perhaps it was never possible
> with GMP. I don't know. I'll add a trac ticket and we can look at
> this.
>
>>
>> 2. The built include and library files are gmp.h, libgmp.a, etc.
>> Shouldn't they be mpir.h, libmpir.a?  Leaving the names as gmp.h,
>> libgmp.a may discourage system dministrators from overwriting the
>> system gmp.h, libgmp.a from GNU gmp. I can see that you may need an
>> option for symbolic links (gmp.h -> mpir.h, etc) for legacy software
>> that expects (gmp.h, libgmp.a).  But surely you want to encourage
>> projects to transition to MPIR (and not remain with GMP).
>
> We have decided not to do this for MPIR-0.9.0.
>
> Actually, none of us know how to do it aanyway! Perhaps either you or
> Michael can help with this. I looked into it and didn't even know
> where to start. We do have a trac ticket for it.
>
> 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