Hi Kent, I'll take a stab at this.

On 11/13/2012 01:04 PM, Kent A. Reed wrote:
> I've had a long-standing issue with building multiple configurations of
> LinuxCNC using sources from the git repositories which has come to a
> head with Michael's single codebase.

Funny, me too!

> What's an economical way to build multiple configurations side-by-side,
> e.g., for Michael's code, ./configure --with-threads options rtai,
> xenomai-user, xenomai-kernel, rt-preempt-user, rt-preempt-kernel?

I'm not doing this exactly, but building RPMs requires this kind of kung-fu.

If you specify a --prefix argument to ./configure, it will install 
LinuxCNC where you ask it to, but the directory structure may not be 
what you intend.  For example, ./configure --prefix=~/emc2-xeno-user 
will, I expect, put things in ~/emc2-xeno-user/bin, 
~/emc2-xeno-user/lib, etc.  There are ways to further control those 
locations with args like '--bindir' and '--libdir'.  Try ./configure --help.

This also may not be what you intend because you won't really have 
multiple configurations side-by-side.  You'll still have to run 
./configure; make; make install when you've been working on xeno-user 
and decide to switch to rtai.

(In the olden days before 'distros' came to be and disk and CPU were 
still scarce, many open-source packages' makefiles contained a variable 
to specify a separate build directory so you could keep one copy of the 
source but build object files for multiple architectures in another 
place.  I believe LinuxCNC does not have such a thing.)

        John

------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to