Cross-compilers.

Enrico Scholz enrico.scholz at informatik.tu-chemnitz.de
Mon Sep 18 05:39:42 UTC 2006


dwmw2 at infradead.org (David Woodhouse) writes:

> Starting with binutils.... at http://david.woodhou.se/binutils.spec
> there's a specfile based on the current Core package which lets you
> build cross-binutils with for example
> 	--define "binutils_target i686-fedora-linux"

Some thoughts (which were brought in other postings already):

* for binutils, at least '--enable-targets=%{_host}' should be added to
  make e.g. stripping of binaries possible by setting %_strip to the
  cross-strip.

* for binutils, there would be an alternative approach to build them
  with '--enable-targets=all' to create a set of utilities (strip,
  objdump, ...) which work for all architectures

  With this method, only assembler and linker must be created separately
  for every arch.




Enrico
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 480 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20060918/2e477ff9/attachment.sig>


More information about the fedora-extras-list mailing list