You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@apr.apache.org by Rohan Nandode <rn...@yahoo.com> on 2003/04/30 16:37:54 UTC
Question regarding compilation
Hi,
I want to separate out the source files with their
corresponding .o (object) files during the
compilation.
Is there any way in the apache build process to
specify path, where object files or library files
should go?
For an example,
I have apache source tree at /work/apache/src/ and I
want the compiled object files in /work/apache/obj/.
The main.c of apache v2.0.35 resides at
/work/apache/src/httpd-2.0.35/server/main.c
I want the main.o at
"/work/apache/obj/httpd-2.0.35/server/main.o", instead
of "/work/apache/src/httpd-2.0.35/server/main.o"
Please let me know how I can achieve this with Apache
2.0.35.
Thanks
Rohan
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com
Re: Question regarding compilation
Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
[ This is more of an httpd question than an APR question. Please post these
types of questions on dev@httpd.apache.org instead. ]
--On Wednesday, April 30, 2003 7:37 AM -0700 Rohan Nandode
<rn...@yahoo.com> wrote:
> Is there any way in the apache build process to
> specify path, where object files or library files
> should go?
That's essentially VPATH support. You'd run configure in the directory where
you want the build objects to occur.
% pwd
/work/apache/obj
% ../src/configure <all configure options>
> Please let me know how I can achieve this with Apache
> 2.0.35.
However, VPATH support was not finished until later GAs. It should work with
current releases though (2.0.45). -- justin
Re: Question regarding compilation
Posted by Justin Erenkrantz <ju...@erenkrantz.com>.
[ This is more of an httpd question than an APR question. Please post these
types of questions on dev@httpd.apache.org instead. ]
--On Wednesday, April 30, 2003 7:37 AM -0700 Rohan Nandode
<rn...@yahoo.com> wrote:
> Is there any way in the apache build process to
> specify path, where object files or library files
> should go?
That's essentially VPATH support. You'd run configure in the directory where
you want the build objects to occur.
% pwd
/work/apache/obj
% ../src/configure <all configure options>
> Please let me know how I can achieve this with Apache
> 2.0.35.
However, VPATH support was not finished until later GAs. It should work with
current releases though (2.0.45). -- justin