Yahoo Groups archive

Lpc2000

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

Thread

Cygwin / Gnude / gcc compile problems

Cygwin / Gnude / gcc compile problems

2005-10-21 by nealbrains

software:
cygwin (on XP)
Gnude
Microcontroller:
LPC2131 (new micros devboard)

I am starting out with microcontrollers and am trying to get a simple 
helloworld like program to compile with gcc but am having trouble. 
I installed cygwin (the default install) and gnude so that gnude is a 
sub directory ( C:\cygwin\gnude )
  but everytime i try to compile a program it gives me an error 
message like
bash: gcc not recongized command or something like that.

I  have used gcc at my university but have never really tried to 
setup a linux/unix like environment before.

Do i need to set certain Paths?  do i need to place my files in a 
certain directory and compile from a certain directory?  
I know this is a LPC2000 group but this is related to getting started 
with an ARM.  Should I post this in a unix/linux group?

THank you
Neal

Re: [lpc2000] Cygwin / Gnude / gcc compile problems

2005-10-21 by Mukadder Ceyhan

Maybe the main problem of this is due to the global
system variables that should be defined on XP
machine.such as:

C:\ARM251\BIN;C:\cygwin\bin;C:\cygwin\usr\local\bin;c:\program
files\gnuarm\bin;C:\Cygnus\arm-tools\i686-pc-cygwin\bin;C:\Cygnus\bin;C:\Cygnus\arm-tools\i686-pc-cygwin\arm-elf\include


try this.

--- nealbrains <nealbrains@...> wrote:

> software:
> cygwin (on XP)
> Gnude
> Microcontroller:
> LPC2131 (new micros devboard)
> 
> I am starting out with microcontrollers and am
> trying to get a simple 
> helloworld like program to compile with gcc but am
> having trouble. 
> I installed cygwin (the default install) and gnude
> so that gnude is a 
> sub directory ( C:\cygwin\gnude )
>   but everytime i try to compile a program it gives
> me an error 
> message like
> bash: gcc not recongized command or something like
> that.
> 
> I  have used gcc at my university but have never
> really tried to 
> setup a linux/unix like environment before.
> 
> Do i need to set certain Paths?  do i need to place
> my files in a 
> certain directory and compile from a certain
> directory?  
> I know this is a LPC2000 group but this is related
> to getting started 
> with an ARM.  Should I post this in a unix/linux
> group?
> 
> THank you
> Neal
> 
> 
> 
> 



	
		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com

RE: [lpc2000] Cygwin / Gnude / gcc compile problems

2005-10-21 by Michael Rubitschka

Hi Nealbrains

You need of course a path to your cygwin/bin directory.
You can try to launch make from commandline to find out if it is recogniced.

Cheers
Michael
Show quoted textHide quoted text
>From: "nealbrains" <nealbrains@...>
>Reply-To: lpc2000@yahoogroups.com
>To: lpc2000@yahoogroups.com
>Subject: [lpc2000] Cygwin / Gnude / gcc compile problems
>Date: Fri, 21 Oct 2005 11:32:07 -0000
>
>software:
>cygwin (on XP)
>Gnude
>Microcontroller:
>LPC2131 (new micros devboard)
>
>I am starting out with microcontrollers and am trying to get a simple
>helloworld like program to compile with gcc but am having trouble.
>I installed cygwin (the default install) and gnude so that gnude is a
>sub directory ( C:\cygwin\gnude )
>   but everytime i try to compile a program it gives me an error
>message like
>bash: gcc not recongized command or something like that.
>
>I  have used gcc at my university but have never really tried to
>setup a linux/unix like environment before.
>
>Do i need to set certain Paths?  do i need to place my files in a
>certain directory and compile from a certain directory?
>I know this is a LPC2000 group but this is related to getting started
>with an ARM.  Should I post this in a unix/linux group?
>
>THank you
>Neal
>
>
>

Re: [lpc2000] Cygwin / Gnude / gcc compile problems

2005-10-21 by FreeRTOS Info

<snip>
> bash: gcc not recongized command or something like that.


Not familiar with gnude, but the command is most probably of the format
arm-elf-gcc, not just gcc.


<snip>
> Do i need to set certain Paths?


Almost definitely.

>do i need to place my files in a
> certain directory and compile from a certain directory?


Almost definitely not

> I know this is a LPC2000 group but this is related to getting started
> with an ARM.  Should I post this in a unix/linux group?
>


If you are using a Windoze host I would recommend using a package such as
can be found here:
http://www.gnuarm.org/files.html

This includes a setup exe file for Win32 that installs everything you need.
There is no need for a separate Cygwin installation.  I found this a very
easy installation.  All you then need to do is ensure the path environment
includes the bin directory.

Regards,
Richard.


http://www.FreeRTOS.org

Re: [lpc2000] Cygwin / Gnude / gcc compile problems

2005-10-21 by Michael Anburaj

Neal,

Dont know about Gnude. But, if you are looking for gcc
environment + simple programs.. try this,

http://www.geocities.com/michaelanburaj/downloads/lpc_1.00.zip

This package incudes all that is needed to get someone
started with LPC210x or LPC213x.

The source is an extract from arm_ucos port, so it is
easy to move from these sample to running uCOS-II (if
you needed an RTOS later).

Cheers,
-Mike.

--- nealbrains <nealbrains@...> wrote:

> software:
> cygwin (on XP)
> Gnude
> Microcontroller:
> LPC2131 (new micros devboard)
> 
> I am starting out with microcontrollers and am
> trying to get a simple 
> helloworld like program to compile with gcc but am
> having trouble. 
> I installed cygwin (the default install) and gnude
> so that gnude is a 
> sub directory ( C:\cygwin\gnude )
>   but everytime i try to compile a program it gives
> me an error 
> message like
> bash: gcc not recongized command or something like
> that.
> 
> I  have used gcc at my university but have never
> really tried to 
> setup a linux/unix like environment before.
> 
> Do i need to set certain Paths?  do i need to place
> my files in a 
> certain directory and compile from a certain
> directory?  
> I know this is a LPC2000 group but this is related
> to getting started 
> with an ARM.  Should I post this in a unix/linux
> group?
> 
> THank you
> Neal
> 
> 
> 
> 



		
__________________________________ 
Start your day with Yahoo! - Make it your home page! 
http://www.yahoo.com/r/hs

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.