[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: |
Frank Goenninger |
Subject: |
[avr-libc-dev] Re: Compiling avr-libc on Mac OS X fails... |
Date: |
Thu, 25 May 2006 23:47:10 +0200 |
Hi Jörg!
Am 25.05.2006 um 23:41 schrieb Joerg Wunsch:
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.
Yeah, I figured. Why? I have the avr binutils in my path...
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.
If only I knew where to look ... Seems as if I have to manipulate the
configure script for gcc...
Note that avr-gcc doesn't want to call avr-as by that name but rather
by its native name "as" only.
Why? This would mean to conflict with the as I need for the gcc for
OS X ?!?
--
cheers, J"org .-.-. --... ...-- -.. . DL8DTL
Vy 73 de Frank DG1SBG ;-)