"" <> writes:
> I mean
> cc -o p1.so -o p2.so
>
> or cc -o p1.so -o p1.so
> Is there are any problem. I understand that it is upto to the arg
> parser to take care of this,.
> beacuse My makefiles pick up from diff places , I was worried
This is a question about your compiler, not about the C language. The
C standard says nothing about command-line arguments.
I suggest consulting your compiler's documentation, or, if that fails,
asking in a newsgroup that supports your compiler or operating system.
But assuming "-o" specifies an output file, it doesn't seem to make
much sense to specify two of them (unless the compiler specifically is
able to generate two or more output files). You probably need to fix
your Makefiles.
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
San Diego Supercomputer Center <*> <http://users.sdsc.edu/~kst>
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"