From: zhou d. <dra...@gm...> - 2007-12-21 09:02:35
|
2007/12/21, Kai Tietz <Kai...@on...>: > Hi Rob, > > I redirect you to the mingw-64 public group, where it is more likly, that > somebody can help you. > > > Some time back I downloaded a MinGW 64 binary - not sure exactly where > from, > > but it was a link that came from this list (and I could probably track > it > > down if it's important). > > > > Anyway .... that binary yields: > > > > -------------------------------------- > > C:\>\_64\MinGW\target\bin\gcc -v > > Using built-in specs. > > Target: x86_64-pc-mingw32 > > Configured with: > > ../gcc/configure --host=3Dx86_64-pc-mingw32 --target=3Dx86_64-pc-mingw3= 2 > > --enable-languages=3Dc,c++ > > --disable-nls --disable-multilib --disable-libstdcxx-pch > --enable-long-long > > --with-gmp=3D/home/zhoujg/mingw/for_target > --prefix=3D/home/zhoujg/mingw/target > > Thread model: win32 > > gcc version 4.3.0 20070930 (experimental) (GCC) > > -------------------------------------- > > > > Unfortunately, if I try to build a simple C script using that compiler = I > > > get: > > > > -------------------------------------- > > C:\_64\C>\_64\MinGW\target\bin\gcc -o try.exe try.c > > gcc: CreateProcess: No such file or directory > > -------------------------------------- > > Have you set your PATH environment variable to the target bin directory ? This may be caused by the link problem, some link file in the tar package, If you untar them to windows filesystem, they will become zero length file. Try replace the zero length fie to the link target file. Or try newer package in http://sourceforge.net/projects/mingw-w64/ or my website http://www.drangon.org/mingw/ BTW: the mingw-w64 *native* compiler still not so stable, especially when compiling large c++ source code. I recommand built a cross compiler under linux or cygwin, and use the cross compiler to build program that runs in native win 64 platform. > > > Where to from here ? > > > One other question - if I wanted to build MinGW 64 from source, would I > need > > a 64-bit linux box ? ... or can it be cross-compiled using a 32-bit > linux > > box ? > > You wont need a 64-bit machine to build, but of course such a machine for > executing the generated executables ;). If you take a look at the > mingw-w64 project, there are several cross compilers as binary packages > available. There is also the current source of the crt and a how to build > the gcc toolchain. > > > (Can it be built using Cygwin on a 32-bit *windows* box ?) > Of course you are able to use the cygwin shell for building a cross > compiler. > > Cheers, > i.A. Kai Tietz > > | (\_/) This is Bunny. Copy and paste Bunny > | (=3D'.'=3D) into your signature to help him gain > | (")_(") world domination. > > -------------------------------------------------------------------------= ----------------- > OneVision Software Entwicklungs GmbH & Co. KG > Dr.-Leo-Ritter-Stra=DFe 9 - 93049 Regensburg > Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com > Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050 > Handelsregister: HRA 6744, Amtsgericht Regensburg > Komplement=E4rin: OneVision Software Entwicklungs Verwaltungs GmbH > Dr.-Leo-Ritter-Stra=DFe 9 =96 93049 Regensburg > Handelsregister: HRB 8932, Amtsgericht Regensburg - Gesch=E4ftsf=FChrer= : > Ulrike D=F6hler, Manuela Kluger > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2005. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > |