GMP is now a required dependency for building GDB

Chris Johns chrisj at rtems.org
Wed Dec 2 20:31:44 UTC 2020


On 2/12/20 7:56 pm, Sebastian Huber wrote:
> Hello Chris,
> 
> On 19/11/2020 09:52, Sebastian Huber wrote:
>> On 19/11/2020 09:33, Sebastian Huber wrote:
>>
>>> On 17/11/2020 14:49, Joel Sherrill wrote:
>>>
>>>>
>>>>     The GMP library is not available by default on FreeBSD systems.
>>>>     For GCC
>>>>     we include a fixed version and build it together with GCC. What
>>>>     should
>>>>     be do for GDB?
>>>>
>>>>
>>>> I would lean to including the same version in GDB that we do in GCC.
>>>>
>>>> Is this like gcc in that if they find it in the source tree, they will use it?
>>>>
>>> Ok, I will try this approach.
>> This didn't work. I guess we need to to something similar to libexpat.
> what would be your approach to build the latest GDB on FreeBSD?

Yes the same as libexpat will work. Add to the bare/config/devel tree and then
added to the GDB list of packages.

Chris


More information about the devel mailing list