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: No companion libraries for gcc 4.4.6


On Mon, May 9, 2011 at 12:25 AM, Yann E. MORIN
<yann.morin.1998@anciens.enib.fr> wrote:
> Xun, All,
>
> On Monday 09 May 2011 032305 Xun Li wrote:
>> On Sun, May 8, 2011 at 2:28 AM, Yann E. MORIN
>> <yann.morin.1998@anciens.enib.fr> wrote:
>> > On Sunday 08 May 2011 08:00:07 Xun Li wrote:
>> >> During the configuration, when the gcc version is 4.4.6 (which is the
>> >> default value for gcc in the current version of crosstool), the
>> >> companion libraries section is empty.
>> > Patches available:
>> > ? http://crosstool-ng.org/download/crosstool-ng/01-fixes/1.11.1/
>> >
>> I applied the two patches and it still seem not to work: when the
>> compiler is 4.4.6, the companion_libs menu is empty.
>
> Weird. It works here:
> ?tar xjf crosstool-ng-1.11.1.tar.bz2
> ?cd crosstool-ng-1.11.1
> ?curl 'http://[...]/000-cc_gcc_fix_complibs_dependency.patch' |patch -p1
> ?./configure --local
> ?make
> ?./ct-ng menuconfig
>
Hi Yann,

Although I am not sure where does this problem come from but here is
how to recreate this problem:
Do the exact same process as you described above, but use install
configure instead of local configure. (I'm pretty sure that I am using
the correct installed ct-ng)
What is interesting is that if you run a local configure once then run
install configure, it will work. But directly run a install configure
from scratch will incur this problem. So I guess there is some
inconsistency between local configure and non-local configure.

> Then go check gcc: it's 4.4.6; then go check complibs: they are shown.
> (Note that the second patch is not needed here, it just fixes the helper
> script used to add new versions.)
>
> Did you configure for local use, or for install? If tthe latter, did you
> ensure you are using the correct installed ct-ng?
>
> Regards,
> Yann E. MORIN.:wq
>
> --
> .-----------------.--------------------.------------------.--------------------.
> | ?Yann E. MORIN ?| Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
> | +0/33 662376056 | Software ?Designer | \ / CAMPAIGN ? ? | ? ^ ? ? ? ? ? ? ? ?|
> | --==< O_o >==-- '------------.-------: ?X ?AGAINST ? ? ?| ?/e\ ?There is no ?|
> | http://ymorin.is-a-geek.org/ | (*_*) | / \ HTML MAIL ? ?| ?""" ?conspiracy. ?|
> '------------------------------'-------'------------------'--------------------'
>



-- 
Xun Li
Computer Architecture Lab
Department of Computer Science
University of California, Santa Barbara

--
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]