[Xorp-hackers] EXT :Re: Cross Compiled XORP is quite large

Kuhn, Thomas J (IS) tom.kuhn at ngc.com
Tue Jun 5 12:10:26 PDT 2012


Thanks!



Tom Kuhn
407-721-0628 (Cell)

----- Original Message -----
From: Ben Greear [mailto:greearb at candelatech.com]
Sent: Tuesday, June 05, 2012 11:00 AM
To: Kodel Oleg <oleg.kodel at elbitsystems.com>
Cc: Kuhn, Thomas J (IS); xorp-hackers at icir.org <xorp-hackers at icir.org>
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 <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com




More information about the Xorp-hackers mailing list