|
Home > Archive > Unix administration > June 2004 > build gcc-3.3 under FreeBSD
You are viewing an archived Text-only version of the thread.
To view this thread in it's original format and/or if you want to reply to
this thread please [click here]
| Author |
build gcc-3.3 under FreeBSD
|
|
| George 2004-06-29, 10:00 am |
| 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
| |
| Konstantin Sorokin 2004-06-29, 5: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-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?
>
why not to use ports ? /usr/ports/lang/gcc33/
--
Konstantin Sorokin
| |
| Jens.Toerring@physik.fu-berlin.de 2004-06-29, 5: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-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
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
|
|
|
|
|