mingw headers are installed over cygwin headers.

Kazuhiro Fujieda fujieda@jaist.ac.jp
Mon Jan 10 04:46:00 GMT 2000


When I execute `make install' on the top build directory, mingw
headers are installed into the directory `i586-cygwin32/include'
in which newlib and cygwin headers have been installed.

I think mingw/Makefile.in should be modified as the following.

--- mingw/Makefile.in-	Fri Jan 07 15:47:51 2000
+++ mingw/Makefile.in	Mon Jan 10 21:43:30 2000
@@ -198,9 +198,9 @@
 		$(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \
 	done
 	for sub in . sys ; do \
-	$(mkinstalldirs) $(tooldir)/include/$$sub ; \
+	$(mkinstalldirs) $(tooldir)/include/mingw/$$sub ; \
 		for i in $(srcdir)/include/$$sub/*.h ; do \
-		  $(INSTALL_DATA) $$i $(tooldir)/include/$$sub/`basename $$i` ; \
+		  $(INSTALL_DATA) $$i $(tooldir)/include/mingw/$$sub/`basename $$i` ; \
 		done ; \
 	done
 	@$(MAKE) subdirs DO=$@ $(FLAGS_TO_PASS)

____
  | AIST      Kazuhiro Fujieda <fujieda@jaist.ac.jp>
  | HOKURIKU  School of Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology


More information about the Cygwin-developers mailing list