[Scratchbox-devel] Foreign toolchain - crosstool-0.43 and scratchbox

Steve Lemke steve at lemkeville.org
Thu Aug 2 03:57:01 EEST 2007


Arabinda Verma wrote:
> I have installed HOST target as you have suggested.
>
> [sbox-HOST: ~] > sb-conf sh HOST
> Compiler: host-gcc
> Devkits: debian-sarge perl
> CPU-transparency: none
> [sbox-HOST: ~] >
>
> However, when I login to scratchbox or change target to HOST I get 
> following message:
> SBOX_DPKG_INST_ARCH not set.
>
> May I know the reason. Will this effect my build?
I'm not sure.

I found this mention of SBOX_DPKG_INST_ARCH (which is something I 
haven't personally run into before):
http://www.scratchbox.org/download/scratchbox-1.0/changelog.html

Additional hints might be found here:
http://www.scratchbox.org/download/scratchbox-1.0/changelog.html
http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/devkit_debian.html#AEN50
http://www.scratchbox.org/documentation/user/scratchbox-1.0/html/toolchain.html#src
(which mentions using debian, not debian-sarge, as the devkit with HOST)
http://lists.maemo.org/pipermail/maemo-developers/2007-February/008118.html
(which also hints at debian-sarge perhaps not being relevant when 
building host tools)

I would suggest using the debian devkit instead of debian-sarge when 
building tools in a HOST target for use in Scratchbox.

Perhaps someone else can confirm this.
--Steve



More information about the Scratchbox-devel mailing list