On Sat, 2008-11-15 at 11:56 +1100, David Gibson wrote: > On Fri, Nov 14, 2008 at 10:06:57AM -0600, Adam Litke wrote: > > On Fri, 2008-11-14 at 17:51 +1100, David Gibson wrote: > > > On Thu, Nov 13, 2008 at 08:26:12PM +0000, Adam Litke wrote: > [snip] > > > The one big thing that worries me about switching to Python is that it > > > introduces another build and test dependency. That's not a big issue > > > for regular desktop or server systems - Python's common enough. But > > > it is an issue for embedded boards, where hugepage support is becoming > > > increasingly common. In particular that's troublesome because > > > libhugetlbfs is de fact the testsuite for kernel hugepage support as > > > well as for the library itself. Making it harder to do a thorough > > > test of hugepages on J Random embedded board is a non-trivial > > > drawback. > > > > Yes, you make a good point here. If the target system lacks Python, > > could they just use freeze to produce a binary? > > http://wiki.python.org/moin/Freeze > > Maybe. How big are the executables produced by Freeze? What > libraries do they depend on, typically?
[EMAIL PROTECTED]:~/freeze$ ls -lh run_tests -rwxr-xr-x 1 aglitke aglitke 3.3M 2008-11-19 07:58 run_tests [EMAIL PROTECTED]:~/freeze$ ldd run_tests linux-vdso.so.1 => (0x00007fff7b5ff000) libpthread.so.0 => /lib/libpthread.so.0 (0x00007f72730f5000) libdl.so.2 => /lib/libdl.so.2 (0x00007f7272ef1000) libutil.so.1 => /lib/libutil.so.1 (0x00007f7272cee000) libm.so.6 => /lib/libm.so.6 (0x00007f7272a6d000) libc.so.6 => /lib/libc.so.6 (0x00007f727270b000) /lib64/ld-linux-x86-64.so.2 (0x00007f7273311000) -- Adam Litke - (agl at us.ibm.com) IBM Linux Technology Center ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Libhugetlbfs-devel mailing list Libhugetlbfs-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel