[PATCH v2] contrib: add download_prerequisites script from GCC

Jerry Zhang Jian jerry.zhangjian@sifive.com
Tue Jul 22 04:56:00 GMT 2025


GDB is not specifying the required version, so I simply follow GCC's version and it works fine on my end.

https://sourceware.org/gdb/current/onlinedocs/gdb.html/Requirements.html

Jerry

> On Jul 17, 2025, at 17:30, Jan Beulich <jbeulich@suse.com> wrote:
> 
> On 17.07.2025 10:40, Jerry Zhang Jian wrote:
>> It is required to specify the gmp and mpfr path without the patch
> 
> And gcc's and gdb's required / desired versions match (and will always do so)?
> 
> Also please don't send private replies for on-list discussions, and please
> don't top-post.
> 
> Jan
> 
>> Configure error:
>> Try the --with-gmp and/or --with-mpfr options to specify
>> their locations.  If you obtained GMP and/or MPFR from a vendor
>> distribution package, make sure that you have installed both the libraries
>> and the header files.  They may be located in separate packages.
>> 
>>> On Jul 17, 2025, at 16:38, Jan Beulich <jbeulich@suse.com> wrote:
>>> 
>>> On 17.07.2025 10:32, Jerry Zhang Jian via Binutils wrote:
>>>> Add new download_prerequisites from GCC source tree to simplify the
>>>> build dependencies setup for building GDB.
>>> 
>>> Oh, gdb. Cc-ing their patches mailing list. But then I'm still unclear
>>> how much of an overlap there is between gdb's and gcc's prereqs.
>>> 
>>> Jan
>> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://sourceware.org/pipermail/binutils/attachments/20250722/df4edfe2/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: favicon.ico
Type: image/vnd.microsoft.icon
Size: 10462 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/binutils/attachments/20250722/df4edfe2/attachment.ico>


More information about the Binutils mailing list