To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 16
15  |  17
Subject: 
Re: Compiling the compiler
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Thu, 4 Mar 1999 00:20:22 GMT
Viewed: 
2225 times
  
In article <4.1.19990303163018.00a9da00@mail.connect.net>, Joel Shafer
<joel@connect.net> wrote:

I am thinking about porting NQC to Windows CE.  The first thing I noticed
was that the default
parse.cpp file was missing from the source distribution.

Also, has anyone already created a VC++ project file for NQC?  I'd like to
get a copy if it has been done.


Joel Shafer    joel@connect.net

You can probably use parse.tab.c instead.  The whole default/parse.cpp
thing is specific to Unix builds.  The Mac and Windows builds are done
under Metrowerks with custom Flex/Bison plugins.  The output of those
plugins is in nqc/lexer.cpp and nqc/parse.tab.c.  Make sure you have
things setup to compile parse.tab.c as a C++ file (there should be some
VC++ option for that), otherswise name it something ending in .cpp.

If you have some version of bison available, run it on parse.y to generate
a localized parse.tab.c, otherwise just go with the supplied version and
take your chances.  You may need to tweak it a little depending on your
compiler.

Sorry for the confusion.

Dave

--
reply to: dbaum at enteract dot com



Message is in Reply To:
  Compiling the compiler
 
I am thinking about porting NQC to Windows CE. The first thing I noticed was that the default parse.cpp file was missing from the source distribution. Also, has anyone already created a VC++ project file for NQC? I'd like to get a copy if it has (...) (26 years ago, 3-Mar-99, to lugnet.robotics.rcx.nqc)

5 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR