I have build libx264-125.dll by MinGW and Msys. However, libx254-125.dll need call cygwin1.dll and cyggcc_s-1.dll for run. Could anyone tell me how to build static libx264-125.dll Thanks for your help!
Asked
Active
Viewed 566 times
1 Answers
1
If you built x264 using MSYS and MinGW GCC, it does not depend on the Cygwin dll. Make sure the "gcc" used in the build process is the MinGW one, not the Cygwin executable.

rubenvb
- 74,642
- 33
- 187
- 332
-
How can I check gcc is the MinGw one or Cygwin one. Tks you. :D – Phien Jun 14 '12 at 02:21
-
`gcc -v`, or from within a cygwin shell where it'll be something like `i686-w64-mingw3-gcc` or `i686-pc-mingw32-gcc`. The `Target` should end in `mingw32`. – rubenvb Jun 14 '12 at 08:38
-
I got : Target: i686-pc-cygwin But how to change that ? – Maypeur Oct 10 '14 at 09:59
-
You install `mingw-w64-gcc` package (or whatever it's called) and call `i686-w64-mingw32-gcc` or `x86_64-w64-mingw32-gcc`. – rubenvb Oct 10 '14 at 12:08