wiki:UniversalDevelopment

Version 2 (modified by mww@…, 16 years ago) (diff)

--

Port(1) supports for universal builds is not good enough to handle non-trivial cases. We currently try to develop mechanisms to overcome this, so we can make more ports build universal more easily.

Approaches

  • Adding the universal build flags (-arch ppc -arch ppc64 ..) to the compiler flags: Suited for straight compilation of executables
  • Adding universal build flags to the CFLAGS etc.: Suited for certain autotool driven builds
  • Separating builds for different architectures, merging the different (single-arch) destroots (emulation or multiple build machines differing in arch may be necessary for some ports)

Developers

mww (Markus W. Weissmann)