On Wed, Jun 06, 2007 at 06:46:38PM +0800, [EMAIL PROTECTED] wrote: ><DIV> ><DIV> ><DIV><FONT face=Arial size=2></FONT> </DIV> ><DIV><FONT face=Arial size=2>Dears,</FONT></DIV> ><DIV><FONT face=Arial size=2></FONT> </DIV> ><DIV><FONT face=Arial size=2>I want to use some of busybox's function for my >application.</FONT></DIV> ><DIV><FONT face=Arial size=2>My application want to call some applet form >busybox such like "ifconfig" ... etc.</FONT></DIV> ><DIV><FONT face=Arial size=2>I try to open configuration flag such as >below:</FONT></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2> >CONFIG_BUILD_LIBBUSYBOX</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2> >CONFIG_FEATURE_FULL_LIBBUSYBOX</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2> >CONFIG_FEATURE_SHARD_BUSYBOX</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2>But, I only get a >executable "busybox" file.</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial >size=2></FONT></SPAN> </DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial><FONT size=2>I found a >mail that subject "[patch] build shared library" written by <EM>Bernhard >Fischer.</EM></FONT></FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2>But I can't use it >for my source code.</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2>It looks lilk not >for my Makefile.</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial >size=2></FONT></SPAN> </DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2>My working >environment is below:</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2>gcc >3.4.5</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2>busybox 1.4.2 form >busybox web site</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2>Use "make >defconfig" to generate ".config" file.</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial >size=2></FONT></SPAN> </DIV> ><DIV><SPAN class=656261410-06062007><FONT face=Arial size=2>Could some >body help me?</FONT></SPAN></DIV> ><DIV><SPAN class=656261410-06062007><FONT >size=2></FONT></SPAN> </DIV></DIV></DIV><br><span >style="font-size:13px">--- ???l??????HiNet WebMail ---</span>
first, i'm not a browser. second, this is currently not supported. I'm not sure about the last version that had this option (1.2.2.1, perhaps, not sure though). With trunk, you may experiment with EXTRA_CFLAGS="-DPIE -pie" EXTRA_LDFLAGS=-Wl,-pie but i'm pretty sure that this will need additional hackery to drop flags that are disallowed there. _______________________________________________ busybox mailing list busybox@busybox.net http://busybox.net/cgi-bin/mailman/listinfo/busybox