[uClibc] How to compile application statically using uClibc
Kevin P. Fleming
kpfleming at backtobasicsmgmt.com
Thu May 13 19:30:51 UTC 2004
Manuel Novoa III wrote:
> On Thu, May 13, 2004 at 02:06:09AM -0700, Linton wrote:
>
>>I have gcc 2.96 in my system (redhat 7.3) and I have
>>compiled uClibc-0.9.26 . I tried to compile an
>>application using those uClibc library. But I am
>>unable to get a statically linked output that uses
>>uClibc library. It is using standard glibc.
>>
>>I followedthis way:
>>
>>./configure --libdir=<uClibc Lib directory>
>>
>> make
>
>
> It takes a lot more than the above...
Actually, based on what the OP wrote, I assumed that was the configure
command used to (attempt) compile of the application, not uClibc. If
that's true, then it's not even remotely related to actually linking
against uClibc.
More information about the uClibc
mailing list