[Xorp-hackers] [Xorp-users] Minimal XORP IPv4 Multicast for embedded Linux?

Pavlin Radoslavov pavlin at ICSI.Berkeley.EDU
Fri Aug 15 14:28:06 PDT 2008


Daniel ng <daniel.ngq at gmail.com> wrote:

> On Thu, Aug 14, 2008 at 9:07 PM, Bruce M. Simpson <bms at icir.org> wrote:
> > It's difficult to say without any details about memory, CPU, architecture
> > etc.
> 
> 32MB RAM, 32MB flash, PowerPC ie. not much!
> 
> Quagga (with its OSPF module) complied against uClibc takes just 1MB
> of flash and about 2k of RAM.
> 
> Can XORP with just IPv4 Multicast be shrunk to these sorts of sizes?

You would have to try and tell us :)

By default XORP compiles with debug information enabled, which
increases significantly the size. You might want to use:

./configure --enable-optimize --disable-debug --disable-ipv6
gmake clean && gmake

After the compilation, you might be able to remove few extra KBs by
using "strip" on each executable file you are going to use.
Another thing to try is to set CFLAGS and CXXFLAGS environmental
variables to, say, "-Os" which will optimize for size. E.g., use the
following commands (in csh/tcsh) BEFORE running the above
"./configure ..." command:

setenv CFLAGS -Os
setenv CXXFLAGS -Os

Pavlin


> _______________________________________________
> Xorp-users mailing list
> Xorp-users at xorp.org
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-users



More information about the Xorp-hackers mailing list