public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/40624]  New: gcc -v does not give useful --prefix on w32
@ 2009-07-02 18:08 lennart dot borgman at gmail dot com
  2009-07-02 18:16 ` [Bug c/40624] " lennart dot borgman at gmail dot com
                   ` (6 more replies)
  0 siblings, 7 replies; 8+ messages in thread
From: lennart dot borgman at gmail dot com @ 2009-07-02 18:08 UTC (permalink / raw)
  To: gcc-bugs

This is for gcc on w32 (windows). I have downloaded the MinGW installer and
installed gcc from that.

When doing

  gcc -v

the resulting prefix for me is
On w32 this should include the drive letter otherwise it is totally useless. So
it should be

  --prefix=c:/mingw

I also wonder if this is the way to get the include libraries path or if there
is a better way. Is another way to get it planned?

The background to this bug report can be found here:

  http://lists.gnu.org/archive/html/emacs-devel/2009-07/msg00033.html


-- 
           Summary: gcc -v does not give useful --prefix on w32
           Product: gcc
           Version: 3.4.5
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: lennart dot borgman at gmail dot com


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


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

* [Bug c/40624] gcc -v does not give useful --prefix on w32
  2009-07-02 18:08 [Bug c/40624] New: gcc -v does not give useful --prefix on w32 lennart dot borgman at gmail dot com
@ 2009-07-02 18:16 ` lennart dot borgman at gmail dot com
  2009-07-02 18:27 ` [Bug driver/40624] " pinskia at gcc dot gnu dot org
                   ` (5 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: lennart dot borgman at gmail dot com @ 2009-07-02 18:16 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from lennart dot borgman at gmail dot com  2009-07-02 18:16 -------
Hm, something went wrong when sending the bug report. It should have said

When doing

  gcc -v

the resulting prefix for me is

  --prefix=/mingw

On w32 ... (the rest is correct)


-- 

lennart dot borgman at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lennart dot borgman at gmail
                   |                            |dot com


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


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

* [Bug driver/40624] gcc -v does not give useful --prefix on w32
  2009-07-02 18:08 [Bug c/40624] New: gcc -v does not give useful --prefix on w32 lennart dot borgman at gmail dot com
  2009-07-02 18:16 ` [Bug c/40624] " lennart dot borgman at gmail dot com
@ 2009-07-02 18:27 ` pinskia at gcc dot gnu dot org
  2009-07-02 18:30 ` lennart dot borgman at gmail dot com
                   ` (4 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-07-02 18:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2009-07-02 18:27 -------
Since the output of gcc -v depends on how GCC was configured, this is not a bug
with GCC and really a bug with the way mingw's gcc was configured.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
          Component|c                           |driver
         Resolution|                            |INVALID


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


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

* [Bug driver/40624] gcc -v does not give useful --prefix on w32
  2009-07-02 18:08 [Bug c/40624] New: gcc -v does not give useful --prefix on w32 lennart dot borgman at gmail dot com
  2009-07-02 18:16 ` [Bug c/40624] " lennart dot borgman at gmail dot com
  2009-07-02 18:27 ` [Bug driver/40624] " pinskia at gcc dot gnu dot org
@ 2009-07-02 18:30 ` lennart dot borgman at gmail dot com
  2009-07-02 18:31 ` lennart dot borgman at gmail dot com
                   ` (3 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: lennart dot borgman at gmail dot com @ 2009-07-02 18:30 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from lennart dot borgman at gmail dot com  2009-07-02 18:29 -------
pinskia, please explain why you marked this bug as invalid!


-- 

lennart dot borgman at gmail dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|INVALID                     |


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


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

* [Bug driver/40624] gcc -v does not give useful --prefix on w32
  2009-07-02 18:08 [Bug c/40624] New: gcc -v does not give useful --prefix on w32 lennart dot borgman at gmail dot com
                   ` (2 preceding siblings ...)
  2009-07-02 18:30 ` lennart dot borgman at gmail dot com
@ 2009-07-02 18:31 ` lennart dot borgman at gmail dot com
  2009-07-02 18:32 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  6 siblings, 0 replies; 8+ messages in thread
From: lennart dot borgman at gmail dot com @ 2009-07-02 18:31 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from lennart dot borgman at gmail dot com  2009-07-02 18:31 -------
Ah, sorry, I did not see your comment. Could you advice how the MinGW team
should configure the compilation?


-- 


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


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

* [Bug driver/40624] gcc -v does not give useful --prefix on w32
  2009-07-02 18:08 [Bug c/40624] New: gcc -v does not give useful --prefix on w32 lennart dot borgman at gmail dot com
                   ` (3 preceding siblings ...)
  2009-07-02 18:31 ` lennart dot borgman at gmail dot com
@ 2009-07-02 18:32 ` pinskia at gcc dot gnu dot org
  2009-07-02 18:34 ` lennart dot borgman at gmail dot com
  2009-07-03  0:35 ` lennart dot borgman at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-07-02 18:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from pinskia at gcc dot gnu dot org  2009-07-02 18:32 -------
Because the FSF does not supply the binaries you are using so it is not a bug
with GCC rather than the way it was configured.  when configuring with
--prefix=/mingw, it have to mean C:/mingw.  Also GCC binaries are relocatable
so the whole idea of using it to figure out the include directory is wrong.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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


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

* [Bug driver/40624] gcc -v does not give useful --prefix on w32
  2009-07-02 18:08 [Bug c/40624] New: gcc -v does not give useful --prefix on w32 lennart dot borgman at gmail dot com
                   ` (4 preceding siblings ...)
  2009-07-02 18:32 ` pinskia at gcc dot gnu dot org
@ 2009-07-02 18:34 ` lennart dot borgman at gmail dot com
  2009-07-03  0:35 ` lennart dot borgman at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: lennart dot borgman at gmail dot com @ 2009-07-02 18:34 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from lennart dot borgman at gmail dot com  2009-07-02 18:34 -------
Thanks, I see. How can one then figure out the include path that a user has?


-- 


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


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

* [Bug driver/40624] gcc -v does not give useful --prefix on w32
  2009-07-02 18:08 [Bug c/40624] New: gcc -v does not give useful --prefix on w32 lennart dot borgman at gmail dot com
                   ` (5 preceding siblings ...)
  2009-07-02 18:34 ` lennart dot borgman at gmail dot com
@ 2009-07-03  0:35 ` lennart dot borgman at gmail dot com
  6 siblings, 0 replies; 8+ messages in thread
From: lennart dot borgman at gmail dot com @ 2009-07-03  0:35 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from lennart dot borgman at gmail dot com  2009-07-03 00:35 -------
I think I found an answer to my last question here:

  http://www.mingw.org/wiki/IncludePathHOWTO

Now I only need to understand how to parse that output...


-- 


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


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

end of thread, other threads:[~2009-07-03  0:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-02 18:08 [Bug c/40624] New: gcc -v does not give useful --prefix on w32 lennart dot borgman at gmail dot com
2009-07-02 18:16 ` [Bug c/40624] " lennart dot borgman at gmail dot com
2009-07-02 18:27 ` [Bug driver/40624] " pinskia at gcc dot gnu dot org
2009-07-02 18:30 ` lennart dot borgman at gmail dot com
2009-07-02 18:31 ` lennart dot borgman at gmail dot com
2009-07-02 18:32 ` pinskia at gcc dot gnu dot org
2009-07-02 18:34 ` lennart dot borgman at gmail dot com
2009-07-03  0:35 ` lennart dot borgman at gmail dot com

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