delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/08/31/07:00:43

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <41345A2D.5080808@x-ray.at>
Date: Tue, 31 Aug 2004 12:59:57 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; de-AT; rv:1.8a2) Gecko/20040714
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: BUG gcc-mingw 20040810-1 library search path
References: <14810259248 DOT 20040829195031 AT familiehaase DOT de> <20040829212630 DOT 32357 DOT qmail AT web40414 DOT mail DOT yahoo DOT com> <1008963871 DOT 20040830011922 AT familiehaase DOT de> <Pine DOT GSO DOT 4 DOT 61 DOT 0408292220310 DOT 29060 AT slinky DOT cs DOT nyu DOT edu> <1524918411 DOT 20040830073143 AT familiehaase DOT de> <Pine DOT GSO DOT 4 DOT 61 DOT 0408301011440 DOT 24572 AT slinky DOT cs DOT nyu DOT edu>
In-Reply-To: <Pine.GSO.4.61.0408301011440.24572@slinky.cs.nyu.edu>
X-IsSubscribed: yes

Igor Pechtchanski schrieb:
> FWIW, I don't know what (if anything) has changed...  I've used "gcc
> -mno-cygwin" recently with no problems.  What exactly needs to be done to
> reproduce the problem?
> 	Igor

for me this fails:
install efsprogs and compile a mingw project which uses -luuid

this installs /usr/lib/libuuid.a, which has nothing to do with 
/usr/lib/w32api/libuuid.a and the library search path favours the 
efsprogs lib of course. no mount problem.
after deinstalling efsprogs or just moving away the lib it works fine of 
course.

Example: xvid cvs snapshots for the dshow build in my nightly builds
   http://xarch.tu-graz.ac.at/home/rurban/software/xvid/

dshow-make.patch shows the linker line for a typical mingw target
(here with direct show also):
$(CC) $(LDFLAGS) -mno-cygwin -shared \
 
-Wl,-dll,--out-implib,$@.a,--enable-stdcall-fixup,--allow-multiple-definition 
\
		-o $@ \
		$(OBJECTS) xvid.ax.def \
		-L$(DXTREE)/Lib -lstrmiids \
		$(DXBASECLASSES)/strmbase.lib \
		-luuid -lwinmm -lole32 -loleaut32 -lcomctl32 -lstdc++

-- 
Everyone ought to worship God according to his own inclinations, and not 
to be constrained by force. (Flavius Josephus, Life)

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019