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

See crosstool-NG 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]

Adding new target


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


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