Thanks for the reply
I am using below compiler flags
PFLAGS = -L -w -tc -fnonstd -ftrap=%all -DSOLARIS -DL_SOLARIS -Qoption cpp -C -Qoption cpp -DSOLARIS
Please find below the explanation of unavailable flags in gpc
-fnonstd
-fnonstd = The -fnonstd option causes nonstandard initialization of floating-point arithmetic hardware. By default, IEEE 754 floating-point arithmetic is nonstop, and underflows are gradual. (See the Numerical Computation Guide for details.) The -fnonstd option causes hardware traps to be enabled for floating-point overflow, division by zero, and invalid operation exceptions. These hardware traps are converted into SIGFPE signals, and if the program has no SIGFPE handler, it terminates with a memory dump. -fnonstd also causes the math library to be linked in by passing -lm to the linker.
This option is a synonym for -fns -ftrap=common.
-tc
-tc =The -tc option instructs the compiler to generate pc3 stab information that allows cross-module type checking. This option can be used for two purposes:
To check for any name conflicts that your program may have with the standard libraries with which it is to be linked, such as libc. The linker allows name conflicts, which may cause erroneous runtime behavior in your program.
For example, the following program has a name conflict with libc:
program p(output); var time: integer; begin writeln(wallclock); end.
When the program is compiled with the -tc option, pc3 issues a warning that the name time is already defined as a libc routine. Running a.out causes a core dump. To avoid this problem, change the name of the variable that has the conflict--in this case, time.
To check for possible name conflicts in the various modules of your program. These conflicts arise if you define a routine with the same name in several modules, or refer to an external, but undefined, variable. The linker detects these error situations and does not create the executable file.
hostname% {$w-}
-Qoption
The -Qoption passes an option to the program. The option value must be appropriate to that program and can begin with a plus or minus sign. The program value can be either cpp(1), cppas, iropt, ld(1), ild(1), pc0, or pc3. For example, the following command passes the option -R to cpp and allows recursive macros:
hostname% pc -Qoption cpp -R myprog.p
Regards Hari
__________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/