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

Re: [PATCH] cross-compilation for binutils.



David Woodhouse wrote:
On Sat, 2008-07-05 at 16:10 +0200, Enrico Scholz wrote:
David Woodhouse <dwmw2 infradead org> writes:

Something like

| --enable-targets=%_host

should be added everytime to allow e.g. 'strip' to work on both native
and on target binaries.  This is required when building cross-rpms which
are providing target and native binaries.
Is it really? You already have to use the appropriate compiler and
linker for native vs. target binaries -- why can't you use the
appropriate version of 'strip', too?
rpm magic; final %__spec_install_post makes something like

+ /usr/lib/rpm/redhat/brp-compress
+ /usr/lib/rpm/redhat/brp-strip-static-archive arm-iwmmxt-linux-gnueabi-strip
+ /usr/lib/rpm/redhat/brp-strip-comment-note arm-iwmmxt-linux-gnueabi-strip arm-iwmmxt-linux-gnueabi-objdump
+

and does not differ between target and native binaries.

Hm, OK. I suppose it doesn't hurt much. Updated patch then...
 <...snip...>

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)?

Thanks

--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


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