> That's the right way to go about, anything that supports cross-compilation
> natively, should be built that way. I think sb2 is pretty good at solving
> the regular autotools package, anything totally exotic is likely to not
> work and I don't want to take the design decisions to make sb2 bulletproof,
>
> SB1 did that and it ended up being a gigantic project which still failed to
> solve 100% of the problem, requiring modifications to the build system or
> custom hacks in SB1 to work around things.

Well, as far as I can see, SB2 is doin a nice job without being bloated or 
compilcated (left development quirks and user-messing around aside *g*)!

virtually every more complex piece of software isn't bullet-proofed under any 
circumstance (e.g. took me some time to get the right paramters 
for ./configure in order to get dbus installingin /usr instead /usr/local and 
following the differend dir scheme there,too...)


>
> I don't mean if you built your toolchain with --sysroot switch, just that
> if you run cross-compiling-gcc --help, do you see --sysroot as being one of
> the supported options? SB2 uses that to tell it where the filesystem root
> is, regardless of how the toolchain was built.
lol, my bad (: yes, option is shown ...hm, trying explicitly

gcc --sysroot=/home/loonatix/root-fs main.c

in SB2 didn;t work either...

>
> > PS: I suggest to set PKG_CONFIG_PATH env var inside SB2 to
> > SBOX_TARGET_ROOT/usr/lib/pkgconfig or similiar, though I don't have to
> > admit I don't know the consequences in total I guess this would lead to a
> > better and more correct support for this tool..
>
> Do you witness a problem with it? This should be handled by the path
> mapping engine.
I THINK there was one of the libraries I tried to configure which nagged 
lacking support ...or one of the libs tried to install the .pc file into the 
host PKG-CONFIG dir....can't remember, and unfortunatly right now not trying


Harry
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users

Reply via email to