bartnovsky
25th August 2009, 14:45
I want to build x264 binary for win32 under cygwin. The only problem so far is that i can't achieve having multithread support: when i simply pass './configure --enable-pthread' to bash i get nothing:
Platform: X86
System: MINGW
asm: yes
avis input: yes
mp4 output: no
pthread: no
debug: no
gprof: no
PIC: no
shared: no
visualize: no
You can run 'make' or 'make fprofiled' now.
I took pthreads-win32 from ftp://sources.redhat.com/pub/pthreads-win32/pthreads-w32-2-8-0-release.tar.gz and compiled it using 'make clean GC' and put obtained .dll into /cygwin/bin and /cygwin/lib (by the way on http://ffmpeg.arrozcru.org/wiki/index.php?title=Pthreads it is adviced before compilation to apply a patch (http://ffmpeg.arrozcru.org/wiki/images/1/12/Pthreads-w32-2-8-0.diff) "regarding POSIX compatibility" - having applied the patch i couldn't compile it...). And no matter if i put this .dll or not - the result is still pthread: no.
Could anyone say what is the problem and how to compile x264 with pthread support under cygwin?
Platform: X86
System: MINGW
asm: yes
avis input: yes
mp4 output: no
pthread: no
debug: no
gprof: no
PIC: no
shared: no
visualize: no
You can run 'make' or 'make fprofiled' now.
I took pthreads-win32 from ftp://sources.redhat.com/pub/pthreads-win32/pthreads-w32-2-8-0-release.tar.gz and compiled it using 'make clean GC' and put obtained .dll into /cygwin/bin and /cygwin/lib (by the way on http://ffmpeg.arrozcru.org/wiki/index.php?title=Pthreads it is adviced before compilation to apply a patch (http://ffmpeg.arrozcru.org/wiki/images/1/12/Pthreads-w32-2-8-0.diff) "regarding POSIX compatibility" - having applied the patch i couldn't compile it...). And no matter if i put this .dll or not - the result is still pthread: no.
Could anyone say what is the problem and how to compile x264 with pthread support under cygwin?