avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [avr-gcc-list] avr-gcc hangs on XP.


From: Eric Weddington
Subject: RE: [avr-gcc-list] avr-gcc hangs on XP.
Date: Thu, 17 May 2007 08:14:22 -0600

 

> -----Original Message-----
> From: edSteve [mailto:address@hidden 
> Sent: Thursday, May 17, 2007 7:35 AM
> To: Eric Weddington
> Cc: 'AVR GCC List'
> Subject: Re: [avr-gcc-list] avr-gcc hangs on XP.
> 
> Hi Eric,
> 
>  I'm sorry, I'm a bit ignorant about AVR development on 
> Windows. I'm most 
> comfortable in a Linux environment but because my customer is 
> a Windows  
> house and needs to be able to build at their location I have 
> a need to set 
> them up with a build that requires just a single command to 
> update from the 
> repository (subversion), build the hex file and generate 
> latest documentation 
> (doxygen). Also, there are tools designed to run on the host 
> and interact 
> with the AVR target via the serial port that are built using 
> gcc in the 
> cygwin environment at the same time (the AVR and host side 
> components have 
> common header files).
> 
> I need to use other tools that cygwin provides but not 
> included in WinAVR 
> (e.g. subversion, doxygen,  ...) and invoke them from a 
> single make. I was 
> attracted to WinAVR because of your frequent efforts to keep 
> it up to date 
> and I didn't find anything pre-built for cygwin. I seem to 
> have created a 
> dilemma for myself.

SVN has a client for Windows. Doxygen also has a Windows binary. WinAVR
comes with 'make' (as well as sh). You can take that tool that works with
the serial port that is built in Cygwin, and copy it to an installation
directory, along with the cygwin1.dll (if it is linked to it) and it will
very probably run just fine. You might have a conflict with the cygwin1.dll
that is included in the WinAVR \bin directory, but if you are not using
avarice or simulavr, then you can just rename the cygwin1.dll file that
comes with WinAVR to avoid conflict.

My point is that you very probably don't need to build AVR GCC in Cygwin,
nor run everything in a Cygwin shell. Use WinAVR, create your Makefile and
call make from the Windows command line. This is a much simpler approach.

 
> btw: I'm not familiar with the MinGW/MSYS environment you 
> mentioned. I checked 
> in cygwin and found that the mingw runtime library is 
> installed. Is that the 
> same thing?

www.mingw.org

Eric





reply via email to

[Prev in Thread] Current Thread [Next in Thread]