[ELDK] arm-linux-gnueabi/4.6.4/ld: cannot find -lc

uc freak ucfreak at gmail.com
Tue Jul 3 12:45:29 CEST 2012


Just for completion of the thread

On Tue, Jul 3, 2012 at 10:41 AM, uc freak <ucfreak at gmail.com> wrote:

>
> Dear Wolfgang,
>
> I checked the code yesterday, it had the semicolon. ;-)
> The code compiled fine without the "-static" option, i have to see know
> how to get the libs on the rootfs. I wanted to keep the rootfs very simple
> at the beginning, ideally only the kernel and the executable named "init".
> I first want to understand the basics of a minimal linux system before
> using a full blown sdk. Usually I program on microcontrollers without OS,
> like AVR or STM32 (Cortex M3).
>
> Concerning the book, yes, its is the 2nd edition. I like it, it's good for
> beginners, but some examples require to be updated to work with recent
> tools. An updated edition would be nice. By the way, can you recommend
> similar literature?
>
> I just saw that I replied directly to you instead of the mailing list.
> Sorry. Next time I'll take care to reply to the mailing list.
>
> Thanks & regards,
>
> ucfreak
>
>
> On Mon, Jul 2, 2012 at 8:07 PM, Wolfgang Denk <wd at denx.de> wrote:
>
>> Dear uc freak,
>>
>> In message <CAJUUqaYOgwvkoj==4HDVtrPF6NsoDbgDZ=
>> X9WY9iu-KQprgaSg at mail.gmail.com> you wrote:
>> >
>> > I took this exemple out of the book "Linux embarque" from Pierre Ficheux
>> > which recommends to use and provides many examples based on your eldk
>> > (4.x.y, dont remember the exact version right now). In the hello world
>> > example the book uses the "-static" option. I expected that this should
>> > work and assumed (wrongly) that it may be linked with your eldk. I'll
>> check
>> > out the link you send.
>>
>> I see.  well, the 2nd edition of this book appears to be from
>> September 2005, i. e. nearly 7 years old.  No big surprise that many
>> things have changed since.
>>
>> Best regards,
>>
>> Wolfgang Denk
>>
>> --
>> DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
>> HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
>> Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
>> The man on tops walks a lonely street;  the  "chain"  of  command  is
>> often a noose.
>>
>
>


More information about the eldk mailing list