public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
* Dependencies: gmp, mpfr, mpc
@ 2021-06-25 17:25 German Salazar
  2021-06-26  2:08 ` Mike Frysinger
  0 siblings, 1 reply; 4+ messages in thread
From: German Salazar @ 2021-06-25 17:25 UTC (permalink / raw)
  To: binutils

Say, I just built gcc 10.3 and it came with instructions on how to download
and un-tar the above three dependencies within gcc own top directory; from
there, it uses them automatically without me having to install those
dependencies or specify options like "--with-gmp"

What about binutils?
Command
./configure --help
shows options "--with-gmp", " --with- mpfr", " --with-mpc"

Do I need to first install them somewhere? Permanently? Temporary?
Or
Can I just place them inside binutils source directory? Would the build
process use them from there?

What if I use the just built gcc (with gmp,mpfr,mpc) to build binutils?
Does it still need explicit access to those three dependencies?

Thanks,
Germán

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dependencies: gmp, mpfr, mpc
  2021-06-25 17:25 Dependencies: gmp, mpfr, mpc German Salazar
@ 2021-06-26  2:08 ` Mike Frysinger
  2021-06-28 20:13   ` Tom Tromey
  0 siblings, 1 reply; 4+ messages in thread
From: Mike Frysinger @ 2021-06-26  2:08 UTC (permalink / raw)
  To: German Salazar; +Cc: binutils

On 25 Jun 2021 13:25, German Salazar via Binutils wrote:
> Say, I just built gcc 10.3 and it came with instructions on how to download
> and un-tar the above three dependencies within gcc own top directory; from
> there, it uses them automatically without me having to install those
> dependencies or specify options like "--with-gmp"
> 
> What about binutils?
> Command
> ./configure --help
> shows options "--with-gmp", " --with- mpfr", " --with-mpc"
> 
> Do I need to first install them somewhere? Permanently? Temporary?
> Or
> Can I just place them inside binutils source directory? Would the build
> process use them from there?
> 
> What if I use the just built gcc (with gmp,mpfr,mpc) to build binutils?
> Does it still need explicit access to those three dependencies?

the top level configure script is shared between many projects which is why
you see these options.  however, binutils does not use gmp/mpfr/mpc.  so if
you want to build binutils, ignore those flags.

gdb requires mpfr, but that's it.
-mike

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dependencies: gmp, mpfr, mpc
  2021-06-26  2:08 ` Mike Frysinger
@ 2021-06-28 20:13   ` Tom Tromey
  2021-06-28 21:09     ` Joel Brobecker
  0 siblings, 1 reply; 4+ messages in thread
From: Tom Tromey @ 2021-06-28 20:13 UTC (permalink / raw)
  To: German Salazar; +Cc: binutils

>>>>> "Mike" == Mike Frysinger via Binutils <binutils@sourceware.org> writes:

>> What if I use the just built gcc (with gmp,mpfr,mpc) to build binutils?
>> Does it still need explicit access to those three dependencies?

Mike> the top level configure script is shared between many projects which is why
Mike> you see these options.  however, binutils does not use gmp/mpfr/mpc.  so if
Mike> you want to build binutils, ignore those flags.

Mike> gdb requires mpfr, but that's it.

gdb started using gmp a while ago as well.

Tom

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: Dependencies: gmp, mpfr, mpc
  2021-06-28 20:13   ` Tom Tromey
@ 2021-06-28 21:09     ` Joel Brobecker
  0 siblings, 0 replies; 4+ messages in thread
From: Joel Brobecker @ 2021-06-28 21:09 UTC (permalink / raw)
  To: Tom Tromey; +Cc: German Salazar, binutils, Joel Brobecker

> Mike> gdb requires mpfr, but that's it.
> 
> gdb started using gmp a while ago as well.

Now that I think of it, I think mpfr is actually optional
(while gmp is mandatory).

-- 
Joel

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-06-28 21:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-25 17:25 Dependencies: gmp, mpfr, mpc German Salazar
2021-06-26  2:08 ` Mike Frysinger
2021-06-28 20:13   ` Tom Tromey
2021-06-28 21:09     ` Joel Brobecker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).