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. 
Please, could you tell me which MinGW-64 flavour I should download in order to 
this?

TIA

From: Ruben Van Boxem 
Sent: Tuesday, January 15, 2013 10:40 AM
To: [email protected] 
Subject: Re: [Mingw-w64-public] New-B

2013/1/15 Arbol One <[email protected]>

  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 
  Sent: Tuesday, January 15, 2013 9:25 AM
  To: [email protected] 
  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 
  Sent: Tuesday, January 15, 2013 9:13 AM
  To: [email protected] 
  Subject: Re: [Mingw-w64-public] New-B

  2013/1/15 Arbol One <[email protected]>

    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 
    Sent: Tuesday, January 15, 2013 7:18 AM
    To: [email protected] 
    Subject: Re: [Mingw-w64-public] New-B

    2013/1/15 Arbol One <[email protected]>

      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
      [email protected]
      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
    [email protected]
    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
    [email protected]
    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
  [email protected]
  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
  [email protected]
  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
  [email protected]
  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
[email protected]
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to