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: Problem while building crosscompiler for arm9tdmi.


Hi Martin,
Can you clearly mention where I can find the patch.I am new to
cross-compiling.Can you please help me out.

Thanks,
Naresh


On 7/22/09, Martin Guy <martinwguy@gmail.com> wrote:
> On 7/22/09, raga naresh <raganaresh.thatha@gmail.com> wrote:
>> Hi ,
>>  I am trying to build cross compiler for arm9tdmi by following the
>>  steps
>> http://www.kegel.com/crosstool/crosstool-0.43/doc/crosstool-howto.html
>>  with specifications
>>  gcc-4.1.1
>>  cgcc-3.3.6
>>  glibc-2.3.2
>>  binutils-2.16.1
>>  linux-2.6.15.4
>>  hdrs-2.6.12.0
>>
>>  After running the demo-arm9tdmi.sh,it finally ends up with
>>  *** These critical programs are missing or too old: gcc
>>  *** Check the INSTALL file for required versions.
>>
>>  My build system is ubuntu 9.04 with kernel 2.6.28 kernel and gcc
>>  4.3.
>
> $ cd crosstool-0.43
> $ grep 'critical programs are missing or too old' *
> $ grep 'critical programs are missing or too old' */*
> contrib/inbox.txt:> *** These critical programs are missing or too old: gcc
> $ vi contrib/inbox.txt
> /missing or
> ...
>> *** These critical programs are missing or too old: gcc
>> *** Check the INSTALL file for required versions.
>>
> I have had the same problem. What I found was that the glibc configure
> script was testing for a version of gcc 3.2.* or later. It does not test
> for a major number above 3 so the test fails. I do not know where this
> test is initiated, but once you have reached that point you can patch
> the configure script and run demo-*.sh with the --nounpack option added
> to your desired toolchain build.
>
> This patch worked for me:
>
> [patch for ancient glibc's configure to recognize gcc 4.*]
> :q!
> $ thankyou
>

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