[Top][All Lists]

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

RE: [avr-gcc-list] gcc-3.4.2 bin for win xp?

From: Anton Erasmus
Subject: RE: [avr-gcc-list] gcc-3.4.2 bin for win xp?
Date: Fri, 05 Nov 2004 20:51:19 +0200

On 5 Nov 2004 at 9:49, Bernard Fouché wrote:

> I'm compiling on Linux at the office on 3.4.2. Since I need to do test
> fields, I move with a laptop on XP and I sometimes need to recompile
> on the move. I also sometimes compile at home also with XP....
> Cygwin seems a good choice. Is WinAVR compiled with this environment?

AFAIK WinAVR is compiled using the mingw environment. One does not need cygwin
to run the WinAVR compiler. If you compile under cygwin, then your whole 
is much more like the normal linux (console) environment. You also then run 
avr-gcc in
the cygwin environment. (Normally a bash shell)
Just install cygwin. Copy the sources you used to compile avr-gcc under linux. 
as normal and use the same as under linux.

   Anton Erasmus

> -----Message d'origine-----
> De : Anton Erasmus [mailto:address@hidden
> Envoyé : jeudi 4 novembre 2004 22:12
> À : Bernard Fouché
> Objet : Re: [avr-gcc-list] gcc-3.4.2 bin for win xp?
> On 4 Nov 2004 at 18:48, Bernard Fouché wrote:
> > I'm using gcc-3.4.2 on Linux and WinAVR with gcc-3.4.1 on XP. I ran
> > into a very strange problem yesterday: code compiled on Linux would
> > work, same source code compiled on XP was not working on the same
> > target. No compilation error, same Makefile. I flashed on XP with
> > avrdude and uisp without success to discard problems I had once on
> > XP with avrdude, so it could be a difference in the compilation
> > environment. I'd like to stay on 3.4.2 on Linux.
> >
> > Since I've no C compiler on XP to regenerate all the stuff, is there
> > some place where I can get gcc-3.4.2 already compiled? Or is an
> > updated WinAVR coming soon?
> I do not understand. You already have 3.4.2 on Linux, and you say
> you'd like to stay on Linux. So what is the problem ? If you want
> 3.4.2 under XP, then the easiest is probalby to compile from source
> under cygwin. Alternatively you can crosscompile using a Linux to
> mingw crosscompiler under Linux.
> Regards
>    Anton Erasmus
> --
> A J Erasmus

A J Erasmus

reply via email to

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