Click here to Skip to main content
15,887,844 members
Articles / Programming Languages / C++

Building a simple C++ script compiler from Scintilla and CINT

Rate me:
Please Sign up or sign in to vote.
4.73/5 (25 votes)
8 Jul 2006CPOL7 min read 154K   7.6K   85  
How to build a simple C++ script compiler from Scintilla and CINT.
lib/iccstrm/README

lib/iccstrm directory exists for creating iostream library linkage file
src/iccstrm.cxx and src/iccstrm.h for Intel icc (IA-32) and ecc (IA-64)
compilers. These files contain interface methods for iostream library. 
You can create those by doing 'make' under this directory. Usually nobody
but only author should do this. User doesn't need to recognize this.
Files in this directory are originally copied from lib/gcc3strm/* and 
modified for iccstrm.

 cbstream.cpp is based on template based stream library.

 Creating src/iccstrm.cxx

 1) Just do 'make' in this directory. 
  I think we can forget all below because of new new/delete scheme.

 ...................................................................

 1) Edit src/newlink.c
  Start a text editor, look for '#define G__N_EXPLICITDESTRUCTOR'. Please
  comment this line out. 

 2) Create special 'cint'
  Go back to $CINTSYSDIR and do make to create special 'cint'. You may need
  to specify src/fakestrm.cxx in src/Makefile.

 3) Come to src/snstream directory and do make to create src/snstrm.cxx.

 4) Edit src/newlink.c
  Edit src/newlink.c and restore '#define G__N_EXPLICITDESTRUCTOR' macro.

 5) Go back to $CINTSYSDIR and do make to create updated cint.

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions