[Xorp-hackers] Cross Compiled XORP is quite large

Kuhn, Thomas J (IS) tom.kuhn at ngc.com
Mon Jun 4 05:23:26 PDT 2012


Thanks!  What flags are you setting?


Tom Kuhn
Office: (407) 737-4953
Cell: (407) 721-0628
tom.kuhn at ngc.com<mailto:tom.kuhn at ngc.com>

From: Kodel Oleg [mailto:oleg.kodel at elbitsystems.com]
Sent: Sunday, June 03, 2012 2:33 AM
To: Kuhn, Thomas J (IS); xorp-hackers at icir.org
Subject: EXT :RE: Cross Compiled XORP is quite large


I'm working with same toolchain and I get 19M (also little large, but not 600M).



From: xorp-hackers-bounces at icir.org [mailto:xorp-hackers-bounces at icir.org] On Behalf Of Kuhn, Thomas J (IS)
Sent: Friday, June 01, 2012 9:54 PM
To: xorp-hackers at icir.org
Subject: [Xorp-hackers] Cross Compiled XORP is quite large

Hi group!

I ham not an expert in Linux or cross compiling, but, with  a lot of help from the BUILD_NOTES file,  I recently cross compiled (mip64-octeon-linux-gnu) OpenSSL, ncurses, and libpcab prior to cross compiling XORP.  I then cross compiled XORP. Everything seems to have gone on without a hitch, but when I look in the /obj directory I see the /mip64-octeon-linux-gnu folder.  I assume that is everything that I need to put on my platform, but it is a whopping 632MB!  That seems a little large.  What am I missing.   Flags? debug?  Here is what I set:

scons build=mips64-octeon-linux-gnu \
STRIP=mips64-octeon-linux-gnu-sstrip \
CC=mips64-octeon-linux-gnu-gcc \
CXX=mips64-octeon-linux-gnu-g++ \
CFLAGS=-I/home/build/octeon-staging/include \
CXXFLAGS=-I/home/build/octeon-staging/include \
LINKFLAGS=-L/home/build/octeon-staging/lib \


Tom Kuhn

Northrop Grumman Information Systems
11474 Corporate Blvd., Suite 120
Orlando, Fl 32817
Office: (407) 737-4953
Cell: (407) 721-0628
tom.kuhn at ngc.com<mailto:tom.kuhn at ngc.com>


sensitive information.  Unauthorized interception of this e-mail may constitute
a violation of law. If you are not the intended recipient, you are hereby
notified that any review, dissemination, distribution or duplication of this
communication is strictly prohibited. You are also asked to contact the sender
by reply email and immediately destroy all copies of the original message.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ICSI.Berkeley.EDU/pipermail/xorp-hackers/attachments/20120604/d1e6c108/attachment.html 


More information about the Xorp-hackers mailing list