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


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: Porting binutils to other OS


DJ Delorie wrote:
I don't understand. A "toolchain" can run on the native OS, and what
"stubs" are you talking about?
Under "toolchain" I mean not native GNU tools (binutils/gcc) that installed on linux host to built binaries and shared libs for the other OS.

Ok, some terminology:


native toolchain - tools that run on os ABC and produce code for os ABC.

cross toolchain - tools that run on os ABC and produce code for os XYZ.
ok, I will use "cross" prefix next time )
The native tools are still a toolchain.

"stubs" in this context it's a some specific things (linker scripts, some source code) related to the new OS.

For the linker, this is called an "emulation". Look for ld/emul*/* in
the source tree. Also see ld/script*/* for the linker scripts.

thank you!



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