crosstool: how to link with compiled glibc

Dan Kegel dank@kegel.com
Tue Dec 6 16:29:00 GMT 2005


On 12/6/05, Robert P. J. Day <rpjday@mindspring.com> wrote:
> i think what you might be looking for is building with the "sysroot"
> option which, as i understand it (and i really hope i understand it
> since i'm using it in my script) is to generate the output directory
> structure with at least a passing resemblance to the beginning of a
> root filesystem for the target system, right?

Almost -- the sysroot option tells the compiler to *look* there,
not to put files there when being built.  Crosstool (or whoever
builds the compiler) has to arrange for the files to end up
in the sysroot.  (And crosstool doesn't quite do that -- the C++
libraries aren't in the sysroot it builds.)
- Dan

--
Why can't Johnny run Linux?  See http://kegel.com/linux/comfort

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com



More information about the crossgcc mailing list