avr-libc-dev
[Top][All Lists]
Advanced

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

[avr-libc-dev] Compiling avr-libc on Mac OS X fails...


From: Frank Goenninger
Subject: [avr-libc-dev] Compiling avr-libc on Mac OS X fails...
Date: Thu, 25 May 2006 23:28:46 +0200

Hi all:

I tried to compile avr-libc on my Mac Intel with OS X 10.4.6 using the
instructions as detailed in

http://www.nongnu.org/avr-libc/user-manual/install_tools.html

Unfortunately the compile fails:

avr-gcc -I../../../../common -I../../../../include -x assembler-with- cpp -Wa,-gstabs -mmcu=at90s1200 -c ../../../../crt1/gcrt1.S
/usr/libexec/gcc/darwin/i386/as: Flag option -m has already been seen!
/usr/libexec/gcc/darwin/i386/as: Flag option -0 has already been seen!
/usr/libexec/gcc/darwin/i386/as: Flag option -0 has already been seen!
/usr/libexec/gcc/darwin/i386/as: Flag option -t has already been seen!
../../../../common/macros.inc:unknown:file contains unmatched .macro and .endmacro for: X_movwdstsrc
make[5]: *** [gcrt1.o] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

...I am using the following versions:

$ avr-gcc --version
avr-gcc (GCC) 4.1.0
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ avr-as --version
GNU assembler 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty.
This assembler was configured for a target of `avr'.

$ avr-ld --version
GNU ld version 2.16.1
Copyright 2005 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of the GNU General Public License. This program has absolutely no warranty.

I can't understand why avr-gcc seems to call the assembler in
/usr/libexec/gcc/darwin/i386/as ...

Also the configure step says:

checking if avr-gcc has support for attiny13... no
checking if avr-gcc has support for attiny2313... no
checking if avr-gcc has support for attiny25... no
checking if avr-gcc has support for attiny45... no
checking if avr-gcc has support for attiny85... no
checking if avr-gcc has support for attiny24... no
checking if avr-gcc has support for attiny44... no
checking if avr-gcc has support for attiny84... no
checking if avr-gcc has support for attiny261... no
checking if avr-gcc has support for attiny461... no
checking if avr-gcc has support for attiny861... no
checking if avr-gcc has support for atmega48... no
checking if avr-gcc has support for atmega88... no
checking if avr-gcc has support for at90pwm2... no
checking if avr-gcc has support for at90pwm3... no
checking if avr-gcc has support for atmega164p... no
checking if avr-gcc has support for atmega165... no
checking if avr-gcc has support for atmega168... no
checking if avr-gcc has support for atmega324p... no
checking if avr-gcc has support for atmega325... no
checking if avr-gcc has support for atmega3250... no
checking if avr-gcc has support for atmega329... no
checking if avr-gcc has support for atmega3290... no
checking if avr-gcc has support for atmega406... no
checking if avr-gcc has support for atmega640... no
checking if avr-gcc has support for atmega644... no
checking if avr-gcc has support for atmega644p... no
checking if avr-gcc has support for atmega645... no
checking if avr-gcc has support for atmega6450... no
checking if avr-gcc has support for atmega649... no
checking if avr-gcc has support for atmega6490... no
checking if avr-gcc has support for atmega1280... no
checking if avr-gcc has support for atmega1281... no
checking if avr-gcc has support for at90can32... no
checking if avr-gcc has support for at90can64... no
checking if avr-gcc has support for at90can128... no
checking if avr-gcc has support for at90usb646... no
checking if avr-gcc has support for at90usb647... no
checking if avr-gcc has support for at90usb1286... no
checking if avr-gcc has support for at90usb1287... no

So - does it support anything ? ;-) I need to program ATmega16 and
ATmega128 AVRs...

Any hint really appreciated. Thanks!

Frank






reply via email to

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