You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README file for configuring Code::Blocks to use the 64-bit MinGW

toolchain

Copyright (c) 2009 ARM Research Laboratories

This is the README file for the configuring Code::Blocks to use the
64-bit MinGW toolchain.

To configure Code::Blocks:

1) Unpack the 64-bit toolchain archive (e.g.
mingw-w64-bin_i686-mingw_20090220.zip) into c:\MinGW-64. If done
correctly, c:\MinGW-64 should have the directories bin, include,
x86_64-pc-mingw32, and other directories.

2) Start CodeBlocks.

3) Open the Global compiler settings (Settings->Compiler and
debugger).

4) Click on "Copy", and enter MinGW-64 as the new compiler's name.

5) If desired, click "Set as default".

6) Click on the "Toolchain executables" tab.

7) For the compiler's installation directory, enter "c:\MinGW-64".

8) Click on the "Program Files" tab, and enter the names for the
MinGW-64 tools:

i) C compiler: "x86_64-pc-mingw32-gcc.exe".

ii) C++ compiler: "x86_64-pc-mingw32-g++.exe".

iii) Linker for dynamic libs: "x86_64-pc-mingw32-g++.exe".

iv) Linker for static libs: "x86_64-pc-mingw32-ar.exe".

v) Debugger: Leave this blank; there is no 64-bit debugger
available yet.

vi) Resource ompiler: "x86_64-pc-mingw32-windres.exe".

v) Make program: "". Leave blank. The 64-bit toolchain doesn't
include a make program.