linux-l: yacc/bison libary nicht da?!
Mathias Born
mborn at faphida.in-berlin.de
Sa Dez 23 22:53:45 CET 2000
Andreas Fitzner wrote:
> ich habe eine ganz einfache yacc datei (siehe attachement). nur
> [...]
> problem unter linux (unter slackware 7.0 und redhat 6.0 probiert)
> hat er die liby* nicht. ich hab auch gesucht ob man die irgendwie
> nachinstallieren muss, nix gefunden. aber ohne -ly findet er
> logischer weise symbole wie yyparse() oder yyerror nicht.
Selber machen:
Einfach
int yyerror(char*s)
{
return 0;
}
int yywrap()
{
return 1;
}
int yyparse();
o.ä. ans Ende der yacc-Datei plazieren.
Diese komischen Bibliotheken braucht kein Mensch.
Mathias
--
>From "info gcc":
`-trigraphs'
Support ANSI C trigraphs. You don't want to know about this
brain-damage. The `-ansi' option implies `-trigraphs'.
Mehr Informationen über die Mailingliste linux-l