www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1996/04/25/02:15:01

Xref: news2.mv.net comp.os.msdos.djgpp:3072
From: mcantos AT ocean DOT com DOT au (Marcelo Cantos)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: YACC and BISON in DJGPP 2.0
Date: Wed, 24 Apr 96 14:18:24 GMT
Organization: (private)
Lines: 13
Message-ID: <4llgnq$n93@news.mel.aone.net.au>
References: <199604221605 DOT JAA01502 AT nic DOT cerf DOT net>
NNTP-Posting-Host: 203.12.234.172
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <199604221605 DOT JAA01502 AT nic DOT cerf DOT net>, ACTA Inc <actainc AT CERF DOT NET> wrote:
>        For my particular case, my YACC file name is grammar.y, and the
>bison in DJGPP 2.0 produce a file called "grammar_.c" if I just type "bison
>-y -d grammar.y ".   There is no any error message. 
>
>        Yet if I directly use makefile, I noticed that bison generates a
>y_tab.c and y_tab.h, and the make process determined with 
>an error of " ***[grammar.y] error -1" at line "mv -f y_tab.c grammar.c"
>
>        What I have done wrong ?

I'm not sure what is going wrong, but I have similar problems and I avoid them 
altogether by using the -o option to specify exactly the output file I want.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019