On Jan 21, 2011, at 6:58 AM, Tom Browder wrote:

> Is there some magic build incantation to allow using BRL-CAD inside
> the source tree without an install?

The binaries can be run prior to install on most platforms.  You do need to 
know where the build product resides, though.  Take asc2g, for example.  The 
sources are in src/conv/asc/. but the build target wrapper script is 
src/conv/asc2g and the actual binary is src/conv/.libs/asc2g

The wrapper script is libtool's means for running the binary prior to install, 
so it should work right inside the build tree.  In general, you should never 
directly refer into a .libs directory.

Since it's a shell script, even if you need to run GDB, there's just a slightly 
longer incantation needed that works with the wrapper script:
./libtool --mode=execute gdb --args src/conv/asc2g myfile.asc myfile.g

Cheers!
Sean



------------------------------------------------------------------------------
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
_______________________________________________
BRL-CAD Developer mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/brlcad-devel

Reply via email to