[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [PATCH] cross-compilation for binutils.



On Mon, 2008-07-21 at 09:53 -0600, Gary Thomas wrote:
> Has this work/discussion progressed at all?  I'm interested in cross 
> tools (x86->ppc) and would
> like to get involved in making these happen.
> 
> Any pointers on how I can get started (where/how to pick up the current 
> work, etc)?

The binutils thing is fairly simple; the hard part is the compiler --
because to build libgcc_shared.so you need to have a glibc to link it
against. Building cross-compilers has always been horrid because of
this.

I was thinking of trying to get a package to build by using a _dummy_
glibc -- it doesn't have to be runnable; we only have to be able to
_link_ against it. So any DSO which has the handful of symbols that
libgcc_shared uses would probably do the trick.

Other people have taken other approaches, like repackaging the target
glibc into a noarch package and requiring that for the cross-compiler.

Or maybe we should build the cross-toolchain _without_ shared libgcc
support, then build the shared libgcc in a separate package.

It's kind of an open question.

-- 
David Woodhouse                            Open Source Technology Centre
David Woodhouse intel com                              Intel Corporation


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]