Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Thread

complier stuff for LPC2138

complier stuff for LPC2138

2005-01-17 by gsudershanraj

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

Re: complier stuff for LPC2138

2005-01-17 by Rick Collins

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

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.

Re: complier stuff for LPC2138

2005-01-22 by embest1sale1

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 
Show quoted textHide quoted text
> I find the exact required details. 
> 
> Thanks in advance.
> 
> Cheers,
> Sudershan

Re: complier stuff for LPC2138

2005-01-22 by leon_heller

--- In lpc2000@yahoogroups.com, "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

Re: [lpc2000] Re: complier stuff for LPC2138

2005-01-27 by Rod Moffitt

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       / , _/ /_/ / // / / / _ \/ _/ _ \
  rodANTISPAM@... /_/|_|\____/____(*)_/_//_/_/ \___/
  =======================================================
  ~ Where loved ones are remembered http://memoriam.org ~
Show quoted textHide quoted text
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
>
>
>
>
>
>
>
>

Re: [lpc2000] Re: complier stuff for LPC2138

2005-01-27 by Anton Erasmus

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

Re: [lpc2000] Re: complier stuff for LPC2138

2005-01-27 by Rod Moffitt

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 ~
Show quoted textHide quoted text
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
>
>
>
>
>
>
>
>

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.