This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: unrecognized option `-mcpu32'


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]