not really a bug .. is there a way to set the host type in the ?

Dennis Clarke dclarke at
Tue Feb 19 05:43:26 UTC 2019

On 2/18/19 10:31 PM, Vincent Lefevre wrote:
> On 2019-02-18 22:24:35 -0500, Dennis Clarke wrote:
>> On 2/18/19 8:25 PM, Vincent Lefevre wrote:
>>> On 2019-02-18 16:44:48 -0500, Dennis Clarke wrote:
>>>> This may seem like a strange question but I am running into many
>>>> problems while trying to build gcc 8.2.0 for a RISC-V target. With
>>>> a cross compiler toolset I am easily able to create output ELF files
>>>> for the rv64gc architecture and so that is not a problem. However that
>>>> is only possible ( thus far ) when building gmp separately. The gcc code
>>>> requires that I extract the gmp/mpfr/mpc sources inside the gcc sources
>>>> tree and then build/bootstrap gcc which in turns rebuilds gmp all over
>>>> again.  Regardless if it is pre-installed elsewhere or not.
>>> [...]
>>> Isn't this a question for the gcc-help mailing-list?
>> Well yes, it is. However given that the problem occurs within the gmp
>> and mpfr source builds I felt it can not hurt to ask here.  Given that
>> no one seems to know what to do really.
> It seems more likely to be an issue with the gcc build scripts.
> I don't think that GMP and MPFR can or should do anything.

Well said.  I just hope I can figure this out.


More information about the gmp-bugs mailing list