From f88d4f700606eb15d83795b188810e0451b2e157 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Fri, 18 May 2012 13:22:09 +1000 Subject: Add the outline stuff, too. A bit more lit review work. --- tex/lit-review/main.tex | 64 ++++++++++++++++++++++++-------- tex/lit-review/references.bib | 36 +++++++++++++++++- tex/outline/Makefile | 8 ++++ tex/outline/main.tex | 68 ++++++++++++++++++++++++++++++++++ tex/outline/references.bib | 86 +++++++++++++++++++++++++++++++++++++++++++ 5 files changed, 245 insertions(+), 17 deletions(-) create mode 100644 tex/outline/Makefile create mode 100644 tex/outline/main.tex create mode 100644 tex/outline/references.bib diff --git a/tex/lit-review/main.tex b/tex/lit-review/main.tex index 8f5c5ce..28a9495 100644 --- a/tex/lit-review/main.tex +++ b/tex/lit-review/main.tex @@ -48,7 +48,8 @@ abstraction we can still define some semantics which reflect the program itself a negative number is a negative number). Each abstract domain must also contain a "top" $(\top)$ and a "bottom" $(\bot)$ element. The existence of these two elements turn our abstract domain into a complete lattice, which ensures some -helpful properties of our abstract domain. +helpful properties of our abstract domain, including the existence of solutions +to fixpoint-equations (\cite{tarski}). By constructing appropriate abstract domains we can infer properties of the program's concrete semantics which are relevant to our application. The above @@ -71,7 +72,7 @@ positive/negative/zero. The abstract domain of "zones", are handled in \cite{mine:padoII}. These zones provide a way to perform analysis on the bounds of variable differences (ie. to place bounds as $a - b \leq c$) and are also referred to as Difference Bound -Matrices (which are used in other model-checking applications +Matrices (which are used in other model-checking applications, such as \cite{Yovine98modelchecking}). The domain of zones is then extended by the same author into the "Octagon @@ -88,6 +89,14 @@ one can define a polyhedra $1 \times x_1 + (-1) \times x_2 + c \ge 0$ which is equivalent. The octagon domain is $(\pm 1) \times x_1 + (\pm 1) \times x_2 + c \ge 0$. +Non-integral abstract domains have also been investigated in papers such as +\cite{springerlink}, which considers the abstract domain +of strings with abstract values being regular expressions, but it seems the +majority of the literature is concerned with providing bounds for integral, or +at the very least numerical, expressions. The reasons for this are fairly +obvious when one considers the ubiquity of integers and the relative simplicity +of the numerical domain compared to many others. + \section{Fixpoints} When performing static analysis there is a great need to perform some sort of @@ -96,9 +105,10 @@ When looping, for instance, it is necessary to "iterate" (in some sense) to find what values each variable may take during a loop iteration. The most basic method for doing so is simply to perform a complete iteration in -the abstract domain, but doing so has no guarantee of termination and would not -be expected to be performant. In \cite{CousotCousot77-1} an approach of -"widening" and "narrowing" is introduced. +the abstract domain, but doing so within the integers has no guarantee of +termination (due to the integers being an unbounded set) and would not be +expected to be performant. In \cite{CousotCousot77-1} an approach of "widening" +and "narrowing" is introduced. This widening/narrowing method performs some fixed number of iteration steps. If, after this fixed number, the iteration has not stabilised then it assumes @@ -108,20 +118,42 @@ wherein variables are brought back into the finite domain by some terminating condition on the loop. This approach is quite general, and so is applicable to many instances of real -programs, but is a crude approximation of the reality of the program. In -specific instances it is possible to perform a better approximation. In -particular the case of monotonic, expansive operators is considered in \cite{}. % something from thomas here -With this approach code points are converted into fixpoint equations with -$minimum$ and $maximum$ expressions. These fixpoint equations can then be solved -in order to give information about the program's abstract semantics. These -equations are solved using the technique of strategy iteration \cite{} % something about strategy iteration here -combined with a fast fixpoint-iteration algorithm (such as the one presented in -\cite{DBLP:tr/trier/MI96-11}). - -%Other test citation: \cite{DBLP:tr/trier/MI96-11} +programs, but is a crude approximation of the reality of the program (albeit, +with surprisingly good results). In specific instances it is possible to perform +a better approximation. In particular the case of addition, multiplication (by +positive constants), minimum and maximum is considered in +\cite{Gawlitza:2007:PFC:1762174.1762203}. With this approach code points are +converted into fixpoint equations with $minimum$ and $maximum$ expressions. +These fixpoint equations can then be solved in order to give information about +the program's abstract semantics. These equations are solved using a form of +policy iteration (referred to as strategy iteration) over the $maximum$ +expressions present in each term. A second step consisting of ordinary +fixpoint-iteration over the resulting $minimum$-expressions is then performed. + +When fixpoint-iteration is known to terminate then it is possible to get +significant speed gains by processing each expression according to their +dependencies. The approach presented in \cite{DBLP:tr/trier/MI96-11}, in +particular, improves the real-world performance of their fixpoint-equation +solver. It should be noted, however, that such evaluation strategies can do +nothing to affect the worst-case complexity as it is always possible to +construct a system in which evaluation of each variable is necessary at every +stage until the system stabilises. \section{Conclusion} +Static analysis is of great practical importance to real world developers. It +gives us the ability to create tools which automatically identify common errors +in programs due to developer errors and so allows us to provide greater +guarantees about the behaviour of our software. + +Unfortunately complete static analysis of a program is an undecidable problem, +and so we must perform abstract interpretation of a program's semantics in order +to provide useful results of analysis. Many different abstract domains exist in +which to consider programs, with varying precision and computational complexity. +In particular the abstract domain of polyhedra (and the related domains of +zones and ranges) are of great use when performing analysis of a program's +integral semantics. + \bibliographystyle{abbrv} \bibliography{references.bib} \end{document} diff --git a/tex/lit-review/references.bib b/tex/lit-review/references.bib index d6db721..d746821 100644 --- a/tex/lit-review/references.bib +++ b/tex/lit-review/references.bib @@ -80,4 +80,38 @@ pages = {114--152}, publisher = {Springer-Verlag} } - +@inproceedings{Gawlitza:2007:PFC:1762174.1762203, + author = {Gawlitza, Thomas and Seidl, Helmut}, + title = {Precise fixpoint computation through strategy iteration}, + booktitle = {Proceedings of the 16th European conference on Programming}, + series = {ESOP'07}, + year = {2007}, + isbn = {978-3-540-71314-2}, + location = {Braga, Portugal}, + pages = {300--315}, + numpages = {16}, + url = {http://dl.acm.org/citation.cfm?id=1762174.1762203}, + acmid = {1762203}, + publisher = {Springer-Verlag}, + address = {Berlin, Heidelberg}, +} +@article{tarski, + author = {Tarski, Alfred}, + title = {A lattice-theoretical fixpoint theorem and its + applications.}, + year = {1955} +} +@incollection {springerlink, + author = {Christensen, Aske and Mø, Anders and Schwartzbach, Michael}, + affiliation = {BRICS Denmark}, + title = {Precise Analysis of String Expressions}, + booktitle = {Static Analysis}, + series = {Lecture Notes in Computer Science}, + editor = {Cousot, Radhia}, + publisher = {Springer Berlin / Heidelberg}, + isbn = {978-3-540-40325-8}, + keyword = {Computer Science}, + pages = {1076-1076}, + volume = {2694}, + year = {2003} +} diff --git a/tex/outline/Makefile b/tex/outline/Makefile new file mode 100644 index 0000000..66eb399 --- /dev/null +++ b/tex/outline/Makefile @@ -0,0 +1,8 @@ +all: + pdflatex main.tex + bibtex main + pdflatex main.tex + pdflatex main.tex + +clean: + rm -f *.bbl *.aux *.blg *.log *.pdf *.out diff --git a/tex/outline/main.tex b/tex/outline/main.tex new file mode 100644 index 0000000..8c5cf98 --- /dev/null +++ b/tex/outline/main.tex @@ -0,0 +1,68 @@ +\documentclass{article} + +\usepackage[a4paper]{geometry} +\usepackage{hyperref} +\usepackage{amsmath} + +\title{INFO5993 \\ Research outline} +\author{Carlo Zancanaro} + +\begin{document} +\maketitle + +\section{Introduction} + +As my research contribution I intend to implement an algorithm presented in +\cite{gawlitza} for solving systems of fixpoint-equations for their least +solutions. I will then utilise this algorithm for the implementation of a static +analysis pass, interpreting program semantics over zones, within the LLVM +compiler framework. Finally I will be evaluating this new technique to determine +whether it is of practical use in real-world static analysis. + +\section{Technologies} + +My implementation will be provided in the {\tt C++} programming language, as it +is the language in which LLVM has been written. It will primarily be designed to +analyse programs written in the {\tt C} language. + +At the conclusion of my thesis I will have an implementation of the above +algorithm implemented as an LLVM optimisation/analysis pass. This will plug in +to the LLVM/Clang static-analysis framework in order to leverage the significant +work that has been done on the LLVM project. This will also mean that I do not +have to write a complete parser for the {\tt C} programming language (which +would no doubt be a long and error-prone operation). + +\section{Evaluation} + +To evaluate the algorithm I will be investigating two factors: execution time +and analysis range. + +\subsection{Execution time} + +Given the increased precision of results provided by the above algorithm I will +be interested in determining the runtime performance of the algorithm. Static +analysis is traditionally a slow process and so any speed-gains which can be +made will be especially beneficial to real world applications. This will also +mean that my optimisations must be especially aggressive to ensure that there is +no missed opportunity for speed gains to be made. + +\subsection{Analysis range} + +In the above algorithm there is a trade-off made wherein we sacrifice the +generality of the algorithm to provide more precise results. An important factor +in the utility of this algorithm will be whether it is applicable to the +majority of real-world code. The restrictions in the paper seem to be general +enough to encompass a large amount of existing code, but it remains to be shown +empirically whether this is the case. + +\section{Conclusion} + +My thesis will consist of implementing and evaluating a new approach to +fixpoint-iteration in order to perform abstract interpretation over zones for +the verification of program invariants. This implementation will be done within +the LLVM-compiler framework. The evaluation will particularly consider factors +of execution time and analysis range of the algorithm. + +\bibliographystyle{abbrv} +\bibliography{references.bib} +\end{document} diff --git a/tex/outline/references.bib b/tex/outline/references.bib new file mode 100644 index 0000000..9735e26 --- /dev/null +++ b/tex/outline/references.bib @@ -0,0 +1,86 @@ +@article{DBLP:tr/trier/MI96-11, + author = {Christian Fecht and + Helmut Seidl}, + title = {An Even Faster Solver for General Systems of Equations}, + journal = {Universit{\"a}t Trier, Mathematik/Informatik, Forschungsbericht}, + volume = {96-11}, + year = {1996}, + bibsource = {DBLP, http://dblp.uni-trier.de} +} +@inproceedings{CousotCousot77-1, + author = {Cousot, P{.} and Cousot, R{.}}, + title = {Abstract interpretation: a unified lattice model for static + analysis of programs by construction or approximation of + fixpoints}, + pages = {238--252}, + booktitle = {Conference Record of the Fourth Annual ACM SIGPLAN-SIGACT + Symposium on Principles of Programming Languages}, + address = {Los Angeles, California}, + publisher = {ACM Press, New York, NY}, + year = 1977, +} +@article{mine:hosc06, + author = {Min\'e, A{.}}, + title = {The Octagon Abstract Domain}, + journal = {Higher-Order and Symbolic Computation}, + editor = {O. Danvy}, + publisher = {Springer}, + year = {2006}, + volume = {19}, + number = {1}, + pages = {31--100}, + note = {\url{http://www.di.ens.fr/~mine/publi/article-mine-HOSC06.pdf}} +} +@inproceedings{mine:padoII, + author = {Min\'e, A{.}}, + title = {A New Numerical Abstract Domain Based on Difference-Bound Matrices}, + booktitle = {Proc. of the 2d Symp. on Programs as Data Objects (PADO II)}, + series = {Lecture Notes in Computer Science}, + year = {2001}, + month = {May}, + pages = {155--172}, + volume = {2053}, + publisher = {Springer}, + location = {Aarhus, Danemark}, + note = {\url{http://www.di.ens.fr/~mine/publi/article-mine-padoII.pdf}} +} +@inproceedings{DBLP:conf/vmcai/SankaranarayananSM05, + author = {Sriram Sankaranarayanan and + Henny B. Sipma and + Zohar Manna}, + title = {Scalable Analysis of Linear Systems Using Mathematical Programming}, + booktitle = {VMCAI}, + year = {2005}, + pages = {25-41}, + ee = {http://dx.doi.org/10.1007/978-3-540-30579-8_2}, + bibsource = {DBLP, http://dblp.uni-trier.de} +} +@inproceedings{Dor:2001:CCS:647170.718291, + author = {Dor, Nurit and Rodeh, Michael and Sagiv, Shmuel}, + title = {Cleanness Checking of String Manipulations in C Programs via + Integer Analysis}, + booktitle = {Proceedings of the 8th International Symposium on Static + Analysis}, + series = {SAS '01}, + year = {2001}, + isbn = {3-540-42314-1}, + pages = {194--212}, + numpages = {19}, + url = {http://dl.acm.org/citation.cfm?id=647170.718291}, + acmid = {718291}, + publisher = {Springer-Verlag}, + address = {London, UK, UK}, +} +@INPROCEEDINGS{Yovine98modelchecking, + author = {Sergio Yovine}, + title = {Model checking timed automata}, + booktitle = {In European Educational Forum: School on Embedded + Systems}, + year = {1998}, + pages = {114--152}, + publisher = {Springer-Verlag} +} +@article{gawlitza, + author = {Thomas Martin Gawlitza and Hemut Seidl}, + title = {Abstract Interpretation over Zones without Widening} +} -- cgit v1.2.3 From 61f90f14af8796bbed074538882e76f1e1bf3333 Mon Sep 17 00:00:00 2001 From: Carlo Zancanaro Date: Fri, 25 May 2012 13:24:37 +1000 Subject: Try to make some more modular Fixpoint algorithms. --- impl/Complete.hpp | 119 + impl/EquationSystem.g | 19 +- impl/EquationSystem.hpp | 44 +- impl/Expression.hpp | 3 + impl/FixpointAlgorithm.hpp | 98 + impl/IdMap.hpp | 81 + impl/IdSet.hpp | 187 ++ impl/MaxStrategy.hpp | 15 +- impl/Operator.hpp | 56 +- impl/Variable.hpp | 13 +- impl/VariableAssignment.hpp | 78 +- impl/antlr/generate.py | 4 + impl/antlr/libantlr3c-3.4/Makefile | 40 +- impl/antlr/libantlr3c-3.4/antlr3config.h | 30 +- impl/antlr/libantlr3c-3.4/config.log | 4850 ++++++++++++++++++++++++++++-- impl/antlr/libantlr3c-3.4/config.status | 55 +- impl/antlr/libantlr3c-3.4/libtool | 12 +- impl/antlr/test-file | 4 +- impl/antlr/test-system | 100 + impl/main.cpp | 42 +- impl/systems/.long-fixpoint.swp | Bin 0 -> 188416 bytes impl/systems/generate-system.py | 25 + impl/systems/long-fixpoint | 100 + impl/systems/min-test | 3 + impl/systems/random-system | 1 + impl/systems/size-ten | 3 + 26 files changed, 5466 insertions(+), 516 deletions(-) create mode 100644 impl/Complete.hpp create mode 100644 impl/FixpointAlgorithm.hpp create mode 100644 impl/IdMap.hpp create mode 100644 impl/IdSet.hpp create mode 100644 impl/antlr/generate.py create mode 100644 impl/antlr/test-system create mode 100644 impl/systems/.long-fixpoint.swp create mode 100644 impl/systems/generate-system.py create mode 100644 impl/systems/long-fixpoint create mode 100644 impl/systems/min-test create mode 100644 impl/systems/random-system create mode 100644 impl/systems/size-ten diff --git a/impl/Complete.hpp b/impl/Complete.hpp new file mode 100644 index 0000000..1cf40af --- /dev/null +++ b/impl/Complete.hpp @@ -0,0 +1,119 @@ +#ifndef COMPLETE_HPP +#define COMPLETE_HPP + +#include +#include + +template +struct Complete { + Complete() + : _value(0), _infinity(false) { } + Complete(const T& value, const bool& infinity) + : _value(value), _infinity(infinity) { + if (value == 0 && infinity == true) { + throw "Zero infinity? Die die die!"; + } + } + Complete(const Complete& other) + : _value(other._value), _infinity(other._infinity) { } + + Complete& operator=(const Complete& other) { + _value = other._value; + _infinity = other._infinity; + return *this; + } + Complete& operator+=(const Complete& other) { + return (*this) = (*this) + other; + } + Complete& operator-=(const Complete& other) { + return (*this) = (*this) - other; + } + + Complete operator-() const { + return Complete(- _value, _infinity); + } + Complete operator+(const Complete& other) const { + if (_infinity) { + return *this; + } else if (other._infinity) { + return other; + } else { + return Complete(_value + other._value, false); + } + } + Complete operator-(const Complete& other) const { + return *this + (- other); + } + Complete operator*(const Complete& other) const { + if (_infinity) { + return *this; + } else if (other._infinity) { + return other; + } else { + return Complete(_value + other._value, false); + } + } + + bool operator!() const { + return _value == 0; + } + bool operator<(const Complete& other) const { + if (*this == other) + return false; + if (_infinity) { + return _value < 0; + } else if (other._infinity) { + return other._value > 0; + } else { + return _value < other._value; + } + } + bool operator>(const Complete& other) const { + return !(*this < other || *this == other); + } + bool operator==(const Complete& other) const { + if (_infinity) { + return other._infinity && ((_value < 0 && other._value < 0) || + (_value > 0 && other._value > 0)); + } else { + return _value == other._value; + } + } + bool operator!=(const Complete& other) const { + return !(*this == other); + } + + template + friend std::istream& operator<<(std::istream&, Complete&); + template + friend std::ostream& operator<<(std::ostream&, const Complete&); + + private: + T _value; + bool _infinity; +}; + +template +std::istream& operator>>(std::istream& cin, Complete& num) { + Z value; + cin >> value; + num = Complete(value, false); + return cin; +} + +template +std::ostream& operator<<(std::ostream& cout, const Complete& num) { + if (num._infinity) { + cout << (num._value > 0 ? "inf" : "-inf"); + } else { + cout << num._value; + } + return cout; +} + +template<> +Complete infinity() { + return Complete(1, true); +} + +#endif diff --git a/impl/EquationSystem.g b/impl/EquationSystem.g index 6db7045..3a6598a 100644 --- a/impl/EquationSystem.g +++ b/impl/EquationSystem.g @@ -3,27 +3,34 @@ grammar EquationSystem; options { language=C; output=AST; + backtrack=true; } tokens { - SYSTEM = 'system' ; PLUS = '+' ; SUB = '-' ; MULT = '*' ; + COMMA = ';' ; + GUARD = 'guard' ; + GREATER_EQUAL = '>=' ; + QUESTION_MARK = '?' ; MAXIMUM = 'max' ; MINIMUM = 'min' ; NEWLINE = '\n' ; } -equation_system : equation ( NEWLINE! + equation )* (NEWLINE!) *; -equation : VARIABLE '='! maxExpr; +equation_system : equation ( NEWLINE! + equation )* (NEWLINE!)* ; +equation : VARIABLE '='! maxExpr ; -maxExpr : MAXIMUM^ '('! minExpr ( ','! minExpr )* ')'! | minExpr; +maxExpr : MAXIMUM^ '('! minExpr ( ','! minExpr )* ')'! | minExpr ; minExpr : MINIMUM^ '('! maxExpr ( ','! maxExpr )* ')'! | expr ; -expr : term ( (PLUS | MULT | SUB)^ term )* ; +expr : '(' expr GREATER_EQUAL expr QUESTION_MARK expr ')' -> ^(GUARD expr expr expr) + | term ( (PLUS | MULT | SUB | COMMA)^ expr )* ; -term : NUMBER | VARIABLE ; +term : NUMBER + | VARIABLE + | '('! expr ')'! ; NUMBER : (DIGIT)+ ; diff --git a/impl/EquationSystem.hpp b/impl/EquationSystem.hpp index ac0b3b2..5aaadfb 100644 --- a/impl/EquationSystem.hpp +++ b/impl/EquationSystem.hpp @@ -3,7 +3,13 @@ #include +template +struct EquationSystem; + +#include "IdSet.hpp" #include "Expression.hpp" +#include "FixpointAlgorithm.hpp" + template struct MaxStrategy; @@ -31,6 +37,9 @@ struct EquationSystem { const std::vector*> vars() const { return _vars; } + const Variable* getVar(unsigned int i) const { + return _vars[i]; + } unsigned int varCount() const { return _vars.size(); } @@ -58,7 +67,7 @@ struct EquationSystem { MaxStrategy strategy() const { return MaxStrategy(_max_expressions.size()); } - + VariableAssignment assignment() const { return VariableAssignment(_vars.size()); } @@ -69,7 +78,7 @@ struct EquationSystem { } return _right_expressions[v.id()]; } - const Expression*& operator[] (const Variable& v) const { + const Expression* operator[] (const Variable& v) const { if (_right_expressions.size() <= v.id()) { throw "Out of range"; } @@ -95,38 +104,27 @@ struct EquationSystem { VariableAssignment maxFixpoint() const { unsigned int size = _vars.size(); - VariableAssignment result(size, infinity()); - for (unsigned int i = 0; i < size; ++i) { - result = (*this)(result); - } - result = result.expand((*this)(result), -infinity()); - for (unsigned int i = 0; i < size-1; ++i) { - result = (*this)(result); - } + VariableAssignment newResult(size, infinity()); + VariableAssignment result(0); + do { + result = newResult; + newResult = (*this)(result); + } while (newResult != result); return result; } - VariableAssignment maxFixpoint(const MaxStrategy& strat) const { - unsigned int size = _vars.size(); - VariableAssignment result(size, infinity()); - for (unsigned int i = 0; i < size; ++i) { - result = strat(*this, result); - } - result = result.expand(strat(*this, result), -infinity()); - for (unsigned int i = 0; i < size-1; ++i) { - result = strat(*this, result); - } - return result; + VariableAssignment maxFixpoint(const MaxStrategy& strat, const FixpointAlgorithm& algo) const { + return algo.maxFixpoint(strat, *this); } - VariableAssignment minFixpoint() const { + VariableAssignment minFixpoint(const FixpointAlgorithm& algo) const { VariableAssignment rho = assignment(); VariableAssignment lastRho = assignment(); MaxStrategy strat = strategy(); do { lastRho = rho; strat = strat.improve(*this, rho); - rho = maxFixpoint(strat); + rho = maxFixpoint(strat, algo); } while(lastRho != rho); return rho; } diff --git a/impl/Expression.hpp b/impl/Expression.hpp index 5cf82d4..4798e60 100644 --- a/impl/Expression.hpp +++ b/impl/Expression.hpp @@ -22,6 +22,9 @@ struct Expression { virtual T operator() (const VariableAssignment& assignment) const { return (*_operator)(_arguments, assignment); } + virtual T operator() (const VariableAssignment& assignment, VariableSet* visited) const { + return (*_operator)(_arguments, assignment, visited); + } protected: Operator* _operator; std::vector< Expression* > _arguments; diff --git a/impl/FixpointAlgorithm.hpp b/impl/FixpointAlgorithm.hpp new file mode 100644 index 0000000..ed97bec --- /dev/null +++ b/impl/FixpointAlgorithm.hpp @@ -0,0 +1,98 @@ +#ifndef FIXPOINT_ALGORITHM_HPP +#define FIXPOINT_ALGORITHM_HPP + +#include "VariableAssignment.hpp" + +template +struct EquationSystem; +template +struct MaxStrategy; + +template +struct FixpointAlgorithm { + virtual VariableAssignment maxFixpoint(const MaxStrategy&, const EquationSystem&) const = 0; +}; + +#include "EquationSystem.hpp" +#include "MaxStrategy.hpp" + +template +struct NaiveFixpoint : public FixpointAlgorithm { + virtual VariableAssignment maxFixpoint(const MaxStrategy& strat, const EquationSystem& system) const { + unsigned int size = system.varCount(); + VariableAssignment newResult(size, infinity()); + VariableAssignment result(0); + do { + result = newResult; + newResult = strat(system, result); + } while (newResult != result); + return result; + } +}; + + +template +struct RecursiveFixpoint : public FixpointAlgorithm { + // this is a "VariableAssignment" which actually performs a recursive + // call to determine what value to return + struct EvaluatingVariableAssignment : public VariableAssignment { + EvaluatingVariableAssignment(const MaxStrategy& strategy, const EquationSystem& system) + : VariableAssignment(system.varCount(), infinity()), + _strategy(strategy), _system(system), + _evaluating(NULL), + _influence(system.varCount(), IdSet >(system.varCount())), + _stable(system.varCount()) { + } + virtual T& operator[] (const Variable& x) const { + if (_evaluating == NULL) { + solve(x); + return VariableAssignment::_assignment[x.id()]; + } else { + solve(x); + _influence[x].insert(*_evaluating); + return VariableAssignment::_assignment[x.id()]; + } + } + void solve(const Variable& x) const { + if (!_stable.contains(x)) { + _stable.insert(x); + + const Variable* oldEval = _evaluating; + _evaluating = &x; + T t = _strategy(*_system[x], *this); + _evaluating = oldEval; + + if (t != VariableAssignment::_assignment[x.id()]) { + IdSet > oldInfluence = _influence[x]; + _influence[x].clear(); // clear out our idea of what x influences + VariableAssignment::_assignment[x.id()] = t; + + _stable.filter(oldInfluence); // whatever x influences needs to be re-evaluated + + for (typename IdSet >::iterator it = oldInfluence.begin(); + it != oldInfluence.end(); + ++it) { + solve(*_system.getVar(*it)); + } + } + } + } + private: + const MaxStrategy& _strategy; + const EquationSystem& _system; + mutable const Variable* _evaluating; + mutable IdMap, IdSet > > _influence; + mutable IdSet > _stable; + }; + + virtual VariableAssignment maxFixpoint(const MaxStrategy& strat, const EquationSystem& system) const { + EvaluatingVariableAssignment assignment(strat, system); + VariableAssignment result(system.varCount()); + for (unsigned int i = 0; i < system.varCount(); ++i) { + result[*system.getVar(i)] = assignment[*system.getVar(i)]; + } + return result; + } +}; + +#endif diff --git a/impl/IdMap.hpp b/impl/IdMap.hpp new file mode 100644 index 0000000..b3a87fb --- /dev/null +++ b/impl/IdMap.hpp @@ -0,0 +1,81 @@ +#ifndef ID_MAP_HPP +#define ID_MAP_HPP + +#include + +template +struct IdMap { + IdMap(unsigned int length, V initial) + : _length(length), _assignment(new V[length]) { + for (unsigned int i = 0; i < _length; ++i) { + _assignment[i] = initial; + } + } + IdMap(const IdMap& other) + : _length(other._length), _assignment(new V[other._length]) { + for (unsigned int i = 0; i < _length; ++i) { + _assignment[i] = other._assignment[i]; + } + } + virtual ~IdMap() { + delete[] _assignment; + } + virtual IdMap& operator=(const IdMap& other) { + if (_length != other._length) { + delete[] _assignment; + _length = other._length; + _assignment = new V[_length]; + } + for (unsigned int i = 0; i < _length; ++i) { + _assignment[i] = other._assignment[i]; + } + return *this; + } + virtual const V& operator[] (const T& x) const { + if (x.id() >= _length) { + throw "Array out of bounds"; + } + return _assignment[x.id()]; + } + virtual V& operator[] (const T& x) { + if (x.id() >= _length) { + throw "Array out of bounds"; + } + return _assignment[x.id()]; + } + + virtual bool operator==(const IdMap& other) const { + if (_length != other._length) + return false; + for (unsigned int i = 0; i < _length; ++i) { + if (_assignment[i] != other._assignment[i]) { + return false; + } + } + return true; + } + virtual bool operator!=(const IdMap& other) const { + return !(*this == other); + } + + + template + friend std::ostream& operator<<(std::ostream& cout, const IdMap& rho); + + protected: + unsigned int _length; + V* _assignment; +}; + +template +std::ostream& operator<<(std::ostream& cout, const IdMap& rho) { + cout << "{"; + for (unsigned int i = 0; i < rho._length; ++i) { + if (i != 0) cout << ", "; + cout << i << ": " << rho._assignment[i]; + } + cout << "}"; + return cout; +} + +#endif diff --git a/impl/IdSet.hpp b/impl/IdSet.hpp new file mode 100644 index 0000000..6ced6b3 --- /dev/null +++ b/impl/IdSet.hpp @@ -0,0 +1,187 @@ +#ifndef IDSET_HPP +#define IDSET_HPP + +#include + +#define CELL_TYPE char +#define CELL_SIZE (8 * sizeof(CELL_TYPE)) +#define DIV_ROUND_UP(NUM, DEM) ((NUM + DEM - 1) / DEM) + +template +class IdSet { + public: + IdSet() : _length(0), _values(NULL) { } + IdSet(unsigned int length) + : _length(length), + _values(new CELL_TYPE[DIV_ROUND_UP(length, CELL_SIZE)]) { + for (unsigned int i = 0; i < _length; ++i) { + _values[i] = 0; + } + } + + virtual ~IdSet() { + if (_values != NULL) + delete[] _values; + } + + IdSet(const IdSet& other) { + _length = other._length; + _values = new CELL_TYPE[DIV_ROUND_UP(_length, CELL_SIZE)]; + for (unsigned int i = 0; i < _length; ++i) { + _values[i] = other._values[i]; + } + } + + IdSet& operator=(const IdSet& other) { + if (_length != other._length) { + if (_values != NULL) + delete[] _values; + _length = other._length; + _values = new CELL_TYPE[DIV_ROUND_UP(_length, CELL_SIZE)]; + } + for (unsigned int i = 0; i < _length; ++i) { + _values[i] = other._values[i]; + } + return *this; + } + + bool contains(const T& obj) const { + unsigned int id = obj.id(); + if (id >= _length) { + throw "Array out of bounds;"; + } + unsigned int cell = id / CELL_SIZE; + unsigned int bit = id % CELL_SIZE; + return (_values[cell] & (1 << bit)) != 0; + } + void insert(const T& obj) { + unsigned int id = obj.id(); + if (id >= _length) { + throw "Array out of bounds;"; + } + unsigned int cell = id / CELL_SIZE; + unsigned int bit = id % CELL_SIZE; + _values[cell] |= (1 << bit); + } + void remove(const T& obj) { + unsigned int id = obj.id(); + if (id >= _length) { + throw "Array out of bounds;"; + } + + unsigned int cell = id / CELL_SIZE; + unsigned int bit = id % CELL_SIZE; + if (this->contains(obj)) { + std::cout << obj.id() << " -> "; + } else { + std::cout << "null" << " -> "; + } + _values[cell] &= ~(1 << bit); + if (this->contains(obj)) { + std::cout << "still here" << std::endl; + } else { + std::cout << "Gone!" << std::endl; + } + } + void clear() { + for (unsigned int i = 0; i < DIV_ROUND_UP(_length, CELL_SIZE); ++i) { + _values[i] = 0; + } + } + + void absorb(const IdSet& other) { + if (_length == other._length) { + for (unsigned int i = 0; i < _length; ++i) { + _values[i] |= other._values[i]; + } + } else { + throw "Sets of different sizes cannot be combined."; + } + } + void filter(const IdSet& other) { + if (_length == other._length) { + for (unsigned int i = 0; i < DIV_ROUND_UP(_length, CELL_SIZE); ++i) { + _values[i] &= ~(other._values[i]); + } + } else { + throw "Sets of different sizes cannot be filtered."; + } + } + + bool operator==(const IdSet& other) const { + if (_length != other._length) + return false; + for (unsigned int i = 0; i < _length; ++i) { + if (_values[i] != other._values[i]) + return false; + } + return true; + } + bool operator!=(const IdSet& other) const { + return !(*this == other); + } + + + struct iterator { + iterator(const IdSet& set, unsigned int index) + : set(set), index(index) { + unsigned int cell, bit; + cell = index / CELL_SIZE; + bit = index % CELL_SIZE; + while (index < set._length && + (set._values[cell] & (1 << bit)) == 0) { + index++; + cell = index / CELL_SIZE; + bit = index % CELL_SIZE; + } + } + unsigned int operator*() const { + return index; + } + iterator& operator++() { + unsigned int cell, bit; + do { + index++; + if (index == set._length) { + return *this; + } + cell = index / CELL_SIZE; + bit = index % CELL_SIZE; + } while ((set._values[cell] & (1 << bit)) == 0); + return *this; + } + bool operator==(const iterator& other) { + return other.index == index; + } + bool operator!=(const iterator& other) { + return !(*this == other); + } + private: + const IdSet& set; + unsigned int index; + }; + iterator begin() const { + return iterator(*this, 0); + } + iterator end() const { + return iterator(*this, _length); + } + + private: + unsigned int _length; + CELL_TYPE* _values; +}; + +template +std::ostream& operator<<(std::ostream& cout, const IdSet& set) { + cout << "{"; + for (typename IdSet::iterator it = set.begin(); + it != set.end(); + ++it) { + cout << *it << ", "; + } + cout << "}"; + return cout; +} + +#endif diff --git a/impl/MaxStrategy.hpp b/impl/MaxStrategy.hpp index f4e4055..a1c50d8 100644 --- a/impl/MaxStrategy.hpp +++ b/impl/MaxStrategy.hpp @@ -23,6 +23,10 @@ struct MaxStrategy { } } + virtual ~MaxStrategy() { + delete[] _assignment; + } + MaxStrategy& operator=(const MaxStrategy& other) { if (_length != other._length) { _length = other._length; @@ -35,9 +39,6 @@ struct MaxStrategy { return *this; } - virtual ~MaxStrategy() { - delete[] _assignment; - } const unsigned int& operator[] (const MaxExpression x) const { if (x.id() >= _length) { throw "Array out of bounds"; @@ -64,11 +65,11 @@ struct MaxStrategy { MaxStrategy improve(const EquationSystem& s, const VariableAssignment& rho) const { MaxStrategy newStrategy(*this); for (unsigned int i = 0; i < _length; ++i) { - const MaxExpression* expr = s.getMax(i); - const T oldValue = (*this)(*expr, rho); - std::pair best = expr->bestStrategy(rho); + const MaxExpression& expr = *s.getMax(i); + const T oldValue = (*this)(expr, rho); + std::pair best = expr.bestStrategy(rho); if (best.first > oldValue) - newStrategy[*expr] = best.second; + newStrategy[expr] = best.second; } std::cerr << "Strat improvement: "; if (_length > 0) diff --git a/impl/Operator.hpp b/impl/Operator.hpp index c9b4a06..dee7f47 100644 --- a/impl/Operator.hpp +++ b/impl/Operator.hpp @@ -9,6 +9,12 @@ float infinity() { } #include +#include "IdSet.hpp" + +template +struct Variable; +template +struct VariableSet : public IdSet > {}; template struct VariableAssignment; @@ -17,16 +23,20 @@ struct Expression; template struct Operator { - virtual T operator() (const std::vector< Expression* >&, const VariableAssignment&) const = 0; + virtual ~Operator() { } + T operator() (const std::vector< Expression* >& args, const VariableAssignment& rho) const { + return (*this)(args, rho, (VariableSet*) NULL); + } + virtual T operator() (const std::vector< Expression* >&, const VariableAssignment&, VariableSet*) const = 0; }; template struct Maximum : public Operator { - virtual T operator() (const std::vector< Expression* >& args, const VariableAssignment& assignment) const { + virtual T operator() (const std::vector< Expression* >& args, const VariableAssignment& assignment, VariableSet* visited) const { T value = -infinity(); for (typename std::vector< Expression* >::const_iterator it = args.begin(); it != args.end(); ++it) { - T temporary = (**it)(assignment); + T temporary = (**it)(assignment, visited); value = (temporary < value ? value : temporary); } return value; @@ -34,13 +44,13 @@ struct Maximum : public Operator { }; template struct Minimum : public Operator { - virtual T operator() (const std::vector< Expression* >& args, const VariableAssignment& assignment) const { + virtual T operator() (const std::vector< Expression* >& args, const VariableAssignment& assignment, VariableSet* visited) const { T value = infinity(); for (typename std::vector< Expression* >::const_iterator it = args.begin(); it != args.end(); ++it) { - T temporary = (**it)(assignment); - value = (temporary > value ? value : temporary); + T temporary = (**it)(assignment, visited); + value = (temporary < value ? temporary : value); } return value; } @@ -50,7 +60,7 @@ template struct Constant : public Operator { Constant(const T& val) : _value(val) { } - T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass) const { + T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass, VariableSet*) const { return _value; } private: @@ -59,10 +69,10 @@ struct Constant : public Operator { template struct Addition: public Operator { - T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass) const { + T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass, VariableSet* visited) const { T sum = (*args[0])(ass); for (unsigned int i = 1, size = args.size(); i < size; ++i) { - sum += (*args[i])(ass); + sum += (*args[i])(ass, visited); } return sum; } @@ -70,15 +80,39 @@ struct Addition: public Operator { template struct Subtraction: public Operator { - T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass) const { + T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass, VariableSet* visited) const { T sum = (*args[0])(ass); for (unsigned int i = 1, size = args.size(); i < size; ++i) { - sum -= (*args[i])(ass); + sum -= (*args[i])(ass, visited); } return sum; } }; +template +struct Comma: public Operator { + T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass, VariableSet* visited) const { + if ((*args[0])(ass, visited) == -infinity()) { + std::cout << "Comma - neg inf" << std::endl; + return -infinity(); + } else { + std::cout << "Comma - finite" << std::endl; + return (*args[1])(ass, visited); + } + } +}; + +template +struct Guard: public Operator { + T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass, VariableSet* visited) const { + if ((*args[0])(ass, visited) < (*args[1])(ass, visited)) { + return -infinity(); + } else { + return (*args[2])(ass, visited); + } + } +}; + #include "VariableAssignment.hpp" #include "Expression.hpp" diff --git a/impl/Variable.hpp b/impl/Variable.hpp index c46db02..5ebbbed 100644 --- a/impl/Variable.hpp +++ b/impl/Variable.hpp @@ -16,13 +16,22 @@ struct Variable : public Operator { std::string name() const { return _name; } - T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass) const { + //T operator() (const std::vector< Expression* >& args, const VariableAssignment& ass) const { + virtual T operator() (const std::vector< Expression* >& args, const VariableAssignment& assignment, VariableSet* visited) const { //assert(args.size() == 0) - return ass[*this]; + if (visited != NULL) + visited->insert(*this); + return assignment[*this]; } private: const unsigned int _id; const std::string _name; }; +template +std::ostream& operator<<(std::ostream& cout, const Variable& v) { + cout << v.name() << "(" << v.id() << ")"; + return cout; +} + #endif diff --git a/impl/VariableAssignment.hpp b/impl/VariableAssignment.hpp index d604a74..9d8137a 100644 --- a/impl/VariableAssignment.hpp +++ b/impl/VariableAssignment.hpp @@ -2,84 +2,16 @@ #define VARIABLE_ASSIGNMENT_HPP #include "Variable.hpp" -#include +#include "IdMap.hpp" template -struct VariableAssignment { +struct VariableAssignment : public IdMap,T> { VariableAssignment(unsigned int length) - : _length(length), _assignment(new T[length]) { - for (unsigned int i = 0; i < _length; ++i) { - _assignment[i] = -infinity(); - } - } + : IdMap,T>(length, -infinity()) { } VariableAssignment(unsigned int length, const T& initial) - : _length(length), _assignment(new T[length]) { - for (unsigned int i = 0; i < _length; ++i) { - _assignment[i] = initial; - } - } + : IdMap,T>(length, initial) { } VariableAssignment(const VariableAssignment& other) - : _length(other._length), _assignment(new T[other._length]) { - for (unsigned int i = 0; i < _length; ++i) { - _assignment[i] = other._assignment[i]; - } - } - ~VariableAssignment() { - delete[] _assignment; - } - VariableAssignment& operator=(const VariableAssignment& other) { - delete[] _assignment; - _length = other._length; - _assignment = new T[_length]; - for (unsigned int i = 0; i < _length; ++i) { - _assignment[i] = other._assignment[i]; - } - return *this; - } - const T& operator[] (const Variable& x) const { - if (x.id() >= _length) { - throw "Array out of bounds"; - } - return _assignment[x.id()]; - } - T& operator[] (const Variable& x) { - if (x.id() >= _length) { - throw "Array out of bounds"; - } - return _assignment[x.id()]; - } - - VariableAssignment expand(const VariableAssignment& other) { - return expand(other, infinity()); - } - VariableAssignment expand(const VariableAssignment& other, const T& value) { - VariableAssignment expansion(_length); - for (unsigned int i = 0; i < _length; ++i) { - if (_assignment[i] == other._assignment[i]) { - expansion._assignment[i] = _assignment[i]; - } else { - expansion._assignment[i] = value; - } - } - return expansion; - } - - bool operator==(const VariableAssignment& other) const { - if (_length != other._length) - return false; - for (unsigned int i = 0; i < _length; ++i) { - if (_assignment[i] != other._assignment[i]) { - return false; - } - } - return true; - } - bool operator!=(const VariableAssignment& other) const { - return !(*this == other); - } - private: - unsigned int _length; - T* _assignment; + : IdMap,T>(other) { } }; #endif diff --git a/impl/antlr/generate.py b/impl/antlr/generate.py new file mode 100644 index 0000000..4513fe2 --- /dev/null +++ b/impl/antlr/generate.py @@ -0,0 +1,4 @@ + +print 'x0 = 0' +for i in xrange(10000): + print 'x' + str(i+1) + " = x" + str(i) diff --git a/impl/antlr/libantlr3c-3.4/Makefile b/impl/antlr/libantlr3c-3.4/Makefile index 30002a2..1f6a077 100644 --- a/impl/antlr/libantlr3c-3.4/Makefile +++ b/impl/antlr/libantlr3c-3.4/Makefile @@ -33,8 +33,8 @@ POST_INSTALL = : NORMAL_UNINSTALL = : PRE_UNINSTALL = : POST_UNINSTALL = : -build_triplet = i686-pc-linux-gnu -host_triplet = i686-pc-linux-gnu +build_triplet = x86_64-unknown-linux-gnu +host_triplet = x86_64-unknown-linux-gnu subdir = . DIST_COMMON = README $(am__configure_deps) $(include_HEADERS) \ $(srcdir)/Makefile.am $(srcdir)/Makefile.in \ @@ -121,12 +121,12 @@ DIST_ARCHIVES = $(distdir).tar.gz GZIP_ENV = --best distuninstallcheck_listfiles = find . -type f -print distcleancheck_listfiles = find . -type f -print -ACLOCAL = ${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run aclocal-1.11 -AMTAR = ${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run tar +ACLOCAL = ${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run aclocal-1.11 +AMTAR = ${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run tar AR = ar -AUTOCONF = ${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run autoconf -AUTOHEADER = ${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run autoheader -AUTOMAKE = ${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run automake-1.11 +AUTOCONF = ${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run autoconf +AUTOHEADER = ${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run autoheader +AUTOMAKE = ${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run automake-1.11 AWK = mawk CC = gcc CCDEPMODE = depmode=gcc3 @@ -150,7 +150,7 @@ INSTALL_DATA = ${INSTALL} -m 644 INSTALL_PROGRAM = ${INSTALL} INSTALL_SCRIPT = ${INSTALL} INSTALL_STRIP_PROGRAM = $(install_sh) -c -s -LD = /usr/bin/ld +LD = /usr/bin/ld -m elf_x86_64 LDFLAGS = LIBOBJS = LIBS = @@ -159,7 +159,7 @@ LIPO = LN_S = ln -s LTLIBOBJS = MAINT = # -MAKEINFO = ${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run makeinfo +MAKEINFO = ${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run makeinfo MKDIR_P = /bin/mkdir -p NM = /usr/bin/nm -B NMEDIT = @@ -182,10 +182,10 @@ SET_MAKE = SHELL = /bin/bash STRIP = strip VERSION = 3.4 -abs_builddir = /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4 -abs_srcdir = /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4 -abs_top_builddir = /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4 -abs_top_srcdir = /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4 +abs_builddir = /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4 +abs_srcdir = /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4 +abs_top_builddir = /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4 +abs_top_srcdir = /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4 ac_ct_CC = gcc ac_ct_DUMPBIN = am__include = include @@ -194,26 +194,26 @@ am__quote = am__tar = ${AMTAR} chof - "$$tardir" am__untar = ${AMTAR} xf - bindir = ${exec_prefix}/bin -build = i686-pc-linux-gnu +build = x86_64-unknown-linux-gnu build_alias = -build_cpu = i686 +build_cpu = x86_64 build_os = linux-gnu -build_vendor = pc +build_vendor = unknown builddir = . datadir = ${datarootdir} datarootdir = ${prefix}/share docdir = ${datarootdir}/doc/${PACKAGE_TARNAME} dvidir = ${docdir} exec_prefix = ${prefix} -host = i686-pc-linux-gnu +host = x86_64-unknown-linux-gnu host_alias = -host_cpu = i686 +host_cpu = x86_64 host_os = linux-gnu -host_vendor = pc +host_vendor = unknown htmldir = ${docdir} includedir = ${prefix}/include infodir = ${datarootdir}/info -install_sh = ${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/install-sh +install_sh = ${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/install-sh libdir = ${exec_prefix}/lib libexecdir = ${exec_prefix}/libexec localedir = ${datarootdir}/locale diff --git a/impl/antlr/libantlr3c-3.4/antlr3config.h b/impl/antlr/libantlr3c-3.4/antlr3config.h index b1dbd09..eb5d955 100644 --- a/impl/antlr/libantlr3c-3.4/antlr3config.h +++ b/impl/antlr/libantlr3c-3.4/antlr3config.h @@ -8,46 +8,46 @@ /* #undef ANTLR3_USE_64BIT */ /* Define to 1 if you have the `accept' function. */ -#define HAVE_ACCEPT 1 +/* #undef HAVE_ACCEPT */ /* Define to 1 if you have the header file. */ -#define HAVE_ARPA_NAMESER_H 1 +/* #undef HAVE_ARPA_NAMESER_H */ /* Define to 1 if you have the header file. */ -#define HAVE_CTYPE_H 1 +/* #undef HAVE_CTYPE_H */ /* Define to 1 if you have the header file. */ #define HAVE_DLFCN_H 1 /* Define to 1 if the system has the type `intptr_t'. */ -#define HAVE_INTPTR_T 1 +/* #undef HAVE_INTPTR_T */ /* Define to 1 if you have the header file. */ #define HAVE_INTTYPES_H 1 /* Define to 1 if you have the header file. */ -#define HAVE_MALLOC_H 1 +/* #undef HAVE_MALLOC_H */ /* Define to 1 if you have the `memmove' function. */ -#define HAVE_MEMMOVE 1 +/* #undef HAVE_MEMMOVE */ /* Define to 1 if you have the header file. */ #define HAVE_MEMORY_H 1 /* Define to 1 if you have the `memset' function. */ -#define HAVE_MEMSET 1 +/* #undef HAVE_MEMSET */ /* Define to 1 if you have the header file. */ -#define HAVE_NETDB_H 1 +/* #undef HAVE_NETDB_H */ /* Define to 1 if you have the header file. */ -#define HAVE_NETINET_IN_H 1 +/* #undef HAVE_NETINET_IN_H */ /* Define to 1 if you have the header file. */ -#define HAVE_NETINET_TCP_H 1 +/* #undef HAVE_NETINET_TCP_H */ /* Define to 1 if you have the header file. */ -#define HAVE_RESOLV_H 1 +/* #undef HAVE_RESOLV_H */ /* Define to 1 if you have the header file. */ /* #undef HAVE_SOCKET_H */ @@ -62,7 +62,7 @@ #define HAVE_STDLIB_H 1 /* Define to 1 if you have the `strdup' function. */ -#define HAVE_STRDUP 1 +/* #undef HAVE_STRDUP */ /* Define to 1 if you have the header file. */ #define HAVE_STRINGS_H 1 @@ -74,7 +74,7 @@ /* #undef HAVE_SYS_MALLOC_H */ /* Define to 1 if you have the header file. */ -#define HAVE_SYS_SOCKET_H 1 +/* #undef HAVE_SYS_SOCKET_H */ /* Define to 1 if you have the header file. */ #define HAVE_SYS_STAT_H 1 @@ -83,7 +83,7 @@ #define HAVE_SYS_TYPES_H 1 /* Define to 1 if the system has the type `uintptr_t'. */ -#define HAVE_UINTPTR_T 1 +/* #undef HAVE_UINTPTR_T */ /* Define to 1 if you have the header file. */ #define HAVE_UNISTD_H 1 @@ -164,7 +164,7 @@ /* #undef intptr_t */ /* Define to `unsigned int' if does not define. */ -/* #undef size_t */ +#define size_t unsigned int /* Define to the type of an unsigned integer type of width exactly 16 bits if such a type exists and the standard includes do not define it. */ diff --git a/impl/antlr/libantlr3c-3.4/config.log b/impl/antlr/libantlr3c-3.4/config.log index 2e615d8..656285a 100644 --- a/impl/antlr/libantlr3c-3.4/config.log +++ b/impl/antlr/libantlr3c-3.4/config.log @@ -10,11 +10,11 @@ generated by GNU Autoconf 2.66. Invocation command line was ## Platform. ## ## --------- ## -hostname = carlo-laptop -uname -m = i686 -uname -r = 3.2.0-2-686-pae +hostname = pc-4w14-0 +uname -m = x86_64 +uname -r = 3.2.0-2-amd64 uname -s = Linux -uname -v = #1 SMP Thu Mar 29 00:16:59 UTC 2012 +uname -v = #1 SMP Tue Mar 20 18:36:37 UTC 2012 /usr/bin/uname -p = unknown /bin/uname -X = unknown @@ -27,10 +27,6 @@ uname -v = #1 SMP Thu Mar 29 00:16:59 UTC 2012 /usr/bin/oslevel = unknown /bin/universe = unknown -PATH: /home/carlo/bin -PATH: /home/carlo/tools/play -PATH: /home/carlo/bin -PATH: /home/carlo/tools/play PATH: /usr/local/bin PATH: /usr/bin PATH: /bin @@ -64,7 +60,7 @@ configure:2954: found /usr/bin/gcc configure:2965: result: gcc configure:2996: checking for C compiler version configure:3005: gcc --version >&5 -gcc (Debian 4.6.3-1) 4.6.3 +gcc (Debian 4.6.3-4) 4.6.3 Copyright (C) 2011 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. @@ -73,11 +69,11 @@ configure:3016: $? = 0 configure:3005: gcc -v >&5 Using built-in specs. COLLECT_GCC=gcc -COLLECT_LTO_WRAPPER=/usr/lib/gcc/i486-linux-gnu/4.6/lto-wrapper -Target: i486-linux-gnu -Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-1' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --enable-targets=all --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=i486-linux-gnu --host=i486-linux-gnu --target=i486-linux-gnu +COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper +Target: x86_64-linux-gnu +Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.3-4' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-gnu-unique-object --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix -gcc version 4.6.3 (Debian 4.6.3-1) +gcc version 4.6.3 (Debian 4.6.3-4) configure:3016: $? = 0 configure:3005: gcc -V >&5 gcc: error: unrecognized option '-V' @@ -128,9 +124,9 @@ configure:3656: result: gcc3 configure:3672: checking whether to enable maintainer-specific portions of Makefiles configure:3681: result: no configure:3723: checking build system type -configure:3737: result: i686-pc-linux-gnu +configure:3737: result: x86_64-unknown-linux-gnu configure:3757: checking host system type -configure:3770: result: i686-pc-linux-gnu +configure:3770: result: x86_64-unknown-linux-gnu configure:3811: checking how to print strings configure:3838: result: printf configure:3859: checking for a sed that does not truncate output @@ -151,7 +147,7 @@ configure:4448: checking the name lister (/usr/bin/nm -B) interface configure:4455: gcc -c -g -O2 conftest.c >&5 configure:4458: /usr/bin/nm -B "conftest.o" configure:4461: output -00000000 B some_variable +0000000000000000 B some_variable configure:4468: result: BSD nm configure:4471: checking whether ln -s works configure:4475: result: yes @@ -185,6 +181,8 @@ configure:5538: $? = 0 configure:5592: gcc -o conftest -g -O2 conftest.c conftstm.o >&5 configure:5595: $? = 0 configure:5633: result: ok +configure:5729: gcc -c -g -O2 conftest.c >&5 +configure:5732: $? = 0 configure:6474: checking how to run the C preprocessor configure:6505: gcc -E conftest.c configure:6505: $? = 0 @@ -292,7 +290,7 @@ configure:7690: $? = 0 configure:7712: result: yes configure:7720: checking if gcc supports -c -o file.o configure:7767: result: yes -configure:7800: checking whether the gcc linker (/usr/bin/ld) supports shared libraries +configure:7800: checking whether the gcc linker (/usr/bin/ld -m elf_x86_64) supports shared libraries configure:8875: result: yes configure:8912: checking whether -lc should be explicitly linked in configure:8920: gcc -c -g -O2 conftest.c >&5 @@ -314,7 +312,7 @@ configure:10518: checking whether to build shared libraries configure:10539: result: yes configure:10542: checking whether to build static libraries configure:10546: result: yes -configure:10587: checking compiler flags required for compiling ANTLR with gcc C compiler on host i686-pc-linux-gnu +configure:10587: checking compiler flags required for compiling ANTLR with gcc C compiler on host x86_64-unknown-linux-gnu configure:10661: result: -m32 -O2 -Wall configure:10677: checking whether ln -s works configure:10681: result: yes @@ -324,23 +322,183 @@ configure:10727: checking for sys/types.h configure:10727: result: yes configure:10727: checking for netinet/in.h configure:10727: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10727: $? = 0 -configure:10727: result: yes +conftest.c:25:25: fatal error: sys/types.h: No such file or directory +compilation terminated. +configure:10727: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| /* end confdefs.h. */ +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_NETINET_IN_H +| # include /* inet_ functions / structs */ +| #endif +| #ifdef HAVE_ARPA_NAMESER_H +| # include /* DNS HEADER struct */ +| #endif +| #ifdef HAVE_NETDB_H +| # include +| #endif +| +| #include +configure:10727: result: no configure:10727: checking for arpa/nameser.h configure:10727: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10727: $? = 0 -configure:10727: result: yes +conftest.c:25:25: fatal error: sys/types.h: No such file or directory +compilation terminated. +configure:10727: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| /* end confdefs.h. */ +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_NETINET_IN_H +| # include /* inet_ functions / structs */ +| #endif +| #ifdef HAVE_ARPA_NAMESER_H +| # include /* DNS HEADER struct */ +| #endif +| #ifdef HAVE_NETDB_H +| # include +| #endif +| +| #include +configure:10727: result: no configure:10727: checking for netdb.h configure:10727: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10727: $? = 0 -configure:10727: result: yes +conftest.c:25:25: fatal error: sys/types.h: No such file or directory +compilation terminated. +configure:10727: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| /* end confdefs.h. */ +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_NETINET_IN_H +| # include /* inet_ functions / structs */ +| #endif +| #ifdef HAVE_ARPA_NAMESER_H +| # include /* DNS HEADER struct */ +| #endif +| #ifdef HAVE_NETDB_H +| # include +| #endif +| +| #include +configure:10727: result: no configure:10727: checking for resolv.h configure:10727: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10727: $? = 0 -configure:10727: result: yes +conftest.c:25:25: fatal error: sys/types.h: No such file or directory +compilation terminated. +configure:10727: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| /* end confdefs.h. */ +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_NETINET_IN_H +| # include /* inet_ functions / structs */ +| #endif +| #ifdef HAVE_ARPA_NAMESER_H +| # include /* DNS HEADER struct */ +| #endif +| #ifdef HAVE_NETDB_H +| # include +| #endif +| +| #include +configure:10727: result: no configure:10753: checking for sys/malloc.h configure:10753: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c:36:24: fatal error: sys/malloc.h: No such file or directory +conftest.c:32:24: fatal error: sys/malloc.h: No such file or directory compilation terminated. configure:10753: $? = 1 configure: failed program was: @@ -366,10 +524,6 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_TYPES_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_ARPA_NAMESER_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_RESOLV_H 1 | /* end confdefs.h. */ | #ifdef HAVE_SYS_MALLOC_H | #include @@ -383,8 +537,45 @@ configure: failed program was: configure:10753: result: no configure:10753: checking for malloc.h configure:10753: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10753: $? = 0 -configure:10753: result: yes +In file included from /usr/include/malloc.h:24:0, + from conftest.c:32: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10753: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| /* end confdefs.h. */ +| #ifdef HAVE_SYS_MALLOC_H +| #include +| #endif +| #ifdef HAVE_MALLOC_H +| #include +| #endif +| +| +| #include +configure:10753: result: no configure:10772: checking for stdarg.h configure:10772: gcc -c -m32 -O2 -Wall conftest.c >&5 configure:10772: $? = 0 @@ -393,19 +584,87 @@ configure:10789: checking for sys/stat.h configure:10789: result: yes configure:10806: checking for ctype.h configure:10806: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10806: $? = 0 -configure:10806: result: yes +In file included from /usr/include/ctype.h:27:0, + from conftest.c:31: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10806: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| /* end confdefs.h. */ +| #ifdef HAVE_CTYPE_H +| #include +| #endif +| +| +| #include +configure:10806: result: no configure:10823: checking for netinet/tcp.h configure:10823: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10823: $? = 0 -configure:10823: result: yes +In file included from /usr/include/netinet/tcp.h:35:0, + from conftest.c:31: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10823: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| /* end confdefs.h. */ +| #ifdef HAVE_NETINET_TCP_H +| #include +| #endif +| +| +| #include +configure:10823: result: no configure:10841: checking for sys/socket.h configure:10841: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10841: $? = 0 -configure:10841: result: yes -configure:10841: checking for socket.h -configure:10841: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c:42:20: fatal error: socket.h: No such file or directory +conftest.c:34:24: fatal error: sys/socket.h: No such file or directory compilation terminated. configure:10841: $? = 1 configure: failed program was: @@ -431,16 +690,8 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_TYPES_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_ARPA_NAMESER_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_RESOLV_H 1 -| #define HAVE_MALLOC_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_SYS_STAT_H 1 -| #define HAVE_CTYPE_H 1 -| #define HAVE_NETINET_TCP_H 1 -| #define HAVE_SYS_SOCKET_H 1 | /* end confdefs.h. */ | #ifdef HAVE_SYS_SOCKET_H | #include @@ -449,22 +700,3852 @@ configure: failed program was: | #include | #endif | -| -| #include -configure:10841: result: no -configure:10860: checking for an ANSI C-conforming const -configure:10925: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:63:10: warning: 't' is used uninitialized in this function [-Wuninitialized] -configure:10925: $? = 0 -configure:10932: result: yes -configure:10940: checking for size_t -configure:10940: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10940: $? = 0 -configure:10940: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:70:21: error: expected expression before ')' token -configure:10940: $? = 1 +| +| #include +configure:10841: result: no +configure:10841: checking for socket.h +configure:10841: gcc -c -m32 -O2 -Wall conftest.c >&5 +conftest.c:34:20: fatal error: socket.h: No such file or directory +compilation terminated. +configure:10841: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| /* end confdefs.h. */ +| #ifdef HAVE_SYS_SOCKET_H +| #include +| #endif +| #ifdef HAVE_SOCKET_H +| #include +| #endif +| +| +| #include +configure:10841: result: no +configure:10860: checking for an ANSI C-conforming const +configure:10925: gcc -c -m32 -O2 -Wall conftest.c >&5 +conftest.c: In function 'main': +conftest.c:55:10: warning: 't' is used uninitialized in this function [-Wuninitialized] +configure:10925: $? = 0 +configure:10932: result: yes +configure:10940: checking for size_t +configure:10940: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:26: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10940: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if (sizeof (size_t)) +| return 0; +| ; +| return 0; +| } +configure:10940: result: no +configure:10951: checking for int8_t +configure:10951: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10951: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 8 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10951: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10951: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 8 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (int) (((((int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10951: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10951: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 8 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (long int) (((((long int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10951: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10951: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 8 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (long long int) (((((long long int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10951: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10951: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 8 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (short int) (((((short int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10951: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10951: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 8 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (signed char) (((((signed char) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10951: result: no +configure:10962: checking for int16_t +configure:10962: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10962: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 16 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10962: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10962: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 16 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (int) (((((int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10962: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10962: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 16 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (long int) (((((long int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10962: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10962: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 16 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (long long int) (((((long long int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10962: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10962: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 16 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (short int) (((((short int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10962: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10962: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 16 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (signed char) (((((signed char) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10962: result: no +configure:10973: checking for int32_t +configure:10973: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10973: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 32 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10973: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10973: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 32 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (int) (((((int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10973: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10973: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 32 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (long int) (((((long int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10973: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10973: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 32 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (long long int) (((((long long int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10973: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10973: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 32 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (short int) (((((short int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10973: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10973: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 32 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (signed char) (((((signed char) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10973: result: no +configure:10984: checking for int64_t +configure:10984: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10984: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 64 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10984: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10984: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 64 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (int) (((((int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10984: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10984: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 64 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (long int) (((((long int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10984: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10984: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 64 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (long long int) (((((long long int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10984: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10984: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 64 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (short int) (((((short int) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10984: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10984: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| enum { N = 64 / 2 - 1 }; +| int +| main () +| { +| static int test_array [1 - 2 * !(0 < (signed char) (((((signed char) 1 << N) << N) - 1) * 2 + 1))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:10984: result: no +configure:10996: checking for intptr_t +configure:10996: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:10996: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| if (sizeof (intptr_t)) +| return 0; +| ; +| return 0; +| } +configure:10996: result: no +configure:11016: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11016: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(sizeof (void *) <= sizeof (int))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11016: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11016: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(sizeof (void *) <= sizeof (long int))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11016: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11016: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(sizeof (void *) <= sizeof (long long int))]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11030: checking for uint8_t +configure:11030: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11030: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((uint8_t) -1 >> (8 / 2 - 1)) >> (8 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11030: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11030: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned int) -1 >> (8 / 2 - 1)) >> (8 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11030: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11030: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned long int) -1 >> (8 / 2 - 1)) >> (8 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11030: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11030: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned long long int) -1 >> (8 / 2 - 1)) >> (8 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11030: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11030: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned short int) -1 >> (8 / 2 - 1)) >> (8 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11030: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11030: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned char) -1 >> (8 / 2 - 1)) >> (8 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11030: result: no +configure:11044: checking for uint16_t +configure:11044: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11044: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((uint16_t) -1 >> (16 / 2 - 1)) >> (16 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11044: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11044: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned int) -1 >> (16 / 2 - 1)) >> (16 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11044: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11044: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned long int) -1 >> (16 / 2 - 1)) >> (16 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11044: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11044: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned long long int) -1 >> (16 / 2 - 1)) >> (16 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11044: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11044: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned short int) -1 >> (16 / 2 - 1)) >> (16 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11044: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11044: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned char) -1 >> (16 / 2 - 1)) >> (16 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11044: result: no +configure:11056: checking for uint32_t +configure:11056: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11056: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((uint32_t) -1 >> (32 / 2 - 1)) >> (32 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11056: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11056: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned int) -1 >> (32 / 2 - 1)) >> (32 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11056: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11056: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned long int) -1 >> (32 / 2 - 1)) >> (32 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11056: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11056: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned long long int) -1 >> (32 / 2 - 1)) >> (32 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11056: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11056: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned short int) -1 >> (32 / 2 - 1)) >> (32 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11056: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11056: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned char) -1 >> (32 / 2 - 1)) >> (32 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11056: result: no +configure:11070: checking for uint64_t +configure:11070: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11070: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((uint64_t) -1 >> (64 / 2 - 1)) >> (64 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11070: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11070: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned int) -1 >> (64 / 2 - 1)) >> (64 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11070: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11070: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| #include +| #ifdef HAVE_SYS_TYPES_H +| # include +| #endif +| #ifdef HAVE_SYS_STAT_H +| # include +| #endif +| #ifdef STDC_HEADERS +| # include +| # include +| #else +| # ifdef HAVE_STDLIB_H +| # include +| # endif +| #endif +| #ifdef HAVE_STRING_H +| # if !defined STDC_HEADERS && defined HAVE_MEMORY_H +| # include +| # endif +| # include +| #endif +| #ifdef HAVE_STRINGS_H +| # include +| #endif +| #ifdef HAVE_INTTYPES_H +| # include +| #endif +| #ifdef HAVE_STDINT_H +| # include +| #endif +| #ifdef HAVE_UNISTD_H +| # include +| #endif +| int +| main () +| { +| static int test_array [1 - 2 * !(((unsigned long int) -1 >> (64 / 2 - 1)) >> (64 / 2 - 1) == 3)]; +| test_array [0] = 0 +| +| ; +| return 0; +| } +configure:11070: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11070: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libantlr3c" @@ -488,16 +4569,9 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_TYPES_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_ARPA_NAMESER_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_RESOLV_H 1 -| #define HAVE_MALLOC_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_SYS_STAT_H 1 -| #define HAVE_CTYPE_H 1 -| #define HAVE_NETINET_TCP_H 1 -| #define HAVE_SYS_SOCKET_H 1 +| #define size_t unsigned int | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H @@ -535,22 +4609,18 @@ configure: failed program was: | int | main () | { -| if (sizeof ((size_t))) -| return 0; +| static int test_array [1 - 2 * !(((unsigned long long int) -1 >> (64 / 2 - 1)) >> (64 / 2 - 1) == 3)]; +| test_array [0] = 0 +| | ; | return 0; | } -configure:10940: result: yes -configure:10951: checking for int8_t -configure:10951: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:10951: $? = 0 -configure:10951: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: error: size of array 'test_array' is negative -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:10951: $? = 1 +configure:11070: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11070: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libantlr3c" @@ -574,16 +4644,9 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_TYPES_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_ARPA_NAMESER_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_RESOLV_H 1 -| #define HAVE_MALLOC_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_SYS_STAT_H 1 -| #define HAVE_CTYPE_H 1 -| #define HAVE_NETINET_TCP_H 1 -| #define HAVE_SYS_SOCKET_H 1 +| #define size_t unsigned int | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H @@ -618,28 +4681,21 @@ configure: failed program was: | #ifdef HAVE_UNISTD_H | # include | #endif -| enum { N = 8 / 2 - 1 }; | int | main () | { -| static int test_array [1 - 2 * !((int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 1) -| < (int8_t) (((((int8_t) 1 << N) << N) - 1) * 2 + 2))]; +| static int test_array [1 - 2 * !(((unsigned short int) -1 >> (64 / 2 - 1)) >> (64 / 2 - 1) == 3)]; | test_array [0] = 0 | | ; | return 0; | } -configure:10951: result: yes -configure:10962: checking for int16_t -configure:10962: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:10962: $? = 0 -configure:10962: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: error: size of array 'test_array' is negative -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:10962: $? = 1 +configure:11070: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11070: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libantlr3c" @@ -663,16 +4719,9 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_TYPES_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_ARPA_NAMESER_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_RESOLV_H 1 -| #define HAVE_MALLOC_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_SYS_STAT_H 1 -| #define HAVE_CTYPE_H 1 -| #define HAVE_NETINET_TCP_H 1 -| #define HAVE_SYS_SOCKET_H 1 +| #define size_t unsigned int | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H @@ -707,30 +4756,23 @@ configure: failed program was: | #ifdef HAVE_UNISTD_H | # include | #endif -| enum { N = 16 / 2 - 1 }; | int | main () | { -| static int test_array [1 - 2 * !((int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 1) -| < (int16_t) (((((int16_t) 1 << N) << N) - 1) * 2 + 2))]; +| static int test_array [1 - 2 * !(((unsigned char) -1 >> (64 / 2 - 1)) >> (64 / 2 - 1) == 3)]; | test_array [0] = 0 | | ; | return 0; | } -configure:10962: result: yes -configure:10973: checking for int32_t -configure:10973: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:10973: $? = 0 -configure:10973: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:72:53: warning: integer overflow in expression [-Woverflow] -conftest.c:71:12: error: size of array 'test_array' is negative -conftest.c:71:12: error: storage size of 'test_array' isn't constant -conftest.c:71:12: warning: unused variable 'test_array' [-Wunused-variable] -configure:10973: $? = 1 +configure:11070: result: no +configure:11085: checking for uintptr_t +configure:11085: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11085: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libantlr3c" @@ -754,16 +4796,9 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_TYPES_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_ARPA_NAMESER_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_RESOLV_H 1 -| #define HAVE_MALLOC_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_SYS_STAT_H 1 -| #define HAVE_CTYPE_H 1 -| #define HAVE_NETINET_TCP_H 1 -| #define HAVE_SYS_SOCKET_H 1 +| #define size_t unsigned int | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H @@ -798,30 +4833,21 @@ configure: failed program was: | #ifdef HAVE_UNISTD_H | # include | #endif -| enum { N = 32 / 2 - 1 }; | int | main () | { -| static int test_array [1 - 2 * !((int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 1) -| < (int32_t) (((((int32_t) 1 << N) << N) - 1) * 2 + 2))]; -| test_array [0] = 0 -| +| if (sizeof (uintptr_t)) +| return 0; | ; | return 0; | } -configure:10973: result: yes -configure:10984: checking for int64_t -configure:10984: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:10984: $? = 0 -configure:10984: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:72:53: warning: integer overflow in expression [-Woverflow] -conftest.c:71:12: error: size of array 'test_array' is negative -conftest.c:71:12: error: storage size of 'test_array' isn't constant -conftest.c:71:12: warning: unused variable 'test_array' [-Wunused-variable] -configure:10984: $? = 1 +configure:11085: result: no +configure:11106: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11106: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libantlr3c" @@ -845,16 +4871,9 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_TYPES_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_ARPA_NAMESER_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_RESOLV_H 1 -| #define HAVE_MALLOC_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_SYS_STAT_H 1 -| #define HAVE_CTYPE_H 1 -| #define HAVE_NETINET_TCP_H 1 -| #define HAVE_SYS_SOCKET_H 1 +| #define size_t unsigned int | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H @@ -889,25 +4908,21 @@ configure: failed program was: | #ifdef HAVE_UNISTD_H | # include | #endif -| enum { N = 64 / 2 - 1 }; | int | main () | { -| static int test_array [1 - 2 * !((int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 1) -| < (int64_t) (((((int64_t) 1 << N) << N) - 1) * 2 + 2))]; +| static int test_array [1 - 2 * !(sizeof (void *) <= sizeof (unsigned int))]; | test_array [0] = 0 | | ; | return 0; | } -configure:10984: result: yes -configure:10996: checking for intptr_t -configure:10996: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:10996: $? = 0 -configure:10996: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:70:23: error: expected expression before ')' token -configure:10996: $? = 1 +configure:11106: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11106: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libantlr3c" @@ -931,16 +4946,9 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_TYPES_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_ARPA_NAMESER_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_RESOLV_H 1 -| #define HAVE_MALLOC_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_SYS_STAT_H 1 -| #define HAVE_CTYPE_H 1 -| #define HAVE_NETINET_TCP_H 1 -| #define HAVE_SYS_SOCKET_H 1 +| #define size_t unsigned int | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H @@ -978,43 +4986,18 @@ configure: failed program was: | int | main () | { -| if (sizeof ((intptr_t))) -| return 0; +| static int test_array [1 - 2 * !(sizeof (void *) <= sizeof (unsigned long int))]; +| test_array [0] = 0 +| | ; | return 0; | } -configure:10996: result: yes -configure:11030: checking for uint8_t -configure:11030: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:11030: $? = 0 -configure:11030: result: yes -configure:11044: checking for uint16_t -configure:11044: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:11044: $? = 0 -configure:11044: result: yes -configure:11056: checking for uint32_t -configure:11056: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:11056: $? = 0 -configure:11056: result: yes -configure:11070: checking for uint64_t -configure:11070: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:12: warning: variable 'test_array' set but not used [-Wunused-but-set-variable] -configure:11070: $? = 0 -configure:11070: result: yes -configure:11085: checking for uintptr_t -configure:11085: gcc -c -m32 -O2 -Wall conftest.c >&5 -configure:11085: $? = 0 -configure:11085: gcc -c -m32 -O2 -Wall conftest.c >&5 -conftest.c: In function 'main': -conftest.c:71:24: error: expected expression before ')' token -configure:11085: $? = 1 +configure:11106: gcc -c -m32 -O2 -Wall conftest.c >&5 +In file included from /usr/include/stdio.h:28:0, + from conftest.c:27: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11106: $? = 1 configure: failed program was: | /* confdefs.h */ | #define PACKAGE_NAME "libantlr3c" @@ -1038,17 +5021,9 @@ configure: failed program was: | #define HAVE_DLFCN_H 1 | #define LT_OBJDIR ".libs/" | #define HAVE_SYS_TYPES_H 1 -| #define HAVE_NETINET_IN_H 1 -| #define HAVE_ARPA_NAMESER_H 1 -| #define HAVE_NETDB_H 1 -| #define HAVE_RESOLV_H 1 -| #define HAVE_MALLOC_H 1 | #define HAVE_STDARG_H 1 | #define HAVE_SYS_STAT_H 1 -| #define HAVE_CTYPE_H 1 -| #define HAVE_NETINET_TCP_H 1 -| #define HAVE_SYS_SOCKET_H 1 -| #define HAVE_INTPTR_T 1 +| #define size_t unsigned int | /* end confdefs.h. */ | #include | #ifdef HAVE_SYS_TYPES_H @@ -1086,35 +5061,320 @@ configure: failed program was: | int | main () | { -| if (sizeof ((uintptr_t))) -| return 0; +| static int test_array [1 - 2 * !(sizeof (void *) <= sizeof (unsigned long long int))]; +| test_array [0] = 0 +| | ; | return 0; | } -configure:11085: result: yes configure:11120: checking for inline configure:11136: gcc -c -m32 -O2 -Wall conftest.c >&5 configure:11136: $? = 0 configure:11144: result: inline configure:11168: checking for memmove configure:11168: gcc -o conftest -m32 -O2 -Wall conftest.c >&5 -conftest.c:59:6: warning: conflicting types for built-in function 'memmove' [enabled by default] -configure:11168: $? = 0 -configure:11168: result: yes +In file included from /usr/include/limits.h:27:0, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/limits.h:169, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/limits.h:34, + from conftest.c:37: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11168: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| /* Define memmove to an innocuous variant, in case declares memmove. +| For example, HP-UX 11i declares gettimeofday. */ +| #define memmove innocuous_memmove +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char memmove (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef memmove +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char memmove (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_memmove || defined __stub___memmove +| choke me +| #endif +| +| int +| main () +| { +| return memmove (); +| ; +| return 0; +| } +configure:11168: result: no configure:11168: checking for memset configure:11168: gcc -o conftest -m32 -O2 -Wall conftest.c >&5 -conftest.c:60:6: warning: conflicting types for built-in function 'memset' [enabled by default] -configure:11168: $? = 0 -configure:11168: result: yes +In file included from /usr/include/limits.h:27:0, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/limits.h:169, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/limits.h:34, + from conftest.c:37: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11168: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| /* Define memset to an innocuous variant, in case declares memset. +| For example, HP-UX 11i declares gettimeofday. */ +| #define memset innocuous_memset +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char memset (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef memset +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char memset (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_memset || defined __stub___memset +| choke me +| #endif +| +| int +| main () +| { +| return memset (); +| ; +| return 0; +| } +configure:11168: result: no configure:11168: checking for strdup configure:11168: gcc -o conftest -m32 -O2 -Wall conftest.c >&5 -conftest.c:61:6: warning: conflicting types for built-in function 'strdup' [enabled by default] -configure:11168: $? = 0 -configure:11168: result: yes +In file included from /usr/include/limits.h:27:0, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/limits.h:169, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/limits.h:34, + from conftest.c:37: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11168: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| /* Define strdup to an innocuous variant, in case declares strdup. +| For example, HP-UX 11i declares gettimeofday. */ +| #define strdup innocuous_strdup +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char strdup (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef strdup +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char strdup (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_strdup || defined __stub___strdup +| choke me +| #endif +| +| int +| main () +| { +| return strdup (); +| ; +| return 0; +| } +configure:11168: result: no configure:11168: checking for accept configure:11168: gcc -o conftest -m32 -O2 -Wall conftest.c >&5 -configure:11168: $? = 0 -configure:11168: result: yes +In file included from /usr/include/limits.h:27:0, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/limits.h:169, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/syslimits.h:7, + from /usr/lib/gcc/x86_64-linux-gnu/4.6/include-fixed/limits.h:34, + from conftest.c:37: +/usr/include/features.h:323:26: fatal error: bits/predefs.h: No such file or directory +compilation terminated. +configure:11168: $? = 1 +configure: failed program was: +| /* confdefs.h */ +| #define PACKAGE_NAME "libantlr3c" +| #define PACKAGE_TARNAME "libantlr3c" +| #define PACKAGE_VERSION "3.4" +| #define PACKAGE_STRING "libantlr3c 3.4" +| #define PACKAGE_BUGREPORT "jimi@temporal-wave.com" +| #define PACKAGE_URL "" +| #define PACKAGE "libantlr3c" +| #define VERSION "3.4" +| #define STDC_HEADERS 1 +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define HAVE_STDLIB_H 1 +| #define HAVE_STRING_H 1 +| #define HAVE_MEMORY_H 1 +| #define HAVE_STRINGS_H 1 +| #define HAVE_INTTYPES_H 1 +| #define HAVE_STDINT_H 1 +| #define HAVE_UNISTD_H 1 +| #define HAVE_DLFCN_H 1 +| #define LT_OBJDIR ".libs/" +| #define HAVE_SYS_TYPES_H 1 +| #define HAVE_STDARG_H 1 +| #define HAVE_SYS_STAT_H 1 +| #define size_t unsigned int +| /* end confdefs.h. */ +| /* Define accept to an innocuous variant, in case declares accept. +| For example, HP-UX 11i declares gettimeofday. */ +| #define accept innocuous_accept +| +| /* System header to define __stub macros and hopefully few prototypes, +| which can conflict with char accept (); below. +| Prefer to if __STDC__ is defined, since +| exists even on freestanding compilers. */ +| +| #ifdef __STDC__ +| # include +| #else +| # include +| #endif +| +| #undef accept +| +| /* Override any GCC internal prototype to avoid an error. +| Use char because int might match the return type of a GCC +| builtin and then its argument prototype would still apply. */ +| #ifdef __cplusplus +| extern "C" +| #endif +| char accept (); +| /* The GNU C library defines this for functions which it implements +| to always fail with ENOSYS. Some functions are actually named +| something starting with __ and the normal name is an alias. */ +| #if defined __stub_accept || defined __stub___accept +| choke me +| #endif +| +| int +| main () +| { +| return accept (); +| ; +| return 0; +| } +configure:11168: result: no configure:11307: creating ./config.status ## ---------------------- ## @@ -1130,29 +5390,30 @@ generated by GNU Autoconf 2.66. Invocation command line was CONFIG_COMMANDS = $ ./config.status -on carlo-laptop +on pc-4w14-0 -config.status:1086: creating Makefile -config.status:1086: creating antlr3config.h -config.status:1314: executing depfiles commands -config.status:1314: executing libtool commands +config.status:1073: creating Makefile +config.status:1073: creating antlr3config.h +config.status:1253: antlr3config.h is unchanged +config.status:1301: executing depfiles commands +config.status:1301: executing libtool commands ## ---------------- ## ## Cache variables. ## ## ---------------- ## -ac_cv_build=i686-pc-linux-gnu +ac_cv_build=x86_64-unknown-linux-gnu ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline -ac_cv_c_int16_t=yes -ac_cv_c_int32_t=yes -ac_cv_c_int64_t=yes -ac_cv_c_int8_t=yes -ac_cv_c_uint16_t=yes -ac_cv_c_uint32_t=yes -ac_cv_c_uint64_t=yes -ac_cv_c_uint8_t=yes +ac_cv_c_int16_t=no +ac_cv_c_int32_t=no +ac_cv_c_int64_t=no +ac_cv_c_int8_t=no +ac_cv_c_uint16_t=no +ac_cv_c_uint32_t=no +ac_cv_c_uint64_t=no +ac_cv_c_uint8_t=no ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= @@ -1171,20 +5432,20 @@ ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= -ac_cv_func_accept=yes -ac_cv_func_memmove=yes -ac_cv_func_memset=yes -ac_cv_func_strdup=yes -ac_cv_header_arpa_nameser_h=yes -ac_cv_header_ctype_h=yes +ac_cv_func_accept=no +ac_cv_func_memmove=no +ac_cv_func_memset=no +ac_cv_func_strdup=no +ac_cv_header_arpa_nameser_h=no +ac_cv_header_ctype_h=no ac_cv_header_dlfcn_h=yes ac_cv_header_inttypes_h=yes -ac_cv_header_malloc_h=yes +ac_cv_header_malloc_h=no ac_cv_header_memory_h=yes -ac_cv_header_netdb_h=yes -ac_cv_header_netinet_in_h=yes -ac_cv_header_netinet_tcp_h=yes -ac_cv_header_resolv_h=yes +ac_cv_header_netdb_h=no +ac_cv_header_netinet_in_h=no +ac_cv_header_netinet_tcp_h=no +ac_cv_header_resolv_h=no ac_cv_header_socket_h=no ac_cv_header_stdarg_h=yes ac_cv_header_stdc=yes @@ -1193,11 +5454,11 @@ ac_cv_header_stdlib_h=yes ac_cv_header_string_h=yes ac_cv_header_strings_h=yes ac_cv_header_sys_malloc_h=no -ac_cv_header_sys_socket_h=yes +ac_cv_header_sys_socket_h=no ac_cv_header_sys_stat_h=yes ac_cv_header_sys_types_h=yes ac_cv_header_unistd_h=yes -ac_cv_host=i686-pc-linux-gnu +ac_cv_host=x86_64-unknown-linux-gnu ac_cv_objext=o ac_cv_path_EGREP='/bin/grep -E' ac_cv_path_FGREP='/bin/grep -F' @@ -1215,9 +5476,9 @@ ac_cv_prog_ac_ct_STRIP=strip ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_make_make_set=yes -ac_cv_type_intptr_t=yes -ac_cv_type_size_t=yes -ac_cv_type_uintptr_t=yes +ac_cv_type_intptr_t=no +ac_cv_type_size_t=no +ac_cv_type_uintptr_t=no am_cv_CC_dependencies_compiler_type=gcc3 lt_cv_archive_cmds_need_lc=no lt_cv_deplibs_check_method=pass_all @@ -1244,15 +5505,15 @@ lt_cv_sys_max_cmd_len=1572864 ## Output variables. ## ## ----------------- ## -ACLOCAL='${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run aclocal-1.11' +ACLOCAL='${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run aclocal-1.11' AMDEPBACKSLASH='\' AMDEP_FALSE='#' AMDEP_TRUE='' -AMTAR='${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run tar' +AMTAR='${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run tar' AR='ar' -AUTOCONF='${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run autoconf' -AUTOHEADER='${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run autoheader' -AUTOMAKE='${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run automake-1.11' +AUTOCONF='${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run autoconf' +AUTOHEADER='${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run autoheader' +AUTOMAKE='${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run automake-1.11' AWK='mawk' CC='gcc' CCDEPMODE='depmode=gcc3' @@ -1275,7 +5536,7 @@ INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' INSTALL_STRIP_PROGRAM='$(install_sh) -c -s' -LD='/usr/bin/ld' +LD='/usr/bin/ld -m elf_x86_64' LDFLAGS='' LIBOBJS='' LIBS='' @@ -1286,7 +5547,7 @@ LTLIBOBJS='' MAINT='#' MAINTAINER_MODE_FALSE='' MAINTAINER_MODE_TRUE='#' -MAKEINFO='${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run makeinfo' +MAKEINFO='${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run makeinfo' MKDIR_P='/bin/mkdir -p' NM='/usr/bin/nm -B' NMEDIT='' @@ -1322,25 +5583,25 @@ am__quote='' am__tar='${AMTAR} chof - "$$tardir"' am__untar='${AMTAR} xf -' bindir='${exec_prefix}/bin' -build='i686-pc-linux-gnu' +build='x86_64-unknown-linux-gnu' build_alias='' -build_cpu='i686' +build_cpu='x86_64' build_os='linux-gnu' -build_vendor='pc' +build_vendor='unknown' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE_TARNAME}' dvidir='${docdir}' exec_prefix='${prefix}' -host='i686-pc-linux-gnu' +host='x86_64-unknown-linux-gnu' host_alias='' -host_cpu='i686' +host_cpu='x86_64' host_os='linux-gnu' -host_vendor='pc' +host_vendor='unknown' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' -install_sh='${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/install-sh' +install_sh='${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/install-sh' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' @@ -1383,21 +5644,8 @@ target_alias='' #define HAVE_DLFCN_H 1 #define LT_OBJDIR ".libs/" #define HAVE_SYS_TYPES_H 1 -#define HAVE_NETINET_IN_H 1 -#define HAVE_ARPA_NAMESER_H 1 -#define HAVE_NETDB_H 1 -#define HAVE_RESOLV_H 1 -#define HAVE_MALLOC_H 1 #define HAVE_STDARG_H 1 #define HAVE_SYS_STAT_H 1 -#define HAVE_CTYPE_H 1 -#define HAVE_NETINET_TCP_H 1 -#define HAVE_SYS_SOCKET_H 1 -#define HAVE_INTPTR_T 1 -#define HAVE_UINTPTR_T 1 -#define HAVE_MEMMOVE 1 -#define HAVE_MEMSET 1 -#define HAVE_STRDUP 1 -#define HAVE_ACCEPT 1 +#define size_t unsigned int configure: exit 0 diff --git a/impl/antlr/libantlr3c-3.4/config.status b/impl/antlr/libantlr3c-3.4/config.status index 556d17e..3ab6ce7 100755 --- a/impl/antlr/libantlr3c-3.4/config.status +++ b/impl/antlr/libantlr3c-3.4/config.status @@ -448,7 +448,7 @@ Copyright (C) 2010 Free Software Foundation, Inc. This config.status script is free software; the Free Software Foundation gives unlimited permission to copy, distribute and modify it." -ac_pwd='/home/carlo/honours/repo/impl/antlr/libantlr3c-3.4' +ac_pwd='/home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4' srcdir='.' INSTALL='/usr/bin/install -c' MKDIR_P='/bin/mkdir -p' @@ -563,17 +563,17 @@ enable_fast_install='yes' SHELL='/bin/bash' ECHO='printf %s\n' host_alias='' -host='i686-pc-linux-gnu' +host='x86_64-unknown-linux-gnu' host_os='linux-gnu' build_alias='' -build='i686-pc-linux-gnu' +build='x86_64-unknown-linux-gnu' build_os='linux-gnu' SED='/bin/sed' Xsed='/bin/sed -e 1s/^X//' GREP='/bin/grep' EGREP='/bin/grep -E' FGREP='/bin/grep -F' -LD='/usr/bin/ld' +LD='/usr/bin/ld -m elf_x86_64' NM='/usr/bin/nm -B' LN_S='ln -s' max_cmd_len='1572864' @@ -669,8 +669,8 @@ postuninstall_cmds='' finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir' finish_eval='' hardcode_into_libs='yes' -sys_lib_search_path_spec='/usr/lib/gcc/i486-linux-gnu/4.6 /usr/lib/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib ' -sys_lib_dlsearch_path_spec='/lib64 /usr/lib64 /lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib ' +sys_lib_search_path_spec='/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib ' +sys_lib_dlsearch_path_spec='/lib64 /usr/lib64 /lib /usr/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /lib32 /usr/lib32 ' hardcode_action='immediate' enable_dlopen='unknown' enable_dlopen_self='unknown' @@ -824,19 +824,19 @@ S["LN_S"]="ln -s" S["NM"]="/usr/bin/nm -B" S["ac_ct_DUMPBIN"]="" S["DUMPBIN"]="" -S["LD"]="/usr/bin/ld" +S["LD"]="/usr/bin/ld -m elf_x86_64" S["FGREP"]="/bin/grep -F" S["EGREP"]="/bin/grep -E" S["GREP"]="/bin/grep" S["SED"]="/bin/sed" S["host_os"]="linux-gnu" -S["host_vendor"]="pc" -S["host_cpu"]="i686" -S["host"]="i686-pc-linux-gnu" +S["host_vendor"]="unknown" +S["host_cpu"]="x86_64" +S["host"]="x86_64-unknown-linux-gnu" S["build_os"]="linux-gnu" -S["build_vendor"]="pc" -S["build_cpu"]="i686" -S["build"]="i686-pc-linux-gnu" +S["build_vendor"]="unknown" +S["build_cpu"]="x86_64" +S["build"]="x86_64-unknown-linux-gnu" S["LIBTOOL"]="$(SHELL) $(top_builddir)/libtool" S["MAINT"]="#" S["MAINTAINER_MODE_FALSE"]="" @@ -859,7 +859,7 @@ S["CFLAGS"]="-m32 -O2 -Wall" S["CC"]="gcc" S["am__untar"]="${AMTAR} xf -" S["am__tar"]="${AMTAR} chof - \"$$tardir\"" -S["AMTAR"]="${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run tar" +S["AMTAR"]="${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run tar" S["am__leading_dot"]="." S["SET_MAKE"]="" S["AWK"]="mawk" @@ -867,12 +867,12 @@ S["mkdir_p"]="/bin/mkdir -p" S["MKDIR_P"]="/bin/mkdir -p" S["INSTALL_STRIP_PROGRAM"]="$(install_sh) -c -s" S["STRIP"]="strip" -S["install_sh"]="${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/install-sh" -S["MAKEINFO"]="${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run makeinfo" -S["AUTOHEADER"]="${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run autoheader" -S["AUTOMAKE"]="${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run automake-1.11" -S["AUTOCONF"]="${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run autoconf" -S["ACLOCAL"]="${SHELL} /home/carlo/honours/repo/impl/antlr/libantlr3c-3.4/missing --run aclocal-1.11" +S["install_sh"]="${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/install-sh" +S["MAKEINFO"]="${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run makeinfo" +S["AUTOHEADER"]="${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run autoheader" +S["AUTOMAKE"]="${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run automake-1.11" +S["AUTOCONF"]="${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run autoconf" +S["ACLOCAL"]="${SHELL} /home/carlo/laptop-repository/impl/antlr/libantlr3c-3.4/missing --run aclocal-1.11" S["VERSION"]="3.4" S["PACKAGE"]="libantlr3c" S["CYGPATH_W"]="echo" @@ -980,22 +980,9 @@ D["HAVE_UNISTD_H"]=" 1" D["HAVE_DLFCN_H"]=" 1" D["LT_OBJDIR"]=" \".libs/\"" D["HAVE_SYS_TYPES_H"]=" 1" -D["HAVE_NETINET_IN_H"]=" 1" -D["HAVE_ARPA_NAMESER_H"]=" 1" -D["HAVE_NETDB_H"]=" 1" -D["HAVE_RESOLV_H"]=" 1" -D["HAVE_MALLOC_H"]=" 1" D["HAVE_STDARG_H"]=" 1" D["HAVE_SYS_STAT_H"]=" 1" -D["HAVE_CTYPE_H"]=" 1" -D["HAVE_NETINET_TCP_H"]=" 1" -D["HAVE_SYS_SOCKET_H"]=" 1" -D["HAVE_INTPTR_T"]=" 1" -D["HAVE_UINTPTR_T"]=" 1" -D["HAVE_MEMMOVE"]=" 1" -D["HAVE_MEMSET"]=" 1" -D["HAVE_STRDUP"]=" 1" -D["HAVE_ACCEPT"]=" 1" +D["size_t"]=" unsigned int" for (key in D) D_is_set[key] = 1 FS = "" } diff --git a/impl/antlr/libantlr3c-3.4/libtool b/impl/antlr/libantlr3c-3.4/libtool index a0f7118..2172935 100755 --- a/impl/antlr/libantlr3c-3.4/libtool +++ b/impl/antlr/libantlr3c-3.4/libtool @@ -2,7 +2,7 @@ # libtool - Provide generalized library-building support services. # Generated automatically by config.status (libantlr3c) 3.4 -# Libtool was configured on host carlo-laptop: +# Libtool was configured on host pc-4w14-0: # NOTE: Changes made to this file will be lost: look at ltmain.sh. # # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, @@ -63,12 +63,12 @@ ECHO="printf %s\\n" # The host system. host_alias= -host=i686-pc-linux-gnu +host=x86_64-unknown-linux-gnu host_os=linux-gnu # The build system. build_alias= -build=i686-pc-linux-gnu +build=x86_64-unknown-linux-gnu build_os=linux-gnu # A sed program that does not truncate output. @@ -237,10 +237,10 @@ finish_eval="" hardcode_into_libs=yes # Compile-time system search path for libraries. -sys_lib_search_path_spec="/usr/lib/gcc/i486-linux-gnu/4.6 /usr/lib/i386-linux-gnu /usr/lib /lib/i386-linux-gnu /lib " +sys_lib_search_path_spec="/usr/lib/gcc/x86_64-linux-gnu/4.6 /usr/lib/x86_64-linux-gnu /usr/lib /lib/x86_64-linux-gnu /lib " # Run-time system search path for libraries. -sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib /lib/i386-linux-gnu /usr/lib/i386-linux-gnu /lib/i486-linux-gnu /usr/lib/i486-linux-gnu /usr/local/lib " +sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib /usr/local/lib /lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu /lib32 /usr/lib32 " # Whether dlopen is supported. dlopen_support=unknown @@ -257,7 +257,7 @@ striplib="strip --strip-unneeded" # The linker used to build libraries. -LD="/usr/bin/ld" +LD="/usr/bin/ld -m elf_x86_64" # How to create reloadable object files. reload_flag=" -r" diff --git a/impl/antlr/test-file b/impl/antlr/test-file index 8c865bf..0e7f8f0 100644 --- a/impl/antlr/test-file +++ b/impl/antlr/test-file @@ -1,2 +1,2 @@ -y = min(0-1, z) -z = min(0, y+1) +y = min(1, z) +z = y+1 diff --git a/impl/antlr/test-system b/impl/antlr/test-system new file mode 100644 index 0000000..68f8d4c --- /dev/null +++ b/impl/antlr/test-system @@ -0,0 +1,100 @@ +x0 = max(0) +x1 = x0 +x2 = x1 +x3 = x2 +x4 = x3 +x5 = x4 +x6 = x5 +x7 = x6 +x8 = x7 +x9 = x8 +x10 = x9 +x11 = x10 +x12 = x11 +x13 = x12 +x14 = x13 +x15 = x14 +x16 = x15 +x17 = x16 +x18 = x17 +x19 = x18 +x20 = x19 +x21 = x20 +x22 = x21 +x23 = x22 +x24 = x23 +x25 = x24 +x26 = x25 +x27 = x26 +x28 = x27 +x29 = x28 +x30 = x29 +x31 = x30 +x32 = x31 +x33 = x32 +x34 = x33 +x35 = x34 +x36 = x35 +x37 = x36 +x38 = x37 +x39 = x38 +x40 = x39 +x41 = x40 +x42 = x41 +x43 = x42 +x44 = x43 +x45 = x44 +x46 = x45 +x47 = x46 +x48 = x47 +x49 = x48 +x50 = x49 +x51 = x50 +x52 = x51 +x53 = x52 +x54 = x53 +x55 = x54 +x56 = x55 +x57 = x56 +x58 = x57 +x59 = x58 +x60 = x59 +x61 = x60 +x62 = x61 +x63 = x62 +x64 = x63 +x65 = x64 +x66 = x65 +x67 = x66 +x68 = x67 +x69 = x68 +x70 = x69 +x71 = x70 +x72 = x71 +x73 = x72 +x74 = x73 +x75 = x74 +x76 = x75 +x77 = x76 +x78 = x77 +x79 = x78 +x80 = x79 +x81 = x80 +x82 = x81 +x83 = x82 +x84 = x83 +x85 = x84 +x86 = x85 +x87 = x86 +x88 = x87 +x89 = x88 +x90 = x89 +x91 = x90 +x92 = x91 +x93 = x92 +x94 = x93 +x95 = x94 +x96 = x95 +x97 = x96 +x98 = x97 +x99 = x98 diff --git a/impl/main.cpp b/impl/main.cpp index c5a0be6..0082686 100644 --- a/impl/main.cpp +++ b/impl/main.cpp @@ -9,6 +9,7 @@ #include "Expression.hpp" #include "MaxStrategy.hpp" #include "EquationSystem.hpp" +#include "Complete.hpp" extern "C" { #include "EquationSystemParser.h" @@ -17,12 +18,6 @@ extern "C" { using namespace std; -typedef std::vector*> Args; -typedef Expression E; -typedef Constant C; -typedef Addition A; -typedef Minimum Min; - template Expression* treeToExpression(pANTLR3_BASE_TREE node, EquationSystem& system) { ANTLR3_UINT32 num = node->getChildCount(node); @@ -31,12 +26,16 @@ Expression* treeToExpression(pANTLR3_BASE_TREE node, EquationSystem& syste // leaf node - constant or variable if (num == 0) { - stringstream stream(name); - T output; - if (stream >> output) { - return system.newExpression(new Constant(output), vector*>()); + if (name == "inf") { + return system.newExpression(new Constant(infinity()), vector*>()); } else { - return system.newExpression(system.newVariable(name), vector*>()); + stringstream stream(name); + T output; + if (stream >> output) { + return system.newExpression(new Constant(output), vector*>()); + } else { + return system.newExpression(system.newVariable(name), vector*>()); + } } } @@ -58,6 +57,13 @@ Expression* treeToExpression(pANTLR3_BASE_TREE node, EquationSystem& syste op = new Addition(); } else if (name == "-") { op = new Subtraction(); + } else if (name == ";") { + op = new Comma(); + } else if (name == "GUARD") { + op = new Guard(); + } else { + std::cerr << "Unknown leaf node type: " << name << std::endl; + throw "Unknown leaf node type"; } return system.newExpression(op, args); } @@ -83,7 +89,7 @@ void treeToSystem(pANTLR3_BASE_TREE node, EquationSystem& system) { } } -std::vector< Expression* > empty; +typedef Complete ZBar; int main (int argc, char* argv[]) { pANTLR3_INPUT_STREAM input; pEquationSystemLexer lex; @@ -97,12 +103,16 @@ int main (int argc, char* argv[]) { EquationSystemParser_equation_system_return ret = parser -> equation_system(parser); - EquationSystem system; - treeToSystem(ret.tree, system); + EquationSystem system; + treeToSystem(ret.tree, system); // DO MORE HERE - VariableAssignment rho = system.minFixpoint(); - const std::vector*> vars = system.vars(); + VariableAssignment rho = system.minFixpoint(NaiveFixpoint()); + std::cout << rho << std::endl; + rho = system.minFixpoint(RecursiveFixpoint()); + std::cout << rho << std::endl; + + const std::vector*> vars = system.vars(); for (unsigned int i = 0, size = vars.size(); i < size; ++i) { cout << vars[i]->name() << " = " << rho[*vars[i]] << endl; } diff --git a/impl/systems/.long-fixpoint.swp b/impl/systems/.long-fixpoint.swp new file mode 100644 index 0000000..726d6ce Binary files /dev/null and b/impl/systems/.long-fixpoint.swp differ diff --git a/impl/systems/generate-system.py b/impl/systems/generate-system.py new file mode 100644 index 0000000..cc67df2 --- /dev/null +++ b/impl/systems/generate-system.py @@ -0,0 +1,25 @@ +#!/usr/bin/python + +import random + +size = 10 + +def generate_variable(size): + return "x" + str(random.randint(1, size)) + +def generate_expression(size): + if random.randint(1, 5) == 1: + operator = random.choice(['+', '-']) + return generate_variable(size) + operator + generate_expression(size); + else: + return generate_variable(size) + +def generate_min_expression(size): + return "min(" + ",".join(generate_expression(size) for i in xrange(random.randint(2, 3))) + ")" + +def generate_max_expression(size): + return "max(" + ",".join(generate_min_expression(size) for i in xrange(random.randint(2, 3))) + ")" + + +for i in xrange(size): + print "x"+str(i+1) + " = " + generate_max_expression(size) diff --git a/impl/systems/long-fixpoint b/impl/systems/long-fixpoint new file mode 100644 index 0000000..1ab7897 --- /dev/null +++ b/impl/systems/long-fixpoint @@ -0,0 +1,100 @@ +x0 = 0 +x1 = x0 +x2 = x1 +x3 = x2 +x4 = x3 +x5 = x4 +x6 = x5 +x7 = x6 +x8 = x7 +x9 = x8 +x10 = x9 +x11 = x10 +x12 = x11 +x13 = x12 +x14 = x13 +x15 = x14 +x16 = x15 +x17 = x16 +x18 = x17 +x19 = x18 +x20 = x19 +x21 = x20 +x22 = x21 +x23 = x22 +x24 = x23 +x25 = x24 +x26 = x25 +x27 = x26 +x28 = x27 +x29 = x28 +x30 = x29 +x31 = x30 +x32 = x31 +x33 = x32 +x34 = x33 +x35 = x34 +x36 = x35 +x37 = x36 +x38 = x37 +x39 = x38 +x40 = x39 +x41 = x40 +x42 = x41 +x43 = x42 +x44 = x43 +x45 = x44 +x46 = x45 +x47 = x46 +x48 = x47 +x49 = x48 +x50 = x49 +x51 = x50 +x52 = x51 +x53 = x52 +x54 = x53 +x55 = x54 +x56 = x55 +x57 = x56 +x58 = x57 +x59 = x58 +x60 = x59 +x61 = x60 +x62 = x61 +x63 = x62 +x64 = x63 +x65 = x64 +x66 = x65 +x67 = x66 +x68 = x67 +x69 = x68 +x70 = x69 +x71 = x70 +x72 = x71 +x73 = x72 +x74 = x73 +x75 = x74 +x76 = x75 +x77 = x76 +x78 = x77 +x79 = x78 +x80 = x79 +x81 = x80 +x82 = x81 +x83 = x82 +x84 = x83 +x85 = x84 +x86 = x85 +x87 = x86 +x88 = x87 +x89 = x88 +x90 = x89 +x91 = x90 +x92 = x91 +x93 = x92 +x94 = x93 +x95 = x94 +x96 = x95 +x97 = x96 +x98 = x97 +x99 = x98 diff --git a/impl/systems/min-test b/impl/systems/min-test new file mode 100644 index 0000000..a05a662 --- /dev/null +++ b/impl/systems/min-test @@ -0,0 +1,3 @@ +x1 = min(1, x1) +x2 = min(x2+1, x3) +x3 = 0 diff --git a/impl/systems/random-system b/impl/systems/random-system new file mode 100644 index 0000000..506c18a --- /dev/null +++ b/impl/systems/random-system @@ -0,0 +1 @@ +x = max() diff --git a/impl/systems/size-ten b/impl/systems/size-ten new file mode 100644 index 0000000..71ee74a --- /dev/null +++ b/impl/systems/size-ten @@ -0,0 +1,3 @@ +x1 = max(0, min(x1-1, x2)) +x2 = max(0, 5+x1, x1) +x3 = max(0, 1+x3, 0+x1) -- cgit v1.2.3