Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!texsun!convex!rosenkra From: rosenkra@convex.com (William Rosencranz) Newsgroups: comp.sys.atari.st Subject: Re: bison Message-ID: <1991Jan12.030051.21367@convex.com> Date: 12 Jan 91 03:00:51 GMT References: <199111.1113.4573@canrem.uucp> Sender: usenet@convex.com (news access account) Organization: Convex Computer Corporation; Richardson, TX Lines: 23 Nntp-Posting-Host: convex1.convex.com In article <199111.1113.4573@canrem.uucp> "tellabs canada" writes: >And now, onto other problems. I have half of the duo of flex and bison >up and running on my ST. Flex runs consistently without incident, but >bison gives me a buss error whenever and from wherever I run it. i believe u said u were using lattice C. if lattice is a 16-bit compiler (i.e. int is 16 bits), then that may be the source of the problem. it generally is for me (with other 16bit int compilers). probably the fastest workaround is to globally replace all ints with longs, but this can make the code unnecessarily large. do this only as a test. note u can run gcc with 32-bit ints, often making it very easy (often trivial) to port unix code like bison. check it out, though it is rather large and u may have memory problems with only a 1040 (there are fixes for this, BTW). -bill rosenkra@convex.com -- Bill Rosenkranz |UUCP: {uunet,texsun}!convex!c1yankee!rosenkra Convex Computer Corp. |ARPA: rosenkra%c1yankee@convex.com