RFC: [PATCH] Make -static builds work again without crashing
Maarten Lankhorst
m.b.lankhorst at gmail.com
Sun Apr 13 20:06:18 PDT 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.
Cheers,
Maarten
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix_static.txt
Url: http://busybox.net/lists/uclibc/attachments/20080413/a3a0ef28/attachment.txt
More information about the uClibc
mailing list