[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Compatible 2.96 cpp



On Wed, Dec 01, 2004 at 11:52:51AM +0200, Avrahami David wrote:
> Hi,
> 
> One of our applications(Tivoli) should be compiled with gcc 2.96.
> Due to that I made the following changes:
> # mv /usr/bin/gcc /usr/bin/gcc323
> # mv /usr/bin/g++ /usr/bin/g++323
> # ln -s /usr/bin/gcc296 /usr/bin/gcc
> # ln -s /usr/bin/g++296 /usr/bin/g++
> 
> The command I run and output error are as following:
> 
> # tidlc -p /usr/bin/cpp -I/usr/Tivoli/include/linux-ix86 -I. test.ist
> Tivoli IDL Compiler, Version 2.0, Date 09/19/97
> tidlc: -lang-c++: linker input file unused because linking not done
> <built-in>:(around line 1):ERROR: in cfe::illegal suffix in file:
> <built-in>
> <command line>:(around line 1):ERROR: in cfe::illegal suffix in file:
> <command line>
> 
> 
> It seems that Tivoli asks for cpp 2.96 also, but I couldn't find such
> file as I did with gcc and g++ .

You can use
#!/bin/sh
exec /usr/bin/gcc296 -E -xc "$@"
as your temporary /usr/bin/cpp for most purposes.

	Jakub


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]