unrecognized option `-mcpu32'

Mike Dorin bsddorin@yahoo.com
Tue Jul 18 19:06:00 GMT 2006


Dave, 

See below for the answers to your questions.
Some more questions from me, thank you.

How should I configure binutils?
How should I configure gcc?

Thanks, 
Mike

>   Did you download and unpack the binutils sources?

Yes

> 
>   Did you configure them?  Using what options?
> 

Yes
export TARGET=m68k-elf
export PREFIX=/home/tools

--prefix=$PREFIX
--target=$TARGET

>   Did you build them?  Using what command line?

make all
make install
 
>   If you /did/ download binutils, and you /did/
> configure it, and the
> configuration /was/ for a cross binutils, and you
> did then build /AND/ install
> it, did you /then/ add the $prefix/bin dir to your
> $PATH?

yes
export PATH=$PATH:${PREFIX}/bin


 >   If you /did/ download binutils, and you /did/
> configure it, and the
> configuration /was/ for a cross binutils, and you
> did then build /AND/ install
> it, /AND/ you then did correctly add the $prefix/bin
> dir to your $PATH, did
> you then use the same prefix when you configured
> gcc?

yes

 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list