[antlr-interest] ANTLRs C++ runtime platform support

Martin Probst mail at martin-probst.com
Wed Feb 9 06:09:13 PST 2005


Hi,

I promised several months ago we might be able to provide some input about
ANTLRs C++ runtime platform support. Now we finally found the time for it.
According to our tests ANTLR builds ok on these platforms/compilers:

[ Plattform                                ][ Compiler ]
| Windows (32-Bit)                         | msvc++ 13.10.3077 for 80x86
| Windows (ia64)                           | msvc++ 13.10.2240.8 for IA-64
| SunOS 5.9 (sparc) (aka Solaris 9)        | Sun C++ 5.5 Patch 113817-02
2003/08/29
| Linux X86-64 2.6.5-7.97-smp #1 SMP       | gcc 3.3.3
| Linux PPC64 2.6.5-7.111-pseries64 #1 SMP | gcc 3.3.3
| Linux IA64 2.6.5-7.97-default #1 SMP     | gcc 3.3.3
| Linux p132321 2.6.4-52-smp #1 SMP        | gcc 3.3.3
| DEC Alpha OSF1 V5.1 1885 alpha           | Compaq C++ V6.5-014 for
Compaq Tru64 UNIX V5.1A (Rev. 1885), Compiler Driver V6.5-014 (cxx) cxx
Driver
| AIX 5.2                                  | C for AIX Compiler (Version 6)
| HP-UX B.11.11 U 9000/800                 | aCC: HP ANSI C++ B3910B A.03.57
| HP-UX B.11.23 U ia64                     | aCC: HP aC++/ANSI C B3910B
A.05.57 (June 23 2004)

These are (at least in part) quite weird and old C++ compilers. We had to
move around some includes in order to build ANTLR correctly. I'm attaching
a simple patch. It's basically 4 of the cpp-files that need to include
<iostream> and co. before or after something else. Please don't ask me
why, HP64 (aCC 3.57) want's it that way.

These reports are mostly "compiles", e.g. it's not perfectly sure ANTLR
also works the way it's expected. We can only be sure about that for
Windows, Linux (all variants) and Sun, although the other machines seem to
run it well. They are just not really thoroughly tested.

Friendly greetings from SAP Berlin,

Martin Probst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: src.patch
Type: application/octet-stream
Size: 3184 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20050209/0a4ffe27/src.obj


More information about the antlr-interest mailing list