Re: [PATCH] cross-compilation for binutils.

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

 



David Woodhouse wrote:
On Sat, 2008-07-05 at 16:10 +0200, Enrico Scholz wrote:
David Woodhouse <dwmw2@xxxxxxxxxxxxx> 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
------------------------------------------------------------

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux