build gcc-3.3 under FreeBSD
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > build gcc-3.3 under FreeBSD




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    build gcc-3.3 under FreeBSD  
George


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-04 03:00 PM

Hi All,

I have tried to build gcc-3.3 under FreeBSD 4.10
and encountered a problem:

$ cd /usr/home/yura/gcc-obj
$
../gcc-3.3/configure --prefix=/home/yura/usr --exec-prefix=/home/yura/usr -
-
with-local-prefix=/home/yura/usr --srcdir=/home/yura/gcc-3.3 --disable-werro
r --enable-languages=c
...
$ make bootstrap
...
(cd intl && make all)
bison -y -d --name-prefix=__gettext --output plural.c
/home/yura/gcc-3.3/gcc/intl/plural.y
conflicts:  7 shift/reduce
/home/yura/gcc-3.3/gcc/intl/plural.y: expected 10 shift/reduce conflicts
*** Error code 1

Could you please give me a suggestion, what is the problem?

Thanks
George







[ Post a follow-up to this message ]



    Re: build gcc-3.3 under FreeBSD  
Konstantin Sorokin


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-04 10:58 PM

George <agdm1@mail.ru> wrote:
> Hi All,
>
> I have tried to build gcc-3.3 under FreeBSD 4.10
> and encountered a problem:
>
> $ cd /usr/home/yura/gcc-obj
> $
> ../gcc-3.3/configure --prefix=/home/yura/usr --exec-prefix=/home/yura/usr 
--
> with-local-prefix=/home/yura/usr --srcdir=/home/yura/gcc-3.3 --disable-wer
ro
> r --enable-languages=c
> ...
> $ make bootstrap
> ...
> (cd intl && make all)
> bison -y -d --name-prefix=__gettext --output plural.c
> /home/yura/gcc-3.3/gcc/intl/plural.y
> conflicts:  7 shift/reduce
> /home/yura/gcc-3.3/gcc/intl/plural.y: expected 10 shift/reduce conflicts
> *** Error code 1
>
> Could you please give me a suggestion, what is the problem?
>

why not to use ports ? /usr/ports/lang/gcc33/

--
Konstantin Sorokin





[ Post a follow-up to this message ]



    Re: build gcc-3.3 under FreeBSD  
Jens.Toerring@physik.fu-berlin.de


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-29-04 10:58 PM

In comp.unix.programmer George <agdm1@mail.ru> wrote:
> I have tried to build gcc-3.3 under FreeBSD 4.10
> and encountered a problem:

> $ cd /usr/home/yura/gcc-obj
> $
> ../gcc-3.3/configure --prefix=/home/yura/usr --exec-prefix=/home/yura/usr 
--
> with-local-prefix=/home/yura/usr --srcdir=/home/yura/gcc-3.3 --disable-wer
ro
> r --enable-languages=c
> ...
> $ make bootstrap
> ...
> (cd intl && make all)
> bison -y -d --name-prefix=__gettext --output plural.c
> /home/yura/gcc-3.3/gcc/intl/plural.y
> conflicts:  7 shift/reduce
> /home/yura/gcc-3.3/gcc/intl/plural.y: expected 10 shift/reduce conflicts
> *** Error code 1

Not a real idea (it's a long time that I build gcc myself and that
was on a different system), but made you sure the bison version you
have is the one required for building gcc-3.3? As far as I can say
from experience there have been quite a few changes between bison
versions.
Regards, Jens
--
\   Jens Thoms Toerring  ___  Jens.Toerring@physik.fu-berlin.de
\__________________________  http://www.toerring.de





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:19 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register