View topic - lex & yacc

lex & yacc

Discussion about the general applications that run on QNX6

lex & yacc

Postby inva » Tue Oct 19, 2010 6:51 am

Dear community,
I'm searching for the lex and yacc sources because I'm porting some c++ dll's from windows to QNX which make use of lex and yacc.
Now I've browsed through the usr/bin dir's of the QNX installation but can't find lex/flex or yacc/bison anywhere.
Actually I'll need the scanner & parser to port my Dll's.
Does anybody know where I may get the sources or even better the compiled programs from. My installation version is QNX 6.3.2.

I wanted to compile the sources on my own using Momentix to make sure they are running on my QNX installation. But I would prefer to get the tools compiled for QNX already :)

Ideas and help is welcome!

Regards,
inva
inva
New Member
 
Posts: 2
Joined: Tue Oct 19, 2010 6:45 am

Postby ingraham » Tue Oct 19, 2010 1:57 pm

On my system, bison and flex are located in
/usr/qnx630/host/qnx6/x86/usr/bin
along with all the other compiler tools. This directory should already be in your path.

-James Ingraham
Sage Automation, Inc.
ingraham
Senior Member
 
Posts: 161
Joined: Wed Nov 05, 2003 2:25 pm
Location: Texas

Postby inva » Wed Oct 20, 2010 5:58 am

Thanks for your response.
The tools are not located in the given directory, because I got a small installation, not including these tools.
Is there generally a chance to get the sources somewhere, compile them on my own and copy the binaries to the target
system?
Unfortunately I can't call make on the target system, because its disable and I'll have to comile the sources using momentics IDE.

But I'm quite getting Makefile errors because the make is set up to be compiled on the target system.

I received following errors

[libmain.o] Error 2
[libyywrap.o] Error 2
[parse.c] Error 2
[stamp-h] Error 1
*** No rule to make target `/12/teaser/gnu/qnx/flex-2.5.4/Makefile.in', needed by `Makefile'.

using attached Makefile.
inva
New Member
 
Posts: 2
Joined: Tue Oct 19, 2010 6:45 am

Postby maschoen » Wed Oct 20, 2010 7:04 am

You could check into pkgsrc.
maschoen
QNX Master
 
Posts: 2720
Joined: Wed Jun 25, 2003 5:18 pm


Return to QNX6 - Applications

Who is online

Users browsing this forum: No registered users and 2 guests