From: Geraldin A. <art...@gm...> - 2006-04-18 06:00:38
|
Hi , Iim using the latest version of cpptask 1.0b3 with ant contrib tasks 1.0.b2version on Solaris machine.SunOS 5.8 Generic_117350-25 sun4u sparc SUNW,Sun-Fire-280R I found in the http://ant-contrib.sourceforge.net/cc.html link that CC task does not support Sun C compiler "cc".Rather it supports only "sunc89". Is there any option by which i can use cc task with sun C compiler "cc" or is there any option to add this new compiler. I also tried another alternate option.I used gcc version 2.95.3 on solaris to compile C code. But it gives a lot of errors.For example it doen't compile if pointers are there.I'm not sure of the gcc compiler options for solaris also.However the same code compiles on Linux without any problems with ant cc task. Can any one of you please suggest me a solution for compiling using CC task on Soalris. Thanks and Regards, Geraldin |