On 06/01/2012 11:53 AM, Kuhn, Thomas J (IS) wrote:
> 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 \

Do the install step.  I think that strips by default..and if not,
you can manually do a strip on all of the installed files.  That should
get it down to a much more manageable size...

Thanks,
Ben

>
> *Tom Kuhn*
>
> *Northrop Grumman Information Systems*
> 11474 Corporate Blvd., Suite 120
> Orlando, Fl 32817
> Office: (407) 737-4953
> Cell: (407) 721-0628
> [email protected] <mailto:[email protected]>
>
>
>
> _______________________________________________
> Xorp-hackers mailing list
> [email protected]
> http://mailman.ICSI.Berkeley.EDU/mailman/listinfo/xorp-hackers


-- 
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

Reply via email to