From: "Henrik Stokseth" <hstokset at tiscali dot no>
> as a quick solution i have copied the file libgmon.a from the lib/ directory > in the official mingw32 distribution and pasted it into /lib/mingw/ in my > cygwin installation and it seemed to work. i'm not sure if the problem is > the /lib/libgmon.a is dependant on parts of the cygwin runtime, but if > that's the case whoever is the maintainer (christopher faylor i guess?) of > the mingw-runtime package should include the mingw gmon library here. This patch should fix. Can anyone see any problems with this? It also puts gcrt1.o and gcrt2.o in the mingw/lib. With current cygwin specs, they are not used. (gcrt1.o and gcrt2.o are actually identical, and probably also interchangeable with cygwins gcrt0.o) winsup/mingw/ChangeLog 2002-04-02 Danny Smith <[EMAIL PROTECTED]> * profile/makefile.in (install): Install to inst_libdir and inst_includedir, not tooldir. --- mingw/profile/makefile.in.ori Tue Jun 12 06:57:39 2001 +++ mingw/profile/makefile.in Tue Apr 2 13:35:52 2002 @@ -95,17 +95,17 @@ info-html: install-info: info install: all - $(mkinstalldirs) $(tooldir)/lib + $(mkinstalldirs) $(inst_libdir) for i in $(LIBS); do \ - $(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \ + $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \ done for i in $(CRT0S); do \ - $(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \ + $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \ done for sub in . ; do \ - $(mkinstalldirs) $(tooldir)/include/$$sub ; \ + $(mkinstalldirs) $(inst_includedir)/$$sub ; \ for i in $(srcdir)/$$sub/*.h ; do \ - $(INSTALL_DATA) $$i $(tooldir)/include/$$sub/`basename $$i` ; \ + $(INSTALL_DATA) $$i $(inst_includedir)/$$sub/`basename $$i` ; \ done ; \ done http://www.sold.com.au - SOLD.com.au Auctions - 1,000s of Bargains!