(assume Pawel's drunk, plz) You were looking for a way to determine the values of some constants that I assume are hard to derive. Your code piece used compiled code to print out the value of an unknown constant. Without going deep into the nature of the problem, I've proposed using preprocessor for the same task. It would probably be easier to do so, since all you have to do is to include the header(s), and list out the constants you need finding out values for, and preprocessed output will list the constant values, as it will expand all the tokens...
Thanks, Pawel. On Thu, Jun 11, 2009 at 7:03 PM, Vincent R.<foru...@smartmobili.com> wrote: > On Thu, 11 Jun 2009 17:15:40 +0900, Pawel Veselov <pawel.vese...@gmail.com> > wrote: >> I would do that: >> >> [...@e03077]/tmp$ cat > /tmp/1.c >> #include <ctype.h> >> _CTYPE_Q >> [...@e03077]/tmp$ gcc -E /tmp/1.c |tail >> {snip} >> 0x00200000L >> [...@e03077]/tmp$ >> > > Am I missing something ? what is 1.c ? > why are you including ctype.h ? > Are you answering to the problem of finding some CEVT_XXXX definitions ? > > > -- With best of best regards Pawel S. Veselov ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel