I'm trying to build an anonymous ftp space that does not require me to
mount the partition suid (apparently due to 'nodevs' being implicitly
stated by 'nosuid'). If I use a dynamically-linked ls binary, then
/dev/zero is required.
I've tried to build a static version of GNU "ls" (GNU fileutils 3.12)
using gcc (2.7.2) as my C compiler with either '-static' or
'-Wl,-Bstatic'. Of course, linking fails noting that libc.a is unable
to locate "dlopen" and friends.
Any ideas? From reading Casper's reply regarding "static" tcsh, I
know that I can't link a program that uses getpwXX staticly. Has
anyone written a simple "replacement" for ls(1) that _can_ be static?
I don't care if it doesn't use /etc/{passwd,group}.
Please reply via email. If there's interest (and a simple solution),
I'll submit it to the FAQ.
Thank you for your time.
--
Dallas Antley
---------------------------------------------------------------------
"When you build great technologies, the support comes naturally."
--SunSoft, '93