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

Re: Cross-compilers.



dwmw2 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

Attachment: pgpm2lvNE58d9.pgp
Description: PGP signature


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