Adding new target

Michael Eager eager@eagerm.com
Thu Mar 29 15:04:00 GMT 2012


Hi --

I'm trying to add a new bare-metal target architecture to CT-NG.

I'm a bit confused by what is going on.  I'm building gcc-4.6.x
with Newlib.

Only the pass 2 gcc is being built, and this fails trying to
link libstdc++.  I see the same when I try to build an existing
target like ARM.

The standard way to build this kind of tool chain is to build
a no-library gcc, followed by building Newlib, then build a
final C/C++ using the library.

The comments in do_cc_core_pass_1() say that it is supposed
to build a static gcc, but this does not happen if CT_BARE_METAL = y.

Can someone explain what is supposed to happen?

-- 
Michael Eager	 eager@eagercon.com
1960 Park Blvd., Palo Alto, CA 94306  650-325-8077

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



More information about the crossgcc mailing list