[omniORB] Which cpp on RedHat 6.0?

Randall Britten randall@is.co.za
Tue, 7 Dec 1999 14:23:22 +0200


How does one test that the chosen cpp is being used correctly?  Is the =
cpp
specified in the .mk file only for the once off compiling of omniORB, =
or is
it also used by omniidl2 when compiling .idl files?  If so, how does =
one
test it?


-----Original Message-----
From: Eric Dumas <edumas@tumbleweed.com>
To: Randall Britten <rbritten@icon.co.za>
Cc: omniORB <omniorb-list@uk.research.att.com>
Date: 03 December 1999 11:48
Subject: Re: [omniORB] Which cpp on RedHat 6.0?


>According to Randall Britten:
>> On RedHat 6.0, I have managed to compile omniORB, and the Name =
Service
>> and the echo examples work.  I am still not sure though, if I chose =
the
>> correct cpp in ./mk/platforms/i586_linux_2.0_glibc.mk
>
>you can use g++ -E or /lib/cpp (this is a symbolic link to your real
>cpp - for example =
/usr/lib/gcc-lib/i386-redhat-linux/egcs-2.91.66/cpp).
>
>> I couldn't find a cpp executable anywhere, so a wild guess was that =
g++
>> itself would do the c pre processing, hence I used:
>> CPP =3D /usr/bin/g++
>
> Use -E
>
>--=20
>                        =C9ric Dumas (dumas@tumbleweed.com)
>   Tumbleweed Communications, 700 Saginaw Drive, Redwood City, CA =
94063,
USA
>               http://www.tumbleweed.com    Tel: +1 650-216-2030
>
>