Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Register Log in

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 :?:
 

sgrudu

Member level 2
Joined
Dec 14, 2002
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
ITALY
Activity points
359
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.
 

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
Thank, does it make a difference if gcc is run under Windows2000 by mingw ?

TOTO2001
 

sgrudu

Member level 2
Joined
Dec 14, 2002
Messages
44
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,286
Location
ITALY
Activity points
359
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.. :)
 

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
MinGW is a Linux emulator for windows, providing a shell for user.
 

dainis

Advanced Member level 4
Joined
May 15, 2001
Messages
1,126
Helped
53
Reputation
106
Reaction score
9
Trophy points
1,318
Activity points
9,271
Look:
CrossGCC Frequently Asked Questions
h**p://w*w.objsw.com/CrossGCC/
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top