Paul Pluzhnikov <[EMAIL PROTECTED]> writes:
> Dirk Hoffmann <[EMAIL PROTECTED]> writes:
>
> > The following does what you want:
> > cpp -dM /dev/null
>
> Not at all:
>
> $ cpp -dM /dev/null | grep GNU
> ### No output!
>
> $ g++ -dM -E - < /dev/null | grep GNU
> #define __GNUC_PATCHLEVEL__ 3
> #define __GNUC__ 3
> #define __GNUC_MINOR__ 3
>
> On a Linux system (and most other systems I know), cpp and gcc/c++
> come from completely different packages and have nothing to do with
> each other.
I am curious - what is the output of:
$ cpp --version
and
$ g++ --version
on the linux system you believe to have a cpp and a gcc which are
unrelated.
I ask because I have tried two versions of redhat, one version of
slackware, and on all three boxen the output of the above two
commands is identical except for the first 3 characters. (This is
also true on freebsd 5.3 and 4.9, and osx 10.3.5, other systems
were the system compiler is a gcc derivative.)
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus