Paul Pluzhnikov <[EMAIL PROTECTED]> wrote:
: 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

I do get output with cpp:

cpp -dM /dev/null | grep GNU
#define __GNUC_PATCHLEVEL__ 1
#define __GNUC__ 3
#define __GNUC_MINOR__ 4

and cpp -v gives me:

Reading specs from /home/local/bin/../lib/gcc/i686-pc-linux-gnu/3.4.1/specs
Configured with: /usr/local/src/gcc-3.4.1/configure
--enable-languages=c,c++
Thread model: posix
gcc version 3.4.1

Anyway, thanks a lot, I found what I was looking for.

        -ulrich

[nosave]
----------------------------------------------------------------------------
Ulrich Lauther          ph: +49 89 636 48834 fx: ... 636 42284
Siemens CT SE 6         Internet: [EMAIL PROTECTED]
_______________________________________________
Help-gplusplus mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to