On 20/02/12 2:22 PM, Ethan Dicks wrote:
On Sat, Feb 18, 2012 at 4:28 PM, Toby Thain<toby at
telegraphics.com.au> wrote:
FWIW, my PDP-8 (PAL-III compatible)
cross-assembler is here:
http://telegraphics.com.au/svn/dpa/trunk
Hi, Toby,
I tried to build this on my Ubuntu 11.04 laptop and it did not go well.
I installed flex 2.5.35, and bison 2.4.1, and I'm using gcc 4.5.2 (all
installed from packages). Here's what I'm getting...
$ make
...
pdp8/parser.y:25:20: error: ?TOK_SYM? undeclared here (not in a function)
Thanks...
y.tab.c: In function ?yyparse?:
y.tab.c:1339:7: warning: implicit declaration of function ?yylex?
make: *** [pdp8/parser.tab.o] Error 1
rm pdp8/lexer.c
I've been building programs from source on UNIX for a long time, but I
never really got a handle on how to debug problems in lex/yacc files.
Any suggestions? The README mentions several environments where it
was successfully built and tested. ...
Yes, I didn't realise it had a problem. I'm sure this version has built
for me (but I don't use Ubuntu).
I'll get back to you.
--Toby
-ethan