From: Arbol O. <Arb...@ho...> - 2013-01-16 12:43:42
|
Thanks Koehne Kai, your explanation really clear things up. I will follow your methodology, and when the time comes, I will switch to MinGW-64 compiler. So, for now, MinGW-32 is good enough. Have a wonderful day!! -----Original Message----- From: Koehne Kai Sent: Wednesday, January 16, 2013 3:43 AM To: min...@li... Subject: Re: [Mingw-w64-public] New-B > -----Original Message----- > From: ext Arbol One [mailto:Arb...@ho...] > Sent: Tuesday, January 15, 2013 5:24 PM > To: min...@li... > Subject: Re: [Mingw-w64-public] New-B > > Humm, some how I felt that there was something very wrong in my > installation. All I want from the compiler is to debug using 32-bit, and > then > create a final built in 64-bit. I not interested in cross compiling, it is > just that I > want to deploy under 64-bit Windows 7/8. Just to get this straight: - "cross compiling" in this context means that you're using a 32 bit toolchain to generate a 64 bit binary, or the other way round. - You can deploy 32 bit binaries on 64 bit Windows 7 / 8. This is done by an emulation layer called WoW (Windows on Windows), but really works without any hassles. Just check out "C:\Program Files (x86)", all apps here should be 32 bit ! It doesn't work the other way round though, 64 bit binaries can't run on a 32 bit Windows. - That said, there are of course applications that benefit from using 64 bit (e.g. using a lot of memory, kernel tools etc...) > Please, could you tell me which MinGW-64 flavour I should download in > order to this? I'd personally avoid the cross-compiler hassle, and use a native 32 bit toolchain. If you then decide you really want a 64 bit binary, just install a 64 bit toolchain alongside and recompile your project ... That said, at least TDM-GCC supports generating too. Regards Kai > TIA > > From: Ruben Van Boxem <mailto:van...@gm...> > Sent: Tuesday, January 15, 2013 10:40 AM > To: min...@li... > Subject: Re: [Mingw-w64-public] New-B > > 2013/1/15 Arbol One <Arb...@ho...> > > > I hope someone is willing to reply to my question, even though they > sound not very smart, the truth is that I am trying to understand the > different aspects of MinGW64, I am really confused about how it works. > > > Thanks in advance > > From: Arbol One <mailto:Arb...@ho...> > Sent: Tuesday, January 15, 2013 9:25 AM > To: min...@li... > Subject: Re: [Mingw-w64-public] New-B > > D:\MinGW64 > +bin > -i686-w64-mingw32-g++.exe > +i686-w64-mingw32 > +bin > -g++.exe > ---- > What is the difference between './bin/i686-w64-mingw32-g++.exe' > and './i686-w64-mingw32/bin/g++.exe'? What are they used for? > > > My toolchains do not have the second variation (last time I checked, I > could > very well be wrong though). What file did you download? > > > It seems you downloaded a toolchain built as a cross-compiler. The prefix > i686... means it targets 32-bit Windows. A prefix of x86_64... means it > targets > 64-bit. If you don't want prefixed executables, download a native > compiler. > For my toolchains, this means using files with names of the form > i686...win32 > and x86_64....win64. > > > If you know how GCC works on Unix, all you should know to use MinGW-w64 > toolchains is that you need to add the toplevel "bin" directory to PATH > and > call the compiler executables as you would on Unix. > > > Ruben > > > > > TIA > > From: Ruben Van Boxem <mailto:van...@gm...> > Sent: Tuesday, January 15, 2013 9:13 AM > To: min...@li... > Subject: Re: [Mingw-w64-public] New-B > > 2013/1/15 Arbol One <Arb...@ho...> > > > In the‘/MinGW64’ folder I have ‘./lib’, ‘/bin’ and ‘./include’ > subdirectories, am I to assume that this are the 32-bit files while their > 64-bit > counterparts are in the ‘./i686-w64-mingw32’ directory? > > > No. Depending on what exactly you downloaded (filename of the file > you got suffices), some stuff will be located in different places. > > I'm assuming you have downloaded a 32-bit native non-multilib > toolchain, then this is the general structure: > > mingw32/bin: directory to add to PATH. Contains all the toolchain > executables like gcc, g++, gdb, ld, nm, etc... > > mingw32/lib and mingw32/include: GCC search paths, ignore them. > > mingw32/i686-w64-mingw32/include and lib: these are the MinGW- > w64 headers and import libraries (the stuff built from the source you > first > downloaded). These include some C headers and standard Win32 API > headers like windows.h > > > Ruben > > > > > > TIA > > From: Ruben Van Boxem > <mailto:van...@gm...> > Sent: Tuesday, January 15, 2013 7:18 AM > To: min...@li... > Subject: Re: [Mingw-w64-public] New-B > > 2013/1/15 Arbol One <Arb...@ho...> > > > Hello there! > I just downloaded and unpacked mingw-w64-v1.0.7. > in my D: directory, what else do I have to do now? is there a tutorial > explaining what has to be added to the path and what is the toolchain for > 32bit or 64bit apps? > > > Hi, > > > you downloaded the MinGW-w64 runtime source package. > You want a prebuilt binary package i seems. See here for instructions: > http://sourceforge.net/apps/trac/mingw- > w64/wiki/GeneralUsageInstructions > > > If you need any more help, feel free to ask. > > > Ruben > > > > > TIA > > ----------------------------------------------------------------- > ------------- > Master SQL Server Development, Administration, T- > SQL, SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) > with LearnDevNow - > 200+ hours of step-by-step video tutorials by > Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw- > w64-public > > > > > ________________________________ > > -------------------------------------------------------------------------- > ---- > Master SQL Server Development, Administration, T-SQL, > SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with > LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs > and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > ________________________________ > > > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > > -------------------------------------------------------------------------- > ---- > Master SQL Server Development, Administration, T-SQL, > SSAS, SSIS, SSRS > and more. Get SQL Server skills now (including 2012) with > LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs > and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > > > > ________________________________ > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, > SSRS > and more. Get SQL Server skills now (including 2012) with > LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and > experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > ________________________________ > > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > ________________________________ > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, > SSRS > and more. Get SQL Server skills now (including 2012) with > LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and > experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > ________________________________ > > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, > SSRS > and more. Get SQL Server skills now (including 2012) with > LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and > experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > > > > > ________________________________ > > ------------------------------------------------------------------------------ > Master SQL Server Development, Administration, T-SQL, SSAS, SSIS, SSRS and > more. Get SQL Server skills now (including 2012) with LearnDevNow - > 200+ hours of step-by-step video tutorials by Microsoft MVPs and experts. > SALE $99.99 this month only - learn more at: > http://p.sf.net/sfu/learnmore_122512 > > ________________________________ > > _______________________________________________ > Mingw-w64-public mailing list > Min...@li... > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public ------------------------------------------------------------------------------ Master Java SE, Java EE, Eclipse, Spring, Hibernate, JavaScript, jQuery and much more. Keep your Java skills current with LearnJavaNow - 200+ hours of step-by-step video tutorials by Java experts. SALE $49.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122612 _______________________________________________ Mingw-w64-public mailing list Min...@li... https://lists.sourceforge.net/lists/listinfo/mingw-w64-public |