RFC: [PATCH] Make -static builds work again without crashing

Maarten Lankhorst m.b.lankhorst at gmail.com
Mon Apr 14 03:06:18 UTC 2008

Hi all,

After some experimenting I came to the conclusion that the minimum app
that won't crash with gcc -static is printf("%.0d", 0); which is
essentially a noop printf. So my patch calls that before calling main.

Looking for feedback on the patch.

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix_static.txt
Url: http://lists.busybox.net/pipermail/uclibc/attachments/20080413/a3a0ef28/attachment-0002.txt 

More information about the uClibc mailing list