Reply by Rod Moffitt January 27, 20052005-01-27
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 / , _/ /_/ / // / / / _ \/ _/ _ \
/_/|_|\____/____(*)_/_//_/_/ \___/
=======================================================
~ 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 / , _/ /_/ / // / / / _ \/ _/ _ \
>> /_/|_|\____/____(*)_/_//_/_/ \___/
>> =======================================================
>> ~ 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 , "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



An Engineer's Guide to the LPC2100 Series

Reply by Anton Erasmus January 27, 20052005-01-27
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 / , _/ /_/ / // / / / _ \/ _/ _ \
> /_/|_|\____/____(*)_/_//_/_/ \___/
> =======================================================
> ~ 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 , "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



Reply by Rod Moffitt January 27, 20052005-01-27
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/

- Rod

--
___ ____ ___ _ ___
Rod Moffitt / _ \/ __ \/ _ \ (_)__ / _/__
http://rod.info / , _/ /_/ / // / / / _ \/ _/ _ \
/_/|_|\____/____(*)_/_//_/_/ \___/
=======================================================
~ 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 , "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




Reply by leon_heller January 22, 20052005-01-22

--- In , "embest1sale1" <embest1sale1@y...>
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.

It's actually very easy, you don't need to build the tool chain.
Download the Cygwin gcc 3.4 binaries from

http://www.gnuarm.com/

Run the setup wizard (make sure you install Cygwin), add
c:\gnuarm\bin to your path and you are ready to compile your first
program. It would be a good idea to join the gnuarm group.

Leon



Reply by embest1sale1 January 22, 20052005-01-22

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 , "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




Reply by Rick Collins January 17, 20052005-01-17

--- In , "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.

Check out www.gnuarm.com for the source code and binary files. There
is a gnuarm Yahoo! group where you can ask questions. The web site
has a page of links to various sources of information.



Reply by gsudershanraj January 17, 20052005-01-17

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