public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/40447]  New: Add a switch to configure to allow *source* directory of mprt and gmp to be specified.
@ 2009-06-15 14:03 david dot kirkby at onetel dot net
  2009-06-15 14:59 ` [Bug bootstrap/40447] " pinskia at gcc dot gnu dot org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: david dot kirkby at onetel dot net @ 2009-06-15 14:03 UTC (permalink / raw)
  To: gcc-bugs

It's currently possible to build gcc in two ways. 
1) Compiler and install mpfr and use switches to indicate the location of their
instalation

--with-mpfr=/somedirector --

2) Put directories mpfr and gmp under the source of gcc. 

What I propose is to allow a couple of extra switches

--mpfr-source-dir= & --gmp-source-dir=

Apart from making installation easier, it would mean anyone doing a 'gcc -v'
would know what versions of the mpfr and gmp were used. 

Dave


-- 
           Summary: Add a switch to configure to allow *source* directory of
                    mprt and gmp to be specified.
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: enhancement
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: david dot kirkby at onetel dot net
 GCC build triplet: N/A
  GCC host triplet: N/A
GCC target triplet: N/A


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40447


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

* [Bug bootstrap/40447] Add a switch to configure to allow *source* directory of mprt and gmp to be specified.
  2009-06-15 14:03 [Bug bootstrap/40447] New: Add a switch to configure to allow *source* directory of mprt and gmp to be specified david dot kirkby at onetel dot net
@ 2009-06-15 14:59 ` pinskia at gcc dot gnu dot org
  2009-06-15 16:52 ` david dot kirkby at onetel dot net
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-06-15 14:59 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2009-06-15 14:59 -------
You can use soft links inside the source directory to say where the source
directories are located.  Is that good enough?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Add a switch to configure to|Add a switch to configure to
                   |allow *source* directory of |allow *source* directory of
                   |mprt and gmp to be          |mprt and gmp to be
                   |specified.                  |specified.


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40447


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

* [Bug bootstrap/40447] Add a switch to configure to allow *source* directory of mprt and gmp to be specified.
  2009-06-15 14:03 [Bug bootstrap/40447] New: Add a switch to configure to allow *source* directory of mprt and gmp to be specified david dot kirkby at onetel dot net
  2009-06-15 14:59 ` [Bug bootstrap/40447] " pinskia at gcc dot gnu dot org
@ 2009-06-15 16:52 ` david dot kirkby at onetel dot net
  2009-06-15 16:54 ` pinskia at gcc dot gnu dot org
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: david dot kirkby at onetel dot net @ 2009-06-15 16:52 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from david dot kirkby at onetel dot net  2009-06-15 16:52 -------
That's what I did. 

The real benefit I see is that someone could see what versions of the gmp and
mpfr were used to configure gcc. So if they wanted to build it the same, they
would have a much better chance. It would also be quicker to do. 

I guess it depends on the amount of worked needed to the configure.ac to
determine if this is sensible or not. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40447


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

* [Bug bootstrap/40447] Add a switch to configure to allow *source* directory of mprt and gmp to be specified.
  2009-06-15 14:03 [Bug bootstrap/40447] New: Add a switch to configure to allow *source* directory of mprt and gmp to be specified david dot kirkby at onetel dot net
  2009-06-15 14:59 ` [Bug bootstrap/40447] " pinskia at gcc dot gnu dot org
  2009-06-15 16:52 ` david dot kirkby at onetel dot net
@ 2009-06-15 16:54 ` pinskia at gcc dot gnu dot org
  2009-06-15 16:57 ` david dot kirkby at onetel dot net
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-06-15 16:54 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2009-06-15 16:53 -------
GCC already outputs the version of GMP/MPFR:
GNU C (GCC) version 4.5.0 20090519 (experimental) [trunk revision 147718]
(i386-apple-darwin8.11.1)
        compiled by GNU C version 4.5.0 20090519 (experimental) [trunk revision
147718], GMP version 4.2.2, MPFR version 2.4.1


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40447


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

* [Bug bootstrap/40447] Add a switch to configure to allow *source* directory of mprt and gmp to be specified.
  2009-06-15 14:03 [Bug bootstrap/40447] New: Add a switch to configure to allow *source* directory of mprt and gmp to be specified david dot kirkby at onetel dot net
                   ` (2 preceding siblings ...)
  2009-06-15 16:54 ` pinskia at gcc dot gnu dot org
@ 2009-06-15 16:57 ` david dot kirkby at onetel dot net
  2009-06-15 17:19 ` jwakely dot gcc at gmail dot com
  2009-06-15 17:20 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: david dot kirkby at onetel dot net @ 2009-06-15 16:57 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from david dot kirkby at onetel dot net  2009-06-15 16:56 -------
I assume this is only in your experimental version. I can see that is an
improvement. I still think the switch would be useful, but it does reduce the
need for it somewhat. 


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40447


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

* [Bug bootstrap/40447] Add a switch to configure to allow *source* directory of mprt and gmp to be specified.
  2009-06-15 14:03 [Bug bootstrap/40447] New: Add a switch to configure to allow *source* directory of mprt and gmp to be specified david dot kirkby at onetel dot net
                   ` (3 preceding siblings ...)
  2009-06-15 16:57 ` david dot kirkby at onetel dot net
@ 2009-06-15 17:19 ` jwakely dot gcc at gmail dot com
  2009-06-15 17:20 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: jwakely dot gcc at gmail dot com @ 2009-06-15 17:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from jwakely dot gcc at gmail dot com  2009-06-15 17:19 -------
Older versions show the information too:

$ echo | gcc -v -x c -c - 2>&1 | fgrep -B1 GMP
GNU C (GCC) version 4.3.2 (i686-pc-linux-gnu)
        compiled by GNU C version 4.3.2, GMP version 4.2.3, MPFR version 2.3.1.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40447


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

* [Bug bootstrap/40447] Add a switch to configure to allow *source* directory of mprt and gmp to be specified.
  2009-06-15 14:03 [Bug bootstrap/40447] New: Add a switch to configure to allow *source* directory of mprt and gmp to be specified david dot kirkby at onetel dot net
                   ` (4 preceding siblings ...)
  2009-06-15 17:19 ` jwakely dot gcc at gmail dot com
@ 2009-06-15 17:20 ` pinskia at gcc dot gnu dot org
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-06-15 17:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pinskia at gcc dot gnu dot org  2009-06-15 17:20 -------
Has been true since:
r124822 | ghazi | 2007-05-17 19:04:02 -0700 (Thu, 17 May 2007) | 3 lines

        * toplev.c (print_version): Output GMP/MPFR version info.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=40447


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

end of thread, other threads:[~2009-06-15 17:20 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-06-15 14:03 [Bug bootstrap/40447] New: Add a switch to configure to allow *source* directory of mprt and gmp to be specified david dot kirkby at onetel dot net
2009-06-15 14:59 ` [Bug bootstrap/40447] " pinskia at gcc dot gnu dot org
2009-06-15 16:52 ` david dot kirkby at onetel dot net
2009-06-15 16:54 ` pinskia at gcc dot gnu dot org
2009-06-15 16:57 ` david dot kirkby at onetel dot net
2009-06-15 17:19 ` jwakely dot gcc at gmail dot com
2009-06-15 17:20 ` pinskia at gcc dot gnu dot org

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).