build gcc-3.3 under FreeBSD

Ask a Question related to Linux / Unix Administration, Design and Development.

  1. #1

    Default build gcc-3.3 under FreeBSD

    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


    George Guest

  2. Similar Questions and Discussions

    1. FreeBSD
      I am wondering if Flash Media Server will run on FreeBSD. Thanks!
    2. FMS on FreeBSD!
      Hey, i have tried to install FMS on FreeBSD 6.1 by emulating fc4... the install went well, but i cant start the server. I just get the message: ...
    3. DBD::RAM on FreeBSD
      I am trying to install DBD::RAM module via ports on FreeBSD. Unfortunatelly DBD::RAM module requires DBD::File module and the installer is telling...
    4. Compile FreeBSD RELENG_5 on FreeBSD 4-STABLE
      Hi. I have a FreeBSD 4-STABLE machine. I want to do my custom RENELG_5 FreeBSD release. I'm get all RELENG_5 CVS source (with cvs checkout...
    5. Instead of freebsd.com, why not...
      On Monday 14 February 2005 05:34 pm, Anthony Atkielski <atkielski.anthony@wanadoo.fr> wrote: Absolutely untrue. Please stop saying this, as it's...
  3. #2

    Default Re: build gcc-3.3 under FreeBSD

    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
    Konstantin Sorokin Guest

  4. #3

    Default Re: build gcc-3.3 under FreeBSD

    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 ___ [email]Jens.Toerring@physik.fu-berlin.de[/email]
    \__________________________ [url]http://www.toerring.de[/url]
    Jens.Toerring@physik.fu-berlin.de Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139