native gcc for ml403(ppc405)

2 messages, 2 authors, 2006-07-14 · open the first message on its own page

native gcc for ml403(ppc405)

From: Robert Zach so-logic <hidden>
Date: 2006-07-14 10:14:12

Hello!

I am working on a ml403 with virtex 4 (ppc405).
I have build me a crosscompiler and  a glibc with crosstool.
This worked very good for me...(i can compile 2.4 and 2.6 kernel...)

Now i would like to build a native compiler for the ppc405...(I need  
a native compiler for a few things that are hard to crosscompile.)

Is it possible to compile the binutils and gcc with my crosscompiler  
to get a native compiler??

Yes anybody done this already? How?

Thanks in Advanced!

Nice greetings
Robert Zach
robert.zach@wvnet.at

Re: native gcc for ml403(ppc405)

From: Grant Likely <hidden>
Date: 2006-07-14 14:27:55

On 7/14/06, Robert Zach so-logic [off-list ref] wrote:
Hello!

I am working on a ml403 with virtex 4 (ppc405).
I have build me a crosscompiler and  a glibc with crosstool.
This worked very good for me...(i can compile 2.4 and 2.6 kernel...)

Now i would like to build a native compiler for the ppc405...(I need a
native compiler for a few things that are hard to crosscompile.)

Is it possible to compile the binutils and gcc with my crosscompiler to get
a native compiler??
Yes it is. You can cross compile gcc just like any other package.
It's a little complex, but it's been done many times.

You might want to take a look at the buildroot tool to see an example.

Cheers,
g.

-- 
Grant Likely, B.Sc. P.Eng.
Secret Lab Technologies Ltd.
grant.likely@secretlab.ca
(403) 399-0195
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help