From mboxrd@z Thu Jan 1 00:00:00 1970 From: Kai Yue To: help-gcc@gnu.org Subject: Directory of object files Date: Tue, 30 Nov 1999 23:28:00 -0000 Message-ID: <38389EA5.3A48F3A1@cm-24-142-61-57.cableco-op.ispchannel.com> X-SW-Source: 1999-11n/msg00331.html Message-ID: <19991130232800.8qgeZ7ApBroNwq5OFw1VV8_DL7USx27V9udGsOnSC5c@z> Hi, When I run "gcc", it would put the object file in the directory where it is called rather than the directory where the source file is. I have tried gcc versions 2.7.2.3 and egcs-2.91.66 on two different machines and both have the same behavior. I am using linux and make version 3.7.6.1 I am wondering if there is a way of changing this, i.e., forcing gcc to place the object file in the directory of the source file. Your help would be greatly appreciated. Kai