public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
@ 2005-01-24 17:30 guardia at sympatico dot ca
  2005-01-24 17:31 ` [Bug bootstrap/19607] " guardia at sympatico dot ca
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: guardia at sympatico dot ca @ 2005-01-24 17:30 UTC (permalink / raw)
  To: gcc-bugs

On MSYS, the system headers are found in /mingw/include ... I made a modified
gcc/config/i386/t-mingw32 adding:

NATIVE_SYSTEM_HEADER_DIR = /mingw/include

And it works here.

Also, the configure script needs to be started with a relative path or the
"srcdir" anyway needs to be relative or gengtype will fail. This problem is
documented in bug #16024 (gengtype doesn't crash here, but it still fails not
finding a path)

-- 
           Summary: Build fails on MSYS/MingGW because of incorrect
                    SYSTEM_HEADER_DIR
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: guardia at sympatico dot ca
                CC: gcc-bugs at gcc dot gnu dot org
 GCC build triplet: i686-pc-mingw32
  GCC host triplet: i686-pc-mingw32
GCC target triplet: i686-pc-mingw32


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


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

* [Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
  2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
@ 2005-01-24 17:31 ` guardia at sympatico dot ca
  2005-06-09 18:13 ` fxcoudert at gcc dot gnu dot org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: guardia at sympatico dot ca @ 2005-01-24 17:31 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From guardia at sympatico dot ca  2005-01-24 17:31 -------
Created an attachment (id=8054)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8054&action=view)
new t-mingw32


-- 


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


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

* [Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
  2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
  2005-01-24 17:31 ` [Bug bootstrap/19607] " guardia at sympatico dot ca
@ 2005-06-09 18:13 ` fxcoudert at gcc dot gnu dot org
  2005-06-09 20:41 ` dannysmith at users dot sourceforge dot net
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-09 18:13 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-09 18:13 -------
Bug confirmed and patch confirmed (I used to hack the generated Makefiles with
sed, but this is much cleaner).

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |fxcoudert at gcc dot gnu dot
                   |                            |org
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
           Keywords|                            |patch
           Priority|P3                          |P2
   Last reconfirmed|0000-00-00 00:00:00         |2005-06-09 18:13:35
               date|                            |


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


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

* [Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
  2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
  2005-01-24 17:31 ` [Bug bootstrap/19607] " guardia at sympatico dot ca
  2005-06-09 18:13 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-09 20:41 ` dannysmith at users dot sourceforge dot net
  2005-06-09 20:44 ` guardia at sympatico dot ca
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2005-06-09 20:41 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dannysmith at users dot sourceforge dot net  2005-06-09 20:41 -------
The patch is not right.
mingw doesn't have a NATIVE_SYSTEM_HEADER_DIR.

Header dirs are found relative to the path to the gcc.exe bin directory, so 
specifying /mingw/include as the NATIVE_SYSTEM_HEADER_DIR is just as wrong as 
specifying /usr/include. 

Please don't assume that everyone who develops on mingw uses the MSYS build 
environment.  

Danny

-- 


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


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

* [Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
  2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
                   ` (2 preceding siblings ...)
  2005-06-09 20:41 ` dannysmith at users dot sourceforge dot net
@ 2005-06-09 20:44 ` guardia at sympatico dot ca
  2005-06-09 21:47 ` fxcoudert at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: guardia at sympatico dot ca @ 2005-06-09 20:44 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From guardia at sympatico dot ca  2005-06-09 20:44 -------
So where exactly should we specify such a directory? I was not able to find any
other configuration variables that we can change and that would do the job...

-- 


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


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

* [Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
  2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
                   ` (3 preceding siblings ...)
  2005-06-09 20:44 ` guardia at sympatico dot ca
@ 2005-06-09 21:47 ` fxcoudert at gcc dot gnu dot org
  2005-06-10  3:03 ` dannysmith at users dot sourceforge dot net
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-06-09 21:47 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-06-09 21:47 -------
(In reply to comment #3)
> Please don't assume that everyone who develops on mingw uses the MSYS build 
> environment.  

Fine for me. patch keyword removed accordingly.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|patch                       |


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


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

* [Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
  2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
                   ` (4 preceding siblings ...)
  2005-06-09 21:47 ` fxcoudert at gcc dot gnu dot org
@ 2005-06-10  3:03 ` dannysmith at users dot sourceforge dot net
  2005-06-10  3:15 ` guardia at sympatico dot ca
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dannysmith at users dot sourceforge dot net @ 2005-06-10  3:03 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From dannysmith at users dot sourceforge dot net  2005-06-10 03:03 -------
Re:Comment #4 

Does mount <win32_path_to mingw_include_dir> /usr/include work with MSYS?
Or just create an empty /usr/include

Danny

-- 


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


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

* [Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
  2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
                   ` (5 preceding siblings ...)
  2005-06-10  3:03 ` dannysmith at users dot sourceforge dot net
@ 2005-06-10  3:15 ` guardia at sympatico dot ca
  2005-08-06 11:19 ` fxcoudert at gcc dot gnu dot org
  2005-08-23  1:53 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: guardia at sympatico dot ca @ 2005-06-10  3:15 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From guardia at sympatico dot ca  2005-06-10 03:15 -------
Through fstab, yes, but the problem is it only works with specially compiled
binaries. Right off the tar ball, gcc compiles to a native win32 program and
does not honor MSYS's fstab... so no, for a Win32 program, there is no way to
mount stuff in a Unixy manner... 

-- 


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


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

* [Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
  2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
                   ` (6 preceding siblings ...)
  2005-06-10  3:15 ` guardia at sympatico dot ca
@ 2005-08-06 11:19 ` fxcoudert at gcc dot gnu dot org
  2005-08-23  1:53 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: fxcoudert at gcc dot gnu dot org @ 2005-08-06 11:19 UTC (permalink / raw)
  To: gcc-bugs


------- Additional Comments From fxcoudert at gcc dot gnu dot org  2005-08-06 11:19 -------
Well, apparently the patch was right after all. Fixed by
http://gcc.gnu.org/ml/gcc-cvs/2005-08/msg00057.html

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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


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

* [Bug bootstrap/19607] Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR
  2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
                   ` (7 preceding siblings ...)
  2005-08-06 11:19 ` fxcoudert at gcc dot gnu dot org
@ 2005-08-23  1:53 ` pinskia at gcc dot gnu dot org
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-08-23  1:53 UTC (permalink / raw)
  To: gcc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.1.0


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


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

end of thread, other threads:[~2005-08-23  1:53 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-01-24 17:30 [Bug bootstrap/19607] New: Build fails on MSYS/MingGW because of incorrect SYSTEM_HEADER_DIR guardia at sympatico dot ca
2005-01-24 17:31 ` [Bug bootstrap/19607] " guardia at sympatico dot ca
2005-06-09 18:13 ` fxcoudert at gcc dot gnu dot org
2005-06-09 20:41 ` dannysmith at users dot sourceforge dot net
2005-06-09 20:44 ` guardia at sympatico dot ca
2005-06-09 21:47 ` fxcoudert at gcc dot gnu dot org
2005-06-10  3:03 ` dannysmith at users dot sourceforge dot net
2005-06-10  3:15 ` guardia at sympatico dot ca
2005-08-06 11:19 ` fxcoudert at gcc dot gnu dot org
2005-08-23  1:53 ` 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).