I'm confused.
You mean you're building a toolchain inside scratchbox using crosstool,
or you're trying to import a toolchain created with crosstool to scratchbox?
Anyway, only latter of the choices above works (or has any meaning).
The recommended way of bringing new toolchains into scratchbox can be
found from [1]. In theory, everything should work mostly out-of-the-box.
In practice, you may need to do some tweaking, depending on your toolchain.
And, of course, if you create the toolchain yourself, it would be
advisable to also verify that the toolchain is ok prior bringing it into
scratchbox. It's much easier to debug one problem at a time :)
[1] http://scratchbox.org/wiki/ForeignToolchains
Regards,
Jussi
thisway.diy wrote:
I use crosstool-0.43 to build a toolchain in scratchbox, with the host-gcc
target.
But it doesn't search the /lib or /usr/lib when linking.
Even I add "NATIVE=yes" in binutils-2.15/ld/genscripts.sh, and then re-build
the toolchain
with crosstool again, the question is still the same.
I have 'google' for that two days, just find a solution to set the variable
GCC_EXEC_PREFIX:
export GCC_EXEC_PREFIX=/usr/lib//
Do somebody have a better way? I am curious why the toolchains pre-builded
by scratchbox.org is ok.
The toolchain was build with gcc-3.4.5, glibc-2.3.6 and binutils-2.15.
thisway.diy
[EMAIL PROTECTED]
2007-12-05
------------------------------------------------------------------------
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
_______________________________________________
Scratchbox-users mailing list
Scratchbox-users@lists.scratchbox.org
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users