alliance-users '1999
source of inportability (compile problems)


Alireza Moini (moini@eleceng.adelaide.edu.au)
Mon, 21 Jun 1999 13:10:29 +0930 (CST)

Hi all, I have been trying to port alliance to solx86. What I found is that there is a major source of incompatibility between the parser generator tools used in major parts of the program. In particular it is quite obvious that lex, and yacc have been used in rather un-portable fashions. It seems that the authors of each tool have used different versions of yacc/bison, which may or may not be compatible with the default versions installed on normal unix boxes, or sometimes, the bison and yacc have been used interchangeably. I think it is necessary that those parts of the tool that use lex and yacc/bison be revisited, and the sources of incompatibility be removed. For example the %pure_parser in sources/pat/ppt/pat_decl.yac parsed by bison is not recognized by yacc. Anyway, to compile the tool under solx86, I just created all the lex, yacc outputs manually under another machine (which did work happily) and then made the actual binaries under solx86. A quick run down of the .lex/.yac files can solve a lot of compilation problems. cheers Ali ************************************************************************ ** Alireza Moini ** ** ** ** Department of Electrical & Electronic Engineering ** ** The University of Adelaide ** ** South Australia 5005 ** ** Phone: 61 8 8303 5054 Fax: 61 8 8303 4360 ** ************************ WWW Page ********************************* ** http://www.eleceng.adelaide.edu.au/Personal/moini/index.html ** ** http://www.eleceng.adelaide.edu.au/Groups/GAAS/bugeye.html ** ************************************************************************

 



Alliance Web Site © 1997, 2002 ASIM/LIP6/UPMC, page maintained by Czo [Olivier Sirol] , last updated on 22 March 2001.