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

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

RE: [avr-gcc-list] AVR environment on Solaris 10


From: Weddington, Eric
Subject: RE: [avr-gcc-list] AVR environment on Solaris 10
Date: Wed, 2 Dec 2009 08:49:39 -0700

 

> -----Original Message-----
> From: Andreas Höschler [mailto:address@hidden 
> Sent: Wednesday, December 02, 2009 3:08 AM
> To: Weddington, Eric
> Cc: Ruud Vlaming; address@hidden
> Subject: Re: [avr-gcc-list] AVR environment on Solaris 10
> 
> I now have /usr/local/avr/bin/avr-gcc and it seems to work. However,  
> while building the AVR C library (I am following the getting started  
> instructions on  
> http://www.micahcarrick.com/02-15-2006/installing-gnu-tools-avr- 
> gcc.html) I get the following error:
> 
>       mkdir /usr/local/avr/src
>       cd /usr/local/avr/src
>       bunzip2 avr-libc-1.6.7.tar.bz2
>       gtar xvf avr-libc-1.6.7.tar
>       cd avr-libc-1.6.7
>       ./configure --build=`./config.guess` --host=avr 
> --prefix=/usr/local/avr
>       make
> 
>       ...
> make[4]: Entering directory  
> `/usr/local/avr/src/avr-libc-1.6.7/avr/lib/avr2'
> avr-gcc -DHAVE_CONFIG_H -I. -I../../.. -I../../../common  
> -I../../../include -g -Wall -W -Wstrict-prototypes  
> -D__COMPILING_AVR_LIBC__ -mcall-prologues -Os -x assembler-with-cpp  
> -Wa,-gstabs -D__COMPILING_AVR_LIBC__ -c -o 
> eerd_block_at90s1200.o        
> \
>      -mmcu=              \
>      ../../../libc/misc/eerd_block.S
> cc1: error: missing argument to "-mmcu="
> make[4]: *** [eerd_block_at90s1200.o] Error 1
> make[4]: Leaving directory  
> `/usr/local/avr/src/avr-libc-1.6.7/avr/lib/avr2'
> make[3]: *** [install-recursive] Error 1
> make[3]: Leaving directory  
> `/usr/local/avr/src/avr-libc-1.6.7/avr/lib/avr2'
> make[2]: *** [install-recursive] Error 1
> make[2]: Leaving directory `/usr/local/avr/src/avr-libc-1.6.7/avr/lib'
> make[1]: *** [install-recursive] Error 1
> make[1]: Leaving directory `/usr/local/avr/src/avr-libc-1.6.7/avr'
> make: *** [install-recursive] Error 1
> 
> Am I missing an environment variable?
> 

I've been bitten by this several times. IIRC, you're supposed to use GNU make 
3.81. That should solve the problem.




reply via email to

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