next up previous contents
Next: Compiling with/without Special Features Up: Compiling the Sources Previous: Compiling under Linux/Mac OS   Contents

Compiling under Windows

In case you are using Windows we recommend the MinGW environment from http://www.mingw.org to install GCX. You will also need to install - if not already present - the following required (additional) tools.

  1. Download the archive gcx_2-1_src.zip (you might also download the .gz archive gcx_2-1_src.tar.gz) from http://sourceforge.net/project/showfiles.php?group_id=258398.
  2. Extract the archive gcx_2-1_src.zip. This will create the following directory structure.

    gcx_2-1_src      The root folder.
        ./bin      This folder is empty and will - after compilation - contain the binary.
        ./examples      This folder contains sample queries for testing purpose.
            ./sgml      This folder contains sgml sample queries.
            ./tree      This folder contains tree sample queries.
            ./xmark      This folder contains xmark sample queries.
            ./xmp      This folder contains xmp sample queries.
        ./src      This folder contains all required sources for compilation.
  3. Step into the src directory by typing
    > cd ./gcx_2-1_src/src
    in a command prompt window.
  4. Optionally, but not necessarily, you may want to enable or disable one or more special features by uncommenting or adding FLAGS in the Makefile (Makefile.Windows). A complete list of all available compilation FLAGS can be found in Section Compiling with/without Special Features.
  5. Now type
    > make -f Makefile.Windows
    to compile the sources. After compilation a binary file named gcx.exe will be created in the bin directory.
  6. You might also consider to add the bin directory to your PATH variable.


next up previous contents
Next: Compiling with/without Special Features Up: Compiling the Sources Previous: Compiling under Linux/Mac OS   Contents