This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: ld: cannot find -lc


Hi,

2010/12/5 Arnaud Lacombe <lacombar@gmail.com>:
> Hi,
>
> 2010/12/5 Răzvan Surdulescu <surdules@gmail.com>:
>> 2010/12/4 Arnaud Lacombe <lacombar@gmail.com>:
>>> 2010/12/5 Răzvan Surdulescu <surdules@gmail.com>:
>>>> 2010/11/28 Răzvan Surdulescu <surdules@gmail.com>:
>>>>> Then, I looked at the build.log, and noticed that, after sed runs (and
>>>>> correctly modified libgcc.mk by removing the "-lc"), the file
>>>>> libgcc.mk is actually generated *again* lower below. Naturally, this
>>>>> reintroduces the "-lc" link parameter, and causes the build to fail.
>>>>
>>> FWIW, all that sed stuff is useless.
>>
>> I thought the sed command removes the "-lc" parameter from libgcc.mk.
>> Without this sed command, GCC stage would fail to compile, since -lc
>> doesn't exist yet. I'm looking at line 278 in
>> http://ymorin.is-a-geek.org/hg/crosstool-ng/file/6d909657dbdf/scripts/build/cc/gcc.sh
>>
>> Can you elaborate?
>>
> All is in the patch I sent a week ago.
>
But it would seem that Yann finally decided to ignore me for good.

Wonderful job, Yann!

 - Arnaud

--
For unsubscribe information see http://sourceware.org/lists.html#faq


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]