Re: Cross-compilers.

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

 



dwmw2@xxxxxxxxxxxxx (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

Attachment: pgpvWb3gwebDx.pgp
Description: PGP signature

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

[Index of Archives]     [Fedora General Discussion]     [Fedora Art]     [Fedora Docs]     [Fedora Package Review]     [Fedora Desktop]     [Big List of Linux Books]     [Yosemite Backpacking]     [KDE Users]

  Powered by Linux