How to make a cross compilation with GCC 3.2?

Status
Not open for further replies.

ze_dib

Member level 5
Joined
Jan 6, 2003
Messages
80
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
France
Activity points
1,122
Cross compiling with GCC

Hi,

I'd like to know how to make a cross compilation with GCC 3.2.
I made several tests with option like -mcpu=860, but gcc send error message about the value 860 that seems to be a not correct value.

The target cpu is a MPC860.

Can someone help me to make it run.

Thanks

Toto2001 :?:
 

You must first recompile your gcc to be
a cross compiler !
Get the sources and read the docs
You must run ./configure --target=xxxxx
before running make , make install.
Greets,

sgrudu.
 

Thank, does it make a difference if gcc is run under Windows2000 by mingw ?

TOTO2001
 

sorry, what is "mingw" ???
you just need to recompile gcc, it doesn't matter if you are under win... you need to
read the docs..
 

MinGW is a Linux emulator for windows, providing a shell for user.
 

Look:
CrossGCC Frequently Asked Questions
h**p://w*w.objsw.com/CrossGCC/
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…