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

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

[avr-gcc-list] compilling libc in windows - take 2


From: Paulo Abreu
Subject: [avr-gcc-list] compilling libc in windows - take 2
Date: Sun, 21 Apr 2002 14:02:11 +0100

Hello!
 
Perhaps this information will avoid someone loosing time and my apologies for my bad English
 
%AVRGCC% - avrgcc compiler path (i.e. c:\avrgcc)
%CYGWIN%- cygwin path (i.e. c:\cygwin)
%WINDOWS%- windows path (i.e. c:\winnt)
 
Note: you should replace this words with the corresponding directories.
 
1- install avrgcc from avr freaks (http://www.avrfreaks.net/AVRGCC/index.php)
 
2-  install cygwin http://www.cygwin.com/
 
3- download last avr-libc release (http://www.amelek.gda.pl/avr/libc/) and unpack it to %AVRGCC%/lib
 
4- edit doconf at %AVRGCC%/lib/avr-libc-20020203. Find ':${PREFIX:=/usr/local}' and replace with ': ${PREFIX:=%AVRGCC%}'. Save file
 
5- edit domake at %AVRGCC%/lib/avr-libc-20020203. Find ':${PREFIX:=/usr/local}' and replace with ': ${PREFIX:=%AVRGCC%}'. Save file
 
6- run windows command prompt and set path: c:>path c:\%CYGWIN%\bin;c:\%AVRGCC%\bin;c:%WINDOWS%. I assume here that you already set environment variables. I set path because I have other compilers installed (avoid confusions)
 
7- at command prompt type sh
 
8- in sh prompt, type ./doconf, ./domake and finally ./domake install. To success this operation you _must_ have writing permissions!
 
It seems to me that is working fine .... I am waiting for your commentaries
 
Hope this help,
 
 
Paulo Abreu
 
PS: Many, many thanks to Nils Kristian Strom for pointing me to right way

reply via email to

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