Yacc

QNX 6 comes with flex but I didn’t see a YACC solution.

Did I miss it? Or should I just download Bison?

TIA

Ken Schumm wrote:

QNX 6 comes with flex but I didn’t see a YACC solution.
Did I miss it? Or should I just download Bison?

It should be there? I vaguely recall some issue whereby a
released package perhaps missed setting up a link for this
(or maybe that was just the yacc->bison symlink)?

I have:
$ which bison
/usr/qnx630/host/qnx6/x86/usr/bin/bison

on all of 6.3.0, 6.3.2, 6.3.2SP2, and Trinity installs,
so it must be lying around somewhere :wink:

Try looking there. What version of QNX6 do you have?

John Garvey <jgarvey@qnx.com> wrote:

Ken Schumm wrote:
QNX 6 comes with flex but I didn’t see a YACC solution.
Did I miss it? Or should I just download Bison?

It should be there? I vaguely recall some issue whereby a
released package perhaps missed setting up a link for this
(or maybe that was just the yacc->bison symlink)?

I have:
$ which bison
/usr/qnx630/host/qnx6/x86/usr/bin/bison

on all of 6.3.0, 6.3.2, 6.3.2SP2, and Trinity installs,
so it must be lying around somewhere > :wink:

Try looking there. What version of QNX6 do you have?

The SP1 release notes mention this known issue:

On self-hosted Neutrino systems, bison.simple is located in
${QNX_HOST}/usr/share/bison, but the tools expect to find it in
/usr/share/bison. (Ref# 18563)

Workarounds:

  • Update your profile to include these exports:

export BISON_SIMPLE=$QNX_HOST/usr/share/bison/bison.simple
export BISON_HAIRY=$QNX_HOST/usr/share/bison/bison.hairy

Or:

  • Create the following link:

ln -s /usr/qnx630/host/qnx6/x86/usr/share/bison /usr/share

It was fixed in SP2.


Steve Reid stever@qnx.com
Technical Editor
QNX Software Systems

Thanks for the info.

I was looking in the utilities help for yacc or bison and neither was there.


“Steve Reid” <stever@stevernto.ott.qnx.com> wrote in message
news:e80k6e$ajm$1@inn.qnx.com

John Garvey <> jgarvey@qnx.com> > wrote:
Ken Schumm wrote:
QNX 6 comes with flex but I didn’t see a YACC solution.
Did I miss it? Or should I just download Bison?

It should be there? I vaguely recall some issue whereby a
released package perhaps missed setting up a link for this
(or maybe that was just the yacc->bison symlink)?

I have:
$ which bison
/usr/qnx630/host/qnx6/x86/usr/bin/bison

on all of 6.3.0, 6.3.2, 6.3.2SP2, and Trinity installs,
so it must be lying around somewhere > :wink:

Try looking there. What version of QNX6 do you have?

The SP1 release notes mention this known issue:

On self-hosted Neutrino systems, bison.simple is located in
${QNX_HOST}/usr/share/bison, but the tools expect to find it in
/usr/share/bison. (Ref# 18563)

Workarounds:

  • Update your profile to include these exports:

export BISON_SIMPLE=$QNX_HOST/usr/share/bison/bison.simple
export BISON_HAIRY=$QNX_HOST/usr/share/bison/bison.hairy

Or:

  • Create the following link:

ln -s /usr/qnx630/host/qnx6/x86/usr/share/bison /usr/share

It was fixed in SP2.


Steve Reid > stever@qnx.com
Technical Editor
QNX Software Systems

I’m using 6.3SP2 on Windows.
I’ll poke around some.
Thanks,
Ken

“John Garvey” <jgarvey@qnx.com> wrote in message
news:e7vk0h$is5$1@inn.qnx.com

Ken Schumm wrote:
QNX 6 comes with flex but I didn’t see a YACC solution.
Did I miss it? Or should I just download Bison?

It should be there? I vaguely recall some issue whereby a
released package perhaps missed setting up a link for this
(or maybe that was just the yacc->bison symlink)?

I have:
$ which bison
/usr/qnx630/host/qnx6/x86/usr/bin/bison

on all of 6.3.0, 6.3.2, 6.3.2SP2, and Trinity installs,
so it must be lying around somewhere > :wink:

Try looking there. What version of QNX6 do you have?