I tried to install it to 10.5 Leopard and failed with avr-gcc - here  
is the output:


Andrese-MBP:~ Andres$ sudo port install avr-binutils-tinyos avr-gcc- 
tinyos avr-libc-tinyos
Warning: No quick index file found, attempting to generate one for  
source: file:///Users/Andres/ports
--->  Computing dependencies for avr-binutils-tinyos
--->  Fetching avr-binutils-tinyos
--->  Attempting to fetch avr-binutils.patch from 
http://arn.se.distfiles.macports.org/avr-binutils-tinyos
--->  Attempting to fetch avr-binutils.patch from 
http://distfiles.macports.org/avr-binutils-tinyos
--->  Attempting to fetch avr-binutils.patch from 
http://tinyos.stanford.edu/tinyos/toolchain/repo/
--->  Attempting to fetch binutils-2.17.tar.bz2 from 
http://arn.se.distfiles.macports.org/avr-binutils-tinyos
--->  Attempting to fetch binutils-2.17.tar.bz2 from 
http://distfiles.macports.org/avr-binutils-tinyos
--->  Attempting to fetch binutils-2.17.tar.bz2 from 
http://tinyos.stanford.edu/tinyos/toolchain/repo/
--->  Verifying checksum(s) for avr-binutils-tinyos
--->  Extracting avr-binutils-tinyos
--->  Applying patches to avr-binutils-tinyos
--->  Configuring avr-binutils-tinyos
--->  Building avr-binutils-tinyos
--->  Staging avr-binutils-tinyos into destroot
Note: avr-binutils-tinyos installs files outside the common directory  
structure.
--->  Installing avr-binutils-tinyos @2.17_0
--->  Activating avr-binutils-tinyos @2.17_0
--->  Cleaning avr-binutils-tinyos
--->  Computing dependencies for avr-gcc-tinyos
--->  Fetching avr-gcc-tinyos
--->  Attempting to fetch avr-gcc.patch from 
http://arn.se.distfiles.macports.org/avr-gcc-tinyos
--->  Attempting to fetch avr-gcc.patch from 
http://distfiles.macports.org/avr-gcc-tinyos
--->  Attempting to fetch avr-gcc.patch from 
http://tinyos.stanford.edu/tinyos/toolchain/repo/
--->  Attempting to fetch gcc-4.1.2.tar.bz2 from 
http://arn.se.distfiles.macports.org/avr-gcc-tinyos
--->  Attempting to fetch gcc-4.1.2.tar.bz2 from 
http://distfiles.macports.org/avr-gcc-tinyos
--->  Attempting to fetch gcc-4.1.2.tar.bz2 from 
http://tinyos.stanford.edu/tinyos/toolchain/repo/
--->  Verifying checksum(s) for avr-gcc-tinyos
--->  Extracting avr-gcc-tinyos
--->  Applying patches to avr-gcc-tinyos
--->  Configuring avr-gcc-tinyos
--->  Building avr-gcc-tinyos
Error: Target org.macports.build returned: shell command " cd "/opt/ 
local/var/macports/build/_Users_Andres_ports_cross_avr-gcc-tinyos/work/ 
gcc-4.1.2" && /usr/bin/make -j2 all " returned error 2
Command output:           else true; fi; \
          echo timestamp > include/fixed; \
        fi
echo timestamp > stmp-fixproto
/usr/bin/make \
          CFLAGS="-O2 -arch i386  -W -Wall -Wwrite-strings -Wstrict- 
prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic- 
macros -Wold-style-definition -Wmissing-format-attribute  " \
          CONFIG_H="config.h  auto-host.h ../.././gcc/../include/ansidecl.h" \
          MAKEOVERRIDES= \
          -f libgcc.mk all
for d in libgcc avr3 libgcc/avr3 avr4 libgcc/avr4 avr5 libgcc/avr5; do \
          if [ -d $d ]; then true; else /bin/sh ../.././gcc/../mkinstalldirs  
$d; fi; \
        done
mkdir libgcc
mkdir avr3
mkdir libgcc/avr3
mkdir avr4
mkdir libgcc/avr4
mkdir avr5
mkdir libgcc/avr5
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/opt/local/var/macports/build/_Users_Andres_ports_cross_avr-gcc-tinyos/ 
work/gcc-4.1.2/host-i386-apple-darwin9.8.0/gcc/xgcc -B/opt/local/var/ 
macports/build/_Users_Andres_ports_cross_avr-gcc-tinyos/work/gcc-4.1.2/ 
host-i386-apple-darwin9.8.0/gcc/ -B/opt/local/avr/bin/ -B/opt/local/ 
avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys- 
include -O2  -O2 -O2 -arch i386   -DIN_GCC -DCROSS_COMPILE   -W -Wall - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style- 
definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall- 
prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.  
-I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././ 
gcc/../libcpp/include  -DL_mulqi3 -xassembler-with-cpp -c ../.././gcc/ 
config/avr/libgcc.S -o libgcc/./_mulqi3.o
/opt/local/var/macports/build/_Users_Andres_ports_cross_avr-gcc-tinyos/ 
work/gcc-4.1.2/host-i386-apple-darwin9.8.0/gcc/xgcc -B/opt/local/var/ 
macports/build/_Users_Andres_ports_cross_avr-gcc-tinyos/work/gcc-4.1.2/ 
host-i386-apple-darwin9.8.0/gcc/ -B/opt/local/avr/bin/ -B/opt/local/ 
avr/lib/ -isystem /opt/local/avr/include -isystem /opt/local/avr/sys- 
include -O2  -O2 -O2 -arch i386   -DIN_GCC -DCROSS_COMPILE   -W -Wall - 
Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style- 
definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall- 
prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I.  
-I. -I../.././gcc -I../.././gcc/. -I../.././gcc/../include -I../.././ 
gcc/../libcpp/include  -DL_mulhi3 -xassembler-with-cpp -c ../.././gcc/ 
config/avr/libgcc.S -o libgcc/./_mulhi3.o
xgcc: i386: No such file or directory
xgcc: i386: No such file or directory
make[3]: *** [libgcc/./_mulqi3.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: *** [libgcc/./_mulhi3.o] Error 1
make[2]: *** [stmp-multilib] Error 2
make[1]: *** [all-gcc] Error 2
make: *** [all] Error 2

Error: Status 1 encountered during processing.



So AVR doesn't work on 10.5 Leopard either?


Andres Vahter


On 19.09.2009, at 1:44, Razvan Musaloiu-E. wrote:

> Hi!
>
> I update the unofficial macports [1] for nesc and the MSP430  
> toolchain to
> compile properly on Snow Leopard. For now I have limited access to  
> Snow
> Leopard so I haven't fix the completely the AVR yet.
>
> [1] http://hinrg.cs.jhu.edu/git/?p=ports.git;
>
> --
> Razvan ME
> _______________________________________________
> Tinyos-help mailing list
> [email protected]
> https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

_______________________________________________
Tinyos-help mailing list
[email protected]
https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help

Reply via email to