Re: not really a bug .. is there a way to set the host type in the Makefile.am ?

2019-02-18 Thread Niels Möller
Dennis Clarke  writes:

> On 2/18/19 10:31 PM, Vincent Lefevre wrote:
>> 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.

You'd first need to figure out how the gcc scripts set the gmp host
type. Is gmp's config.* involved in any way? If all else fails, you
could try hacking the configure script in the gmp tree, to hard code all
host-related variables and ignore whatever is passed in from outside.

Regards,
/Niels

-- 
Niels Möller. PGP-encrypted email is preferred. Keyid 368C6677.
Internet email is subject to wholesale government surveillance.
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: not really a bug .. is there a way to set the host type in the Makefile.am ?

2019-02-18 Thread Dennis Clarke
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.

Dennis
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: not really a bug .. is there a way to set the host type in the Makefile.am ?

2019-02-18 Thread Vincent Lefevre
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.

-- 
Vincent Lefèvre  - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs


Re: not really a bug .. is there a way to set the host type in the Makefile.am ?

2019-02-18 Thread Dennis Clarke
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.


-- 
Dennis Clarke
RISC-V/SPARC/PPC/ARM/CISC
UNIX and Linux spoken
GreyBeard and suspenders optional
___
gmp-bugs mailing list
gmp-bugs@gmplib.org
https://gmplib.org/mailman/listinfo/gmp-bugs