On Tue, Feb 08, 2005 at 11:26:55AM -0800, Peter Mueller wrote:
>
> # perlcc sanitizer.pl -o sanitizer
> /tmp/ccZDnQzM.o: In function `dl_init':
> /tmp/ccZDnQzM.o(.text+0x114da8): undefined reference to `boot_MIME__Base64'
> /tmp/ccZDnQzM.o(.text+0x114e5e): undefined reference to `boot_Digest__MD5'
> collect2: ld returned 1 exit status
yep, same on a Debian 3.x system; but I doubt the perlcc-reduced binary
would be much better than the plain .pl: I tried
perlcc sanitizer.pl -o sanitizer.c -c
and got a ~7MB sanitizer.c (!)
which - just for fun - I tried to gcc-compile; on a 512MB RAM + 256 MB swap
pc gcc got killed due to vm exhaustion. Then I tried with +1GB swapfile
but got endless list of unreferences.
perlcc might do a better job doing the binary directly, but it got stuck
as above despite any -I, -L I tried. So I gave up.
--
paolo
GPG/PGP id:0x21426690 kfp:EDFB 0103 A8D8 4180 8AB5 D59E 9771 0F28 2142 6690
"Indeed, it does come with warranty: it *will* fail, sometimes, somehow..."
- software vendor