Nathan Osman
2012-Aug-22 08:04 UTC
[flac-dev] Shared library won't build when cross-compiling.
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
Erik de Castro Lopo
2012-Dec-13 00:17 UTC
[flac-dev] Shared library won't build when cross-compiling.
Nathan Osman wrote:> I'm having trouble cross-compiling FLAC for Windows from Linux.I don't think this is working at the moment. Its on my list of things to fix before the next release. Erik -- ---------------------------------------------------------------------- Erik de Castro Lopo http://www.mega-nerd.com/
Cristian RodrÃguez
2012-Dec-13 00:52 UTC
[flac-dev] Shared library won't build when cross-compiling.
El 22/08/12 04:03, Nathan Osman escribi?:> 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.Works for me... -=-=-=-=-=-=-=-=-=-= Configuration Complete =-=-=-=-=-=-=-=-=-=- Configuration summary : FLAC version : ........................ 1.2.1 Host CPU : ............................ x86_64 Host Vendor : ......................... w64 Host OS : ............................. mingw32 Compiler is GCC : ..................... yes GCC version : ......................... 4.7.0 ls src/libFLAC/.libs/libFLAC-8.dll -rwxr-xr-x 1 crrodriguez users 1,3M dic 12 21:49 libFLAC-8.dll What compiler and flac version are you using ?