[Ffmpeg-devel] [PATCH] Cygwin vhook, always static avformat

Víctor Paesa wzrlpy
Wed May 3 18:18:26 CEST 2006


Hi,

> > (The import libraries and static libraries should be into $(libdir) in
> > Cygwin)
>
>Could you point me at a relevant section of the Cygwin documentation or
>explain again what goes where on Cygwin?

There is a guide at http://cygwin.com/cygwin-ug-net/, but I found no 
reference on this subject.

So I will use the official package libxml2 as a example:

The DLL import libraries (/usr/lib/libxml2.dll.a) and the static libraries 
(/usr/lib/libxml2.a) are under $(lib):

$ cygcheck -l libxml2-devel |fgrep .a
/usr/lib/libxml2.a
/usr/lib/libxml2.dll.a

The DLL itself is installed under $(bin)

$ cygcheck -l libxml2 |fgrep dll
/usr/bin/cygxml2-2.dll

The cygcheck utility is explained in the guide, it shows the location of 
package elements.

The content of many Cygwin packages may be seen at 
http://cygwin.com/packages/, they follow that same rule.

(Sorry to give you examples instead of an authoritative source, but I was 
not able to find any).


The guide also shows here http://cygwin.com/cygwin-ug-net/dll.html which 
CFLAGS should had used, hence please give me some time, and I will submit a 
new version.

Regards,
V?ctor






More information about the ffmpeg-devel mailing list