autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating and using separate src and obj trees


From: Lars Hecking
Subject: Re: creating and using separate src and obj trees
Date: Thu, 11 Dec 2003 16:32:05 +0000
User-agent: Mutt/1.5.5i

> I have a source tree which is built using automake[1]. The application is
> large
> and being written in C++ and when built the tree ocupies over 1GB. I
> therefore
> want to separate the source tree from the build tree in a similar way that
> FreeBSD uses /usr/src and /usr/obj when building the whole operating
> system[2].
 
 Would there be much more involved than

 mkdir objdir
 cd objdir
 /path/to/srcdir/configure <options>

 ? This is already possible with current autoconf/automake, but custom rules
 for non-standard targets/files may need adjustment. Running configure as
 above from a user id different from the one that owns the source tree will
 help to find such problems.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]