[flac-dev] Shared library won't build when cross-compiling.

Nathan Osman nathan.osman at gmail.com
Wed Aug 22 01:04:16 PDT 2012


I'm having trouble cross-compiling FLAC for Windows from Linux.

I am using the following commands:

./configure --host=i686-w64-mingw32 --prefix=/usr/i686-w64-mingw32
--enable-shared
make

The process completes successfully but I only end up with the static
library. The following files are copied to the $(PREFIX)/lib directory when
I run 'make install':

- libFLAC.a
- libFLAC++.a
- libFLAC.la
- libFLAC++.la

...and there aren't any DLLs in the $(PREFIX)/bin directory.

Am I doing something wrong?

- Nathan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.xiph.org/pipermail/flac-dev/attachments/20120822/07f95535/attachment-0001.htm 


More information about the flac-dev mailing list