public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* parser error
@ 2010-03-11 10:38 srinivas13.2
  2010-03-11 11:28 ` Edit: " srinivas13.2
  2010-03-16 14:53 ` Ian Lance Taylor
  0 siblings, 2 replies; 3+ messages in thread
From: srinivas13.2 @ 2010-03-11 10:38 UTC (permalink / raw)
  To: gcc-help


Im trying to build gcc4.4.1 using eclipse.
I successfully ran ./configure --disable-multilib and make from command
line, and now when i try to builld it from eclipse i'am getting the
following error:

**** Build of configuration Debug for project MyGcc ****

make all 
yacc  ../intl/plural.y 
yacc: e - line 46 of "../intl/plural.y", syntax error
%pure_parser
^
make: *** [../intl/plural.c] Error 1
[End of error]

$which yacc
/usr/bin/yacc
$which byacc
/usr/bin/byacc
$which bison
/usr/bin/bison

Kindly suggest what is to be done in this regard

Thanks,
Gopal


-- 
View this message in context: http://old.nabble.com/parser-error-tp27861799p27861799.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Edit: parser error
  2010-03-11 10:38 parser error srinivas13.2
@ 2010-03-11 11:28 ` srinivas13.2
  2010-03-16 14:53 ` Ian Lance Taylor
  1 sibling, 0 replies; 3+ messages in thread
From: srinivas13.2 @ 2010-03-11 11:28 UTC (permalink / raw)
  To: gcc-help


I'm using Fedora 12 on intel 64-bit machine
-Gopal

srinivas13.2 wrote:
> 
> Im trying to build gcc4.4.1 using eclipse.
> I successfully ran ./configure --disable-multilib and make from command
> line, and now when i try to builld it from eclipse i'am getting the
> following error:
> 
> **** Build of configuration Debug for project MyGcc ****
> 
> make all 
> yacc  ../intl/plural.y 
> yacc: e - line 46 of "../intl/plural.y", syntax error
> %pure_parser
> ^
> make: *** [../intl/plural.c] Error 1
> [End of error]
> 
> $which yacc
> /usr/bin/yacc
> $which byacc
> /usr/bin/byacc
> $which bison
> /usr/bin/bison
> 
> Kindly suggest what is to be done in this regard
> 
> Thanks,
> Gopal
> 
> 
> 

-- 
View this message in context: http://old.nabble.com/parser-error-tp27861799p27862254.html
Sent from the gcc - Help mailing list archive at Nabble.com.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: parser error
  2010-03-11 10:38 parser error srinivas13.2
  2010-03-11 11:28 ` Edit: " srinivas13.2
@ 2010-03-16 14:53 ` Ian Lance Taylor
  1 sibling, 0 replies; 3+ messages in thread
From: Ian Lance Taylor @ 2010-03-16 14:53 UTC (permalink / raw)
  To: srinivas13.2; +Cc: gcc-help

"srinivas13.2" <srinivas13.2@gmail.com> writes:

> Im trying to build gcc4.4.1 using eclipse.
> I successfully ran ./configure --disable-multilib and make from command
> line, and now when i try to builld it from eclipse i'am getting the
> following error:

Never run ./configure.  Follow the installation instructions, which
tell you to run the configure script in a different directory.


> **** Build of configuration Debug for project MyGcc ****
>
> make all 
> yacc  ../intl/plural.y 
> yacc: e - line 46 of "../intl/plural.y", syntax error
> %pure_parser
> ^
> make: *** [../intl/plural.c] Error 1
> [End of error]
>
> $which yacc
> /usr/bin/yacc
> $which byacc
> /usr/bin/byacc
> $which bison
> /usr/bin/bison
>
> Kindly suggest what is to be done in this regard

This normally should not happen.  The sources include plural.c, which
should be newer than plural.y.  The simple workaround is likely to be
to make sure that plural.c is unchanged from the sources, and then
"touch plural.c".

Ian

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-16 14:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-03-11 10:38 parser error srinivas13.2
2010-03-11 11:28 ` Edit: " srinivas13.2
2010-03-16 14:53 ` Ian Lance Taylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).