cc ignores the -o flag when -c is present

Bjorn Engsig bengsig at oracle.nl
Wed Oct 17 21:25:29 AEST 1990


Article <10114 at ubc-cs.UUCP> by buchanan at cs.ubc.ca (John (juancho) buchanan) says:
|
|The  particular scheme that we have adopted requires that a line of the form
|
|	cc -c foo.c -o o/ibm/foo.o 
|
|deposit the file foo.o in the directory o/ibm, however it seems that if the
|-c flag is present then the -o flag is ignored silently and the foo.o file
|is placed in the current directory.
|  ...
|Is there another work around or is IBM going to screw this one up to.
First, please tell which AIX system this is on, there is at least three
possibilities.  Second, the AIX behaviour of the C compiler is very common
in the Unix world, so I don't see any point in your IBM flame.
-- 
Bjorn Engsig,         E-mail: bengsig at oracle.com, bengsig at oracle.nl
ORACLE Corporation    From IBM: auschs!ibmaus!cs.utexas.edu!uunet!oracle!bengsig

            "Stepping in others footsteps, doesn't bring you ahead"



More information about the Comp.unix.aix mailing list