Building an old uClibc version with gcc

Ian Barnes ian at 2lostkiwis.com
Fri Aug 26 02:20:00 UTC 2011


Hello Laurent,

Many thanks for that - it was precisely the answer I was after, something
from a knowledgeable person. On your advice I have compiled a static httpd
enabled busybox - this worked flawlessly on the target MIPS machine. And yes
it was small and efficient so I am happy to forget about messing round and
trying to get something linked to the existing libraries.

My only problem now is that I need a web server that can generate directory
listings - which the busybox httpd doesn't appear to support. So I'm not
going to go and try compiling a static version of lighttpd.

Many thanks again for your help.
Ian.

p.s. the company doesn't provide the source, nor a statement with the
purchased product. The only statement they provide (found with google) is
the following PDF: http://magictv.co.nz/downloads/MagicTV_Sourcecode.pdf.
They admit what they use, and that it is patched - but they do not provide
the patches. Looks to be a pretty clear violation to my untrained eyes.


-----Original Message-----
From: uclibc-bounces at uclibc.org [mailto:uclibc-bounces at uclibc.org] On Behalf
Of Laurent Bercot
Sent: Tuesday, 23 August 2011 3:35 p.m.
To: uclibc at uclibc.org
Subject: Re: Building an old uClibc version with gcc

 Hello Ian,

 First, a quick and dirty solution to what you want to achieve:

 - go to http://www.landley.net/aboriginal/ and download a prebuilt binary
toolchain from x86 to your appliance's architecture.
 - download busybox (http://busybox.net/), select the tcpsvd and httpd
applets, fill in the "path to cross-compiler" field correctly with your
binary toolchain prefix, make sure you link busybox statically to avoid
relying on the appliance's libc.
 - you're done: you have a small web server to run on your appliance.



More information about the uClibc mailing list