On Tue, 7 Jun 2011 14:35:22 +0200 Pablo Beltran <[email protected]> wrote:
> Hello, > > The FAQ instructions for building SWFTools on Windows > are absolutely out of > date. Quite possibly. It is a community wiki though, so how about you giving it a shot yourself? If you see that something is not quite right, change it! ;o) Most of the links do not exist: > > http://lists.gnu.org/archive/html/swftools-common/2005-02/msg00023.html That link works, as do the links contaned within it. > So, it seems the only way to build SWFTools is by > using Linux+Mingw cross-compiling. Never tried in Windows myself, so unable to comment. > Of course, I've installed Mingw cross-compiling (apt-> get install mingw32* > and alternatively by following > this instructions: > http://www.mingw.org/wiki/LinuxCrossMinGW). >Everything seems successfully > installed. That's good then, isn't it? > Well..., and now what? Pass. You tell us! ;o) > When I try to build SWFTools on my Ubuntu: > > /home/pablo/swftools_src$ CXX=i386-mingw32msvc-g++ CPP=i386-mingw32msvc-cpp > CC=i386-mingw32msvc-gcc \ > ./configure --host=i586-mingw32msvc && make > > I get the following error: > *********************************************************************** > configure: WARNING: If you wanted to set the --build > type, don't use --host. You are compiing for Windows, so you don't have to use the Linux target triplet. > If a cross compiler is detected then cross compile mode will be used. > checking build system type... Invalid configuration `i686-pc-linux-': > machine `i686-pc-linux' not recognized Target triplet there. As above, not required for Windies. > configure: error: /bin/bash ./config.sub i686-pc-linux- failed > *********************************************************************** > As I have no idea about Mingw corss-compiling, I > would appreciate some help. Ages since I've done it! Maybe I'll get a moment to try it from the top. Regards, Chris -- <[email protected]>
