From Fedora Project Wiki

< JohnMahowald

Revision as of 16:34, 24 May 2008 by Admin (talk | contribs) (1 revision(s))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

My notes on packaging things for Fedora Extras.

If you want a guide, try the building packages guide

How to build something with gcc32

  • yum install compat-gcc-32 compat-gcc-32-c++
  • Add BuildRequires
  • For configure do something like "%configure CC=gcc32 CXX=g++32"
%ifarch %{ix86}
%define optflags %{__global_cflags} -march=i386 -mcpu=i686
%ifarch x86_64
%define optflags %{__global_cflags} -march=x86_64
%ifarch ppc
%define optflags %{__global_cflags}