[<<] [<] Page 1 of 1 [>] [>>] | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Subject:
Re: Anyone got C30 3.01 working on GNU/Linux? [solved]
From: John Steele Scott ####@####.#### Date: 24 Jul 2007 07:03:16 +0100 Message-Id: <f844lp$vnq$1@sea.gmane.org> John Steele Scott wrote: > Has anyone got a native GNU/Linux build of the newer versions (3.00 or > 3.01) of the C30 compiler that works? > > I've updated my previous set of patches and can get it to build, but it > refuses to compile anything, complaining about syntax errors. For even a > simple file containing only: > > int sum(int x, int y) > { > return x + y; > } > > I get "error: syntax error before '+' token". This turned out to be due to an outdated yacc parser which comes with the source tarball. The solution is to delete c-parse.c, or touch c-parse.y. It seems to work now, although I haven't tested it very far. cheers, John | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
[<<] [<] Page 1 of 1 [>] [>>] |