Porting binutils to other OS

Alfeiks Kaanoken (MadTirra) madtirra@jarios.org
Thu Apr 23 21:32:00 GMT 2009


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!



More information about the Binutils mailing list