In message <32c7ea9254.beeb@ron1954.woosh.co.nz>
Ron <beeb@woosh.co.nz> wrote:
>
> pkgdatadir is the directory that contains data needed by Bison.
> it has mostly m4 related stuff.
> If prefix=/home then this might be /home/Bison directory and the bison
> binary might be in /home/bin with flex and m4 binaries.
> There doesn't appear to be any data directories required for flex or m4,
> but m4 can use the -I switch tho include a directory of macros.
> The m4 package has a directory 'examples' that you can run in m4
> interactively in conjuction with the m4.html tutorial.
>
> However, though I have everything needed in place, during a compiling
> job, I get an error when using bison/flex/m4.
>
Even though I have flex and m4 being found, and thought I'd set up pkgdata path, I still have a problem with b4_pkgdatadir/[c.m4] not being found, unless
I edit the data file directly changing b4_pkgdatadir to /home/bison
But there are quite a few m4 errors to do with invalid values, eg:
/home/bison/yacc.c:35: error: invalid use_push_for_pull value: use_push_for_pull
m4 is getting through similar lines previously so it doesn't seem to be majorly broken, it's almost like I have version mismatch.
The bison data files seem to be fairly standard, googling c-skel.m4 returned an identical one anyway.
Ron M.
_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK
No comments:
Post a Comment