[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-gcc-list] compilling libc for windows
From: |
Paulo Abreu |
Subject: |
[avr-gcc-list] compilling libc for windows |
Date: |
Sun, 21 Apr 2002 13:43:32 +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:=c:/avrgcc}'. Save file
5- edit domake at %AVRGCC%/lib/avr-libc-20020203. Find ':
${PREFIX:=/usr/local}' and replace with ': ${PREFIX:=c:/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).
6- edit doconf at %AVRGCC%/lib/avr-libc-20020203. Find ':
${PREFIX:=/usr/local}' and replace with ': ${PREFIX:=c:/avrgcc}'. Save file
7- edit domake at %AVRGCC%/lib/avr-libc-20020203. Find ':
${PREFIX:=/usr/local}' and replace with ': ${PREFIX:=c:/avrgcc}'. Save file
8- at command prompt type sh.
9- 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
avr-gcc-list at http://avr1.org
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-gcc-list] compilling libc for windows,
Paulo Abreu <=