[Xorp-hackers] [PATCH] xorp: BUILD_NOTES: Explain what rtld_origin flag does
igorm at etf.rs
igorm at etf.rs
Mon Feb 20 07:22:39 PST 2012
From: Igor Maravic <igorm at etf.rs>
Signed-off-by: Igor Maravic <igorm at etf.rs>
---
xorp/BUILD_NOTES | 22 ++++++++++++++++++++++
1 files changed, 22 insertions(+), 0 deletions(-)
diff --git a/xorp/BUILD_NOTES b/xorp/BUILD_NOTES
index 5b88c26..2688697 100644
--- a/xorp/BUILD_NOTES
+++ b/xorp/BUILD_NOTES
@@ -72,6 +72,28 @@ To compile using uSTL instead of standard STL library:
packages I think). If uSTL proves useful, more modules can be patched
to work with uSTL.
+* To be able to run Xorp from BUILD_DIR,
+ eg. "xorp-top-level-directory/obj/<arch>-<os>-<rel>",
+ it is necessary to run command:
+
+ scons rtld_origin=true
+
+ By default, rtld_origin is set to "True", so it is enough,
+ to run command:
+
+ scons
+
+ Binaries xorp_rtrmgr and xorpsh, will be compiled in directory
+ obj/<arch>-<os>-<rel>/rtrmgr.
+ Copy of all necessary tool binaries, like "ospf_print_neighbours",
+ are placed inside obj/<arch>-<os>-<rel>/lib/xorp/bin.
+ Symbolic links for all libraries, are created in
+ obj/<arch>-<os>-<rel>/lib/xorp/lib.
+ Symbolic links for all modules, like "xorp_ospf", are created in
+ obj/<arch>-<os>-<rel>/lib/xorp/sbin.
+ This layout of executable binary files, enable us to debug Xorp,
+ more easily.
+
scons disable_ipv6=yes disable_fw=yes disable_warninglogs=yes \
disable_tracelogs=yes disable_fatallogs=yes disable_infologs=yes \
disable_assertlogs=yes disable_errorlogs=yes enable_olsr=no \
--
1.7.5.4
More information about the Xorp-hackers
mailing list