makefile target

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Tue Aug 21 03:49:43 PDT 2007


km b wrote:
Sorry to not augment my question properly. I meant when I do a make
buildworld TARGET_ARCH=amd64 with Noah's patches it creates
/usr/obj/blah/blah/ctools_i386_amd64/ directory which contains the
cross build tools. In there usr/libexec/binutils{215,217} contain the
right target tools x86_64. But in the same directory usr/bin/{as} etc.
are built for the i386 target.
Ah.  You'll have to call them with OBJFORMAT_PREFIX defined.  We should probably include the path in the compile stage.  Without any prefix, these wrappers will default to using /usr/libexec/* binaries instead.

cheers
 simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \




More information about the Kernel mailing list