HOWTO compile antlr libs for MinGW
Steps
- Requirements:
- MinGW gcc compiler - get it here
- Msys environment - get it here
- Start Msys rxvt terminal
- extract antlr-2.7.1 - get it here
- tar -xvzf antlr-2.7.1.tar.gz
- cd antlr-2.7.1/lib/cpp
- ./configure
- cd src
- make
- 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