From: Stefan S. <se...@sy...> - 2007-04-11 12:43:52
|
Manoj kumar wrote: > Hi, > In my project , i want to use meta - class which will do source to > source translation . > Basically i need to add some function in my program to do task like > saving and restoring the class object . And this should be done at > compile time . > For this i need to use the openc++ compiler. As i am working on window > plateform and using vc6 , i have to compile openc++ on vc6 only so that > there should be any dependencies on other program. Compiling openc++ and using it with an external compiler are two distinct things. It may be easier to try to compile openc++ with the mingw compiler (i.e. gcc) than with VC6, but you certainly need to call cl.exe from occ. I'm not sure how hard the latter is, or whether it's possible at all. Unfortunately, while Synopsis works fine in this environment, it currently doesn't support source-to-source translation the same way openc++ does (instead, it hands users back the parse tree which they are supposed to traverse and translate themselves). So I'm not sure how useful that would be for your purposes. HTH, Stefan -- ...ich hab' noch einen Koffer in Berlin... |