Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com From: Chris Faylor Date: Fri, 16 Jun 2000 15:12:31 -0400 To: cygwin AT sourceware DOT cygnus DOT com Cc: cet AT carlthompson DOT net Subject: New GCC available for testing (TRY 4) -- fixes include path problem Message-ID: <20000616151231.A8096@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: cygwin AT sourceware DOT cygnus DOT com, cet AT carlthompson DOT net References: <20000615014501 DOT A14168 AT cygnus DOT com> <20000615235922 DOT A22415 AT cygnus DOT com> <20000616131828 DOT A17545 AT cygnus DOT com> <394A69F7 DOT AD03B52A AT carlthompson DOT net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="J2SCkAp4GZ/dPZZf" Content-Disposition: inline User-Agent: Mutt/1.2i In-Reply-To: <394A69F7.AD03B52A@carlthompson.net>; from cet@carlthompson.net on Fri, Jun 16, 2000 at 10:55:03AM -0700 --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Fri, Jun 16, 2000 at 10:55:03AM -0700, Carl Thompson wrote: >OK, I just tested this latest version and there is still a problem with >includes. The MinGW include paths are appended to the search list, but the >POSIX include paths are not removed. In cases where there is a Windows >specific funtion with the same name as a different POSIX function, the wrong >one is used. The output of "gcc -v" I have attached demonstrates this as >the compiler complains about mkdir(const char*, int) vs mkdir(const char*). Thanks for trying this again. I've changed the "idirafter"'s in the specs file to "isystem"'s and it now finds the stuff in the mingw directory first when -mno-cygwin is specified. As I mentioned in another thread, this does not eliminate the searching of the /usr/include directory because you need that to grab the windows-specific headers that live there. The current cygwin layout mixes windows and "POSIX" header files in the same directory. This means that if a -mno-cygwin program says '#include ' it will find the cygwin version of termios.h. This is as it has always been, AFAIK, and I'm not going to try to redesign things to correct this now. If anyone wants strict separation, I suggest installing the mingw version of gcc in a separate directory. Anyway, I've uploaded a new tar ball with the above changes. I've also included the specs file that it uses in this message. It should be the only change to this distribution, if you want to try it. cgf --J2SCkAp4GZ/dPZZf Content-Type: application/x-gunzip Content-Disposition: attachment; filename="specs.gz" Content-Transfer-Encoding: base64 H4sICDd5SjkAA3NwZWNzAJVWX0/jOBB/pp/CfYjUdpVC223F5YR0HCAWaSkrymq5e7GC47ZR HSeKk6U9Lt99Z8ZOGnpwe4eQMzP+zXj+eMYdhCYJOp3OAL58GetQESeyLOj4uUzCjHk94LjI yj7zXrLUxNvAv+Rf7hY3j3xx9/X+4qpiDLa6iU59sVs9xxoB/OKP628388mYc7ZniSl1vG3p gMJkjCoEh334zh8sYL/vGHcA8+SeY6GOWINkYS6ZTgsm0iQLi/hJyWpvrHGwPozztpe3N/Pr b8idnQzHjFm1Yp3LMDLo4i35xZgfm50pZMKOS5Mfx1qoMpLHSaxXz5PxzxBu/zku1lkul/H2 SS5TcHo4PG7+CdiorT588Cf/W41VWEoxCjpQQzHiJpOiz6wsU6WhUksdLWMliVax3gD4JYEU RekzROyb8snF4WQulSLVJgW1NsLJLMKsoQ4RlS1SCgtmJbZYIHq/TrUq2Caqqo34PqwOU4CK CPzfLYGQbiOLdjpMULi39rf1wpd1Ufd3gV8qdRvG+uL+YVGEeVFmv43GlcO1bzXnluBgiktd 5DsEVpS4J8xbtgp8tUpS/UZHKEv84ya275ei8gELITtmMnYaTUnUKorx5irIW6RWFuBDOWVO 4o3MtVREhtH3MLNgs5YKhNbXlRBU5nY//dwNOFmIgzZSSaoiSLZEf/ICywNHGEyjvVUH+X+l DRLQGXl3nnGV7+5vTbdWaGcR4CcEf22osUJGoAqrBkjlMdAzYi0N11JG0AahkPbym3ilQSLg VHR1WWor8UlCY+vT+T3/Ol/cXM+vgEVr0HwRtJ9GG/5lPDmd4eh4PJ2djWiGLB4uL2CAjLAs wJoiEqFSZ5yHRZHHT2UhOe/1mg3O+30HFZEUbwBJ3IIhi73c2/YPwVsLOrcd2YPk6KIPPIzv HnqKdBKKNXhveZwGeWoMxy6kip2A6LvMTZzqoDMe/jId4q1JSlXEdM2H7NcWD84sQ6BtPhup 3BZ5+FqUhFSDZtBISLlIlZKiGNsnh388nWEZuiGUAbIfA19RxEg1BOcOPj2ATwmUQWfGZVKx I1KY1ppT1CTSIdp0Y3PzlsnN7F+sbWbu09iYHfg1a/uV5WltbFYbmx26BqADtjEOlaxzTnPd ntff78KlfL/crOXWpMnupHZkQo7geM/KM8x1YE8Aqk8994bI+ejE01qMFt7Z2kcV7AM4VHpn d1Ofv7HCLkoHARLkG3ydgUHQ/HKpE9a34wDfQkpUo47WIfbAt4FTPpIwF+szmyUXud/kpdn+ 6LbrUP12DIfR+gcBkjc0X7l7sjm8hOuggzfCz4Sbb65hsEUTeD3J76XZ6SLc+qlWu4BGp8Dg b2mh9QqXBSTBNhuUXjHvEZDpAP06x4WeVkk8OTvHBd6oo6Mj7yVHhkZtgUtJsC0uf+HyZ0Wo 7jmeo1OYZjgeHO3mvwm8BeScgO51RtXPaOqSeam18FrZ1Qp40L5m3mfmXVf/7ayr+qyHAX47 rKK/TucH420t3OcKAAA= --J2SCkAp4GZ/dPZZf Content-Type: text/plain; charset=us-ascii -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com --J2SCkAp4GZ/dPZZf--