Operating System - HP-UX
1826093 Members
4672 Online
109690 Solutions
New Discussion

Does HP-UX 10.20 comes with lex and yacc?

 
Kwok Ching Yuen
New Member

Does HP-UX 10.20 comes with lex and yacc?

What is the name of the package? I can't find it on the CD so far. Please advise.
5 REPLIES 5
Karthik S S
Honored Contributor

Re: Does HP-UX 10.20 comes with lex and yacc?

GNU lex,

http://hpux.connect.org.uk/hppd/hpux/Gnu/flex-2.5.4a/

GNU yacc,
http://hpux.connect.org.uk/hppd/hpux/Gnu/bison-1.875/

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Kwok Ching Yuen
New Member

Re: Does HP-UX 10.20 comes with lex and yacc?

BTW, the source seems to require lex in particular. I have flex installed but it won't work. Compiler complaint that the rules are not compatible.

I'm trying to compile X11R5, not the one that comes with the CD.
Karthik S S
Honored Contributor

Re: Does HP-UX 10.20 comes with lex and yacc?

I think it is available with STK. You can download STK for 10.20 from the following link,

http://devrsrc1.external.hp.com/STK/register.html?http://devrsrc1.external.hp.com/STK/STK10tools.bin

-Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
A. Clay Stephenson
Acclaimed Contributor

Re: Does HP-UX 10.20 comes with lex and yacc?

No, not unless you have some software development system -- generally, ANSI/C, Pascal, or C++. I also suspect that you will have a very difficult time compiling, even with lex and yacc, using the Bundled C compiler, which understands only K&R C. You really need to either install an HP Deveopment system or install the Gnu versions. It should be rather easy to flex and bison to substitute for lex and lacc. Normally, this simply involves changing the make files.
If it ain't broke, I can fix that.
Kwok Ching Yuen
New Member

Re: Does HP-UX 10.20 comes with lex and yacc?

OK, so can I confirm that lex and yacc don't come with the default bundles. I'll try to work on X11R5 with gcc/flex/bison then.