[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-dev] Re: Compiling avr-libc on Mac OS X fails...
From: |
Joerg Wunsch |
Subject: |
[avr-libc-dev] Re: Compiling avr-libc on Mac OS X fails... |
Date: |
Thu, 25 May 2006 23:41:38 +0200 |
User-agent: |
Mutt/1.5.11 |
As Frank Goenninger wrote:
> 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!
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Your compiler uses the native system's assembler it seems.
Somehow the configuration options (i. e. the --prefix setting) between
the avr-binutils and avr-gcc appear to mismatch. For a test, you
could override GCC's idea where to look for the backend programs using
the -B option, but usually it's best to rather fix the configuration
instead.
Note that avr-gcc doesn't want to call avr-as by that name but rather
by its native name "as" only.
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
http://www.sax.de/~joerg/ NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)