

Please read "readme.txt" before reading this file!



How to install the SDK for command-line build
----------------------------------------
0. Unzip the archive with -d switch:

        unzip -d idasdk.zip

1. Edit file
        defaults.mk            modify paths to your compilers and sdk

2. Add to your path:
        idasdk/bin
        and you compiler directory

3. Install a GNU make, if necessary. Under Windows you can use Cygwin.

4. Compile and build utilities in ETC directory. See ETC\README file.

5. Run make in the SDK directory (see commandlines below)

----------------------------------------

All source files are the same for all platforms and are compiled using the
same makefile. You need to specify target in the command line:

For Win32:
        Microsoft compiler (VC10)
          make __VC__=1
        or just
          make

        Microsoft compiler optimized
          make __VC__=1 NDEBUG=1

        Build for IDA64 (64-bit ea_t size):
          make __EA64__=1
        
Please note that idaq64 itself is a 32-bit application, so the above line
compiles a 32-bit module that can handle 64-bit applications with idag64.

        Build for x64 (only for win64_remotex64.exe):
          make __X64__=1

For Linux
        idamake.pl -D__LINUX__                     -- non-optimized build
        idamake.pl -DNDEBUG -D__LINUX__            -- optimized build
        idamake.pl -D__LINUX__ -D__EA64__          -- for IDA64

For Mac OS X
        idamake.pl -D__MAC__                       -- non-optimized build
        idamake.pl -DNDEBUG -D__MAC__              -- optimized build
        idamake.pl -D__MAC__ -D__EA64__            -- for IDA64


Win32 versions can be created compiled using Microsoft Visual C++ 9.0 or greater.
