So I found out I had an i586 version installed so another step nearer I think, my version of mingw is i586 rather than i386 so changing the suggested command from the FAQs:
CXX=i386-mingw32msvc-g++ CPP=i386-mingw32msvc-cpp CC=i386-mingw32msvc-gcc \ ./configure --host=i586-mingw32msvc && make to CXX=i586-mingw32msvc-g++ CPP=i586-mingw32msvc-cpp CC=i586-mingw32msvc-gcc \ ./configure --host=i586-mingw32msvc && make Seemed to get me a step further. But I'm getting ERROR: you need zlib to compile swftools I've downloaded and installed zlib but must be missing something else... On 20 April 2011 08:24, DannyT <[email protected]> wrote: > hmm, sorry for such a simple question but how do I find out where it is > installed? I've googled and found I can determine which packages are > installed using dpkg --get-selections, i can see gcc-mingw32 in the list but > no idea where on the system that would be? > > > On 20 April 2011 08:14, Chris <[email protected]> wrote: > >> Add it's location to the $PATH variable? Or specify the path directly? >> >> It's been a while since I cross compiled.. >> >> Chris. >> >> >On Wed, 20 Apr 2011 08:10:01 +0100 >> >DannyT <[email protected]> wrote: >> >> > Okay another step forwards, thanks again Chris! >> > >> > Now I'm getting another error checking the C compiler: >> > >> > configure:3135: i386-mingw32msvc-gcc --version >&5 >> > ./configure: line 3137: i386-mingw32msvc-gcc: command not found >> > >> > which I would guess is telling me exactly what I need to know... I'm >> just >> > not sure what I need to do about it :S >> > >> > I have gcc-mingw32 installed (via Ubuntu software centre) but I'm >> thinking >> > there is something else/different I need. Any suggestions? >> > >> > On 20 April 2011 07:56, Chris Pugh <[email protected]> wrote: >> > >> > > No worries. Not a problem.. ;o) >> > > >> > > >On Wed, 20 Apr 2011 07:54:48 +0100 >> > > >DannyT <[email protected]> wrote: >> > > >> > > > sorry didn't mean to reply directly, must stop doing that :S >> > > > >> > > > ---------- Forwarded message ---------- >> > > > >> > > > >> > > > Thanks for the reply Chris, helps so much to have someone on the end >> of a >> > > > plea for help! >> > > > >> > > > That said, ./configure-guess returns "command not found" so I'm >> guessing >> > > I >> > > > need to install some util of some sort? I've tried searching but am >> > > coming >> > > > up short. I also tried ./config.guess along with other similar >> attempts >> > > but >> > > > to no avail. >> > > > >> > > > Could you give me another nudge in the right direction please? >> > > > >> > > > >> > > > On 20 April 2011 00:52, Chris <[email protected]> wrote: >> > > > >> > > > > On Wed, 20 Apr 2011 00:00:45 +0100 >> > > > > DannyT <[email protected]> wrote: >> > > > > >> > > > > > Is there a build of the latest git version available or is it >> > > > > self-compile >> > > > > > only? >> > > > > >> > > > > afaiaa self-compile only, unless some kind soul tries to compile >> you >> > > one. >> > > > > >> > > > > > I've spent hours installing Linux (ubuntu) and trying to get a >> build >> > > of >> > > > > > the latest version working whilst trying to cross compile for >> windows >> > > and >> > > > > > unfortunately there are a few too many hurdles for such a >> linux/C++ >> > > noob >> > > > > > as myself. >> > > > > >> > > > > Isn't computing endless fun? >> > > > > >> > > > > > chekcing build system type... Invalid configuration 'i686-pc- >> > > > > > linux-':machine 'i686-pc-linux' not recognized >> > > > > > configure: error: /bin/bash ./config.sub i686-pc-linux- failed >> > > > > > >> > > > > > If anyone can please help that would be great. >> > > > > >> > > > > Use ./configure-guess to ascertain the correct target-triplet, >> > > 'i686-pc- >> > > > > linux' being one such beast, then, the following link may just >> help you >> > > > > jump the next hurdle: >> > > > > >> > > > > >> > > >> http://www.gnu.org/s/hello/manual/autoconf/Specifying-Target-Triplets.html >> > > > > >> > > > > Regards, >> > > > > >> > > > > >> > > > > Chris. >> > > > > -- >> > > > > Chris <[email protected]> >> > > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > geek - http://danny-t.co.uk >> > > > mtb - http://dannyt.posterous.com >> > > > >> > > > *** please sponsor me: http://justgiving.com/dannytmtb *** >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > geek - http://danny-t.co.uk >> > > > mtb - http://dannyt.posterous.com >> > > > >> > > > *** please sponsor me: http://justgiving.com/dannytmtb *** >> > > >> > > >> > > -- >> > > Chris Pugh <[email protected]> >> > > >> > >> > >> > >> > -- >> > geek - http://danny-t.co.uk >> > mtb - http://dannyt.posterous.com >> > >> > *** please sponsor me: http://justgiving.com/dannytmtb *** >> >> >> -- >> Chris <[email protected]> >> > > > > -- > geek - http://danny-t.co.uk > mtb - http://dannyt.posterous.com > > *** please sponsor me: http://justgiving.com/dannytmtb *** > > -- geek - http://danny-t.co.uk mtb - http://dannyt.posterous.com *** please sponsor me: http://justgiving.com/dannytmtb ***
