This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ 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]

Re: How to build newlib in canadian cross


Kai Ruottu wrote:
Hideki IWAMOTO wrote:

I want to know how to build newlib in canadian cross.
What is the right method?


The right method is to not build it at all !

Tsk, Kai, if we listened to you about this, we'd never bootstrap a new target type :-)

Please see
the prerequisites for the Canadian Cross and you will see
that it is expected to be already built when producing the
cross-toolchain for the build platform...

Right, to do a canadian cross build of a newlib toolchain, one would probably have to do 1. build a toolchain that can run on the build system and generate code for the target 2. build a toolchain that can run on the build system and generate code for the host 3. build a toolchain that can run on the host system and generate code for the target. (This build will use the compilers built above.)

For #1 and #2, you presumably want a glibc based toolchain,
so crosstool is fine for those.
Only #3 has to be a newlib based toolchain.
- Dan

--
My technical stuff: http://kegel.com
My politics: see http://www.misleader.org for examples of why I'm for regime change

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


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