HOWTO compile antlr libs for MinGW


  1. Requirements:
    1. MinGW gcc compiler - get it here
    2. Msys environment - get it here
  2. Start Msys rxvt terminal
  3. extract antlr-2.7.1 - get it here
  4. tar -xvzf antlr-2.7.1.tar.gz
  5. cd antlr-2.7.1/lib/cpp
  6. ./configure
  7. cd src
  8. make
  9. make install
In the end libantlr.a will be copied to /usr/lib and antlr-2.7.1/antlr will be copied to /usr/include/antlr Note: If you do not want to do "make install" but still want to create libantlr.a then after "make" copy libantlr.a from antrl-2.7.1/lib/cpp/src/.libs