Thanks!
Tom Kuhn 407-721-0628 (Cell) ----- Original Message ----- From: Ben Greear [mailto:[email protected]] Sent: Tuesday, June 05, 2012 11:00 AM To: Kodel Oleg <[email protected]> Cc: Kuhn, Thomas J (IS); [email protected] <[email protected]> Subject: EXT :Re: [Xorp-hackers] Cross Compiled XORP is quite large On 06/04/2012 11:05 PM, Kodel Oleg wrote: > #!/bin/sh > > scons j=2 build=mips64-octeon-linux-gnu \ > > disable_ipv6=yes enable_tests=no disable_fw=yes strip=yes \ > > disable_tracelogs=yes disable_infologs=yes disable_otherlogs=yes > optimize=size debug=no \ > > STRIP=mips64-octeon-linux-gnu-strip CC=mips64-octeon-linux-gnu-gcc > CXX=mips64-octeon-linux-gnu-g++ \ > > LINKFLAGS=-L/opt/OCTEON-SDK_2.0.0/tools-gcc-4.3/mips64-octeon-linux-gnu/sys-root/usr/include/openssl/lib > \ > > CFLAGS=-I/opt/OCTEON-SDK_2.0.0/tools-gcc-4.3/mips64-octeon-linux-gnu/sys-root/usr/include/openssl > \ > > CXXFLAGS=-I/opt/OCTEON-SDK_2.0.0/tools-gcc-4.3/mips64-octeon-linux-gnu/sys-root/usr/include/openssl > $1 > > Use it with "build" or "install". > > N.B. Somebody working on decrease of the installation size? > > It is critical on embedded devices. I and some others did some work in this direction a year or two ago. Got it down to around 10MB when logging and many of the other features were disabled. I am sure that there is more that could be done..and patches will be considered if anyone makes any progress... But, I ship my products on 40GB SSDs, so it's not so important to me so I'm unlikely to spend much time writing these types of patches. Thanks, Ben -- Ben Greear <[email protected]> Candela Technologies Inc http://www.candelatech.com _______________________________________________ Xorp-hackers mailing list [email protected] http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers
