Re: cc: error 1914: bad form for `-t' option



On Jul 20, 2:48 am, Don Morris <dmor...@xxxxxxxxxx> wrote:
Rakesh UV wrote:
Hi
can some body help me in understanding
cc: error 1914: bad form for `-t' option

Well, presumably your cc command had a -t argument which wasn't
in a valid form (garbage arguments or just in an incorrect syntax).

I would think you'd want to post the exact command that generated
the error (so folks can see what the argument with -t was), but
barring that.. here's what the documentation says -t takes
(fromhttp://docs.hp.com/en/92501-90029/ch03s02.html):

-tx, name

Substitutes or inserts subprocess x using name, where x is one or more
identifiers indicating the subprocess or subprocesses. This option works
in two modes: 1) if x is a single identifier, name represents the full
path name of the new subprocess; 2) if x is a set of identifiers, name
represents a prefix to which the standard suffixes are concatenated to
construct the full path names of the new subprocesses. The value of x
can be one or more of the following:
Value

Description
a

Assembler (standard suffix is as).
b

The C compiler driver (cc) used to compile the translated C++ code and
invoke the assembler and the linker.
c

The C compiler (translator mode only; standard suffix is ccom.)
C

C++ compiler (standard suffix is cfront).
f

Filter tool (c++filt).
l

Linker (standard suffix is ld).
m

Merge tool (c++merge; translator mode only).
0 (zero)

Same as c. See also Table 3-2.
p

Preprocessor (standard suffix is Cpp).
P

Patch tool (c++patch).
x

All subprocesses.

Don

Thank you don, it was very useful information
Do we have any doucument which details about the error numbers
displayed by compiler
That would be useful for me in understanding the way the compiler
views my code( Just for my personal intrest)
Best Regards,
Rakesh UV

.