Cross Compiling: Difference between revisions

imported>Symphorien
show how to use pkgsCross to get a shell, and remove mentions of pre-18.09
imported>AleXoundOS
m fix typo: Stack linking -> Static linking
Line 113: Line 113:
** compiler producing cross binaries, all setup hooks and programs executed by the builder go to <code>depsBuildHost</code>
** compiler producing cross binaries, all setup hooks and programs executed by the builder go to <code>depsBuildHost</code>
*** common examples: <code>pkg-config, autoreconfHook, makeWrapper, intltool, bison, flex</code>
*** common examples: <code>pkg-config, autoreconfHook, makeWrapper, intltool, bison, flex</code>
* If it is used at run-time it's <code>depsHostXXX</code>. [Stack linking doesn't effect this, even if it allows us to forget where things came from.]
* If it is used at run-time it's <code>depsHostXXX</code>. [Static linking doesn't effect this, even if it allows us to forget where things came from.]
** if it’s an interpreter that will be needed by an installed script, it should go in <code>depsHostTarget</code>.  
** if it’s an interpreter that will be needed by an installed script, it should go in <code>depsHostTarget</code>.  
** otherwise it is probably only needed at build time and can go in <code>depsBuildHost</code>
** otherwise it is probably only needed at build time and can go in <code>depsBuildHost</code>