Hi, I am trying to parse the coreutils 8.25 using CIL 1.7.3 (on a Debian 8
64 bit machine) but so far has no success. This is what I've done:
1. Run ./configure in coreutils-8.23 dir to create Makefile
2. Edit the generated Makefile in coreutils-8.23 dir and replace CC,
CPP, and AR with
#AR = ar
AR = /home/tnguyen/Src/Devel/CIL/cil-1.7.3/bin/cilly --merge --mode=AR
#CC = gcc -std=gnu99
CC =
/home/tnguyen/Src/Devel/CIL/cil-1.7.3/bin/cilly --merge --save-temps
-std=gnu99
#CPP = gcc -std=gnu99 -E
CPP =
/home/tnguyen/Src/Devel/CIL/cil-1.7.3/bin/cilly --merge --save-temps
-std=gnu99 -E
3.
Run make, after a while it will give some error
....
lib/gettext.h:218: Warning: Variable-sized local variable msg_ctxt_id
lib/gettext.h:264: Warning: Variable-sized local variable msg_ctxt_id
*lib/backupfile.c[325:16-17] : syntax error*
Parsing errorFatal error: exception Frontc.ParseError("Parse error")
Makefile:6634: recipe for target 'lib/libcoreutils.a' failed
Line 325 of lib/backupfile.c is
ARGMATCH_VERIFY (backup_args, backup_types);
I then comment out this line (and continue to do so whenever there's a
similar syntax error), but eventually give up because there are just too
many errors like these. Am I missing something ? I've tried older version
of coreutils 8.19 which was releast several years ago but still have
similar errors.
Thanks,
Vu
------------------------------------------------------------------------------
_______________________________________________
CIL-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cil-users