What 'library code' are you referring to? If you mean newlib, my script
builds newlib with all permutations, i.e. thumb mode with thumb
inter-working, no thumb at all, and no thumb mode with thumb
inter-working. However you need to tell the linker which library to use,
i.e. you need to reference the correct newlib path with:
-L/usr/local/arm/arm-elf/lib/thumb # for thumb + inter-working
or
-L/usr/local/arm/arm-elf/lib # for no thumb at all
or
-L/usr/local/arm/arm-elf/lib/interwork # for no thumb + inter-working
P.S. I have only used the first two options myself.
Don't forget GCC multi-lib, which my script builds with the same
permutations. However GCC is 'smart' enough to decide which version to use
so multi-lib shouldn't be an issue (i.e. you don't need to specify any -L
path for it).
- Rod
--
___ ____ ___ _ ___
Rod Moffitt / _ \/ __ \/ _ \ (_)__ / _/__
http://rod.info / , _/ /_/ / // / / / _ \/ _/ _ \
rodANTISPAM@... /_/|_|\____/____(*)_/_//_/_/ \___/
=======================================================
~ Where loved ones are remembered http://memoriam.org ~
On Thu, 27 Jan 2005, Anton Erasmus wrote:
>
> On 27 Jan 2005 at 10:05, Rod Moffitt wrote:
>
>>
>> No, it's not that hard to build the GNU tool-chain. I have a build
>> script that will cost you a total of $0 available at:
>>
>> http://rod.info/arm.html
>>
>> Or you can get a binary distro at:
>>
>> http://gnuarm.com/
>>
>
> Hi,
>
> I used your script together with the source archives you have to build the tools.
> When I compile some code with the rsultant tools, I get warning regarding thumb-
> interworking problems., to the effect that my code is compiled with thumb-interworking
> while the library code is not.
> Using the tools from gnuarm.com does not have this problem.
> Do you have a small project (Simple port toggle type thing) that uses your build version
> of the tool without these warnings.
>
> Regards
> Anton Erasmus
>
>
>> ___ ____ ___ _ ___
>> Rod Moffitt / _ \/ __ \/ _ \ (_)__ / _/__
>> http://rod.info / , _/ /_/ / // / / / _ \/ _/ _ \
>> rodANTISPAM@... /_/|_|\____/____(*)_/_//_/_/ \___/
>> =======================================================
>> ~ Where loved ones are remembered http://memoriam.org ~
>>
>> On Sat, 22 Jan 2005, embest1sale1 wrote:
>>
>>>
>>>
>>> Yes, you can use GCC and GDB for developing ARM application. Bus
>>> it's very difficult to build the whole tools chain and use with it.
>>> Maybe you can look at Embest's tools which are in very low price at:
>>>
>>> http://www.embedinfo.com/english/index.asp
>>>
>>>
>>>
>>>
>>> --- In lpc2000@yahoogroups.com, "gsudershanraj" <gsraj@p...> wrote:
>>>>
>>>> Guys,
>>>>
>>>> Quite new to the ARM processor, I have choosen LPC2138 for our
>>>> application. I under stOod that the free sourcecode available for
>>> GNU
>>>> GCC and GNU GDB for the ARM processor. Can somebody suggest where
>>> can
>>>> I find the exact required details.
>>>>
>>>> Thanks in advance.
>>>>
>>>> Cheers,
>>>> Sudershan
>>>
>>>
>>>
>>>
>>>
>>>
>>> Yahoo! Groups Links
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>>
>>
>> Yahoo! Groups Links
>>
>>
>>
>>
>>
>>
>>
>
> --
> A J Erasmus
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>Message
Re: [lpc2000] Re: complier stuff for LPC2138
2005-01-27 by Rod Moffitt
Attachments
- No local attachments were found for this message.