This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Cross-compiler for msp430 on Mac OS X
- From: Dmitry Diky <ddiky at alarity dot com>
- To: binutils at sourceware dot org
- Cc: Joakim Arfvidsson <j2005 at arfvidsson dot com>
- Date: Mon, 10 Apr 2006 10:49:52 +0400
- Subject: Re: Cross-compiler for msp430 on Mac OS X
- References: <10696617-9438-4D48-99E1-9789432C6359@arfvidsson.com>
- Reply-to: ddiky at alarity dot com
Hi Joakim,
> I'm trying to set up a cross-compiler for msp430, on Mac OS X 10.4.6.
> I get compile errors.
>
> - configure in root directory
> - make in root directory
> - make in bfd directory
> - changed to gcc 3.3, make in bfd directory
Normally you do not have to 'make' in bfd directory.
It seems that Mac's compiler does not understand (?) some attributes to
function arguments. Also, there is a function declaration conflict.
Check asprintf() declaration in /usr/include/stdio.h
Dmitry.