005620851f
- USE_CROSS_COMPILATION activates it, CROSS_DESTDIR specifies root of the target filesystem - derive _CROSS_DESTDIR from CROSS_DESTDIR or MAKEOBJDIR - buildlink3.mk prefixes the files to symlink with _CROSS_DESTDIR - compiler/gcc.mk knows about the target prefix (e.g. i386--netbsdelf) - PKG_DBDIR is prefixed with _CROSS_DESTDIR - package-install and bin-install are not called with su - install and strip are redirected to the tool version - links for the target specific ar, as, ld, nm, objdump, ranlib and strip are added - compiler wrapper detect if linking is requested or not - special command sinks for CPP and CC/CXX add the cross-compile magic: - modify include dirs to get the target /usr/include - modify linker dirs and runpath to use target /usr/lib at link time, but keep correct rpath entries Supported-by: Google SoC 2007 Basic tests by he@ on Sparc. Review from jlam@. |
||
---|---|---|
.. | ||
arg-pp-darwin-gcc | ||
arg-pp-main | ||
arg-pp-mipspro-cc | ||
arg-pp-sunpro-cxx | ||
arg-source | ||
bsd.wrapper.mk | ||
buildcmd | ||
cmd-sink | ||
cmd-sink-aix-cc | ||
cmd-sink-aix-ld | ||
cmd-sink-aix-xlc | ||
cmd-sink-cross-cpp | ||
cmd-sink-cross-gcc | ||
cmd-sink-darwin-xlc | ||
cmd-sink-hpux-cc | ||
cmd-sink-hpux-ld | ||
cmd-sink-icc-cc | ||
cmd-sink-icc81-cc | ||
cmd-sink-interix-gcc | ||
cmd-sink-interix-ld | ||
cmd-sink-ld | ||
cmd-sink-osf1-cc | ||
cmd-sink-osf1-ld | ||
cmd-sink-solaris-imake | ||
cmd-sink-sunpro-cxx | ||
cmd-sink-unixware-gcc | ||
gen-reorder.sh | ||
gen-transform.sh | ||
logic | ||
NOTES | ||
scan | ||
test-transform.sh | ||
transform-aix-cc | ||
transform-ccc-cc | ||
transform-gcc | ||
transform-icc-cc | ||
transform-ido-cc | ||
transform-mipspro-cc | ||
transform-mipspro-ucode-cc | ||
transform-sunpro-cc | ||
transform-xlc-cc | ||
wrapper-defs.mk | ||
wrapper-subr.sh | ||
wrapper.sh |