Re: GCC 4 Woes

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

 



On 4/14/05, Gregory Hayes <syncomm@xxxxxxxxx> wrote:
> Even better, where are some MPlayer or Xine RPMs that play nicely with
> FC4t2 / Rawhide ;)

I've had luck rebuilding the srpms of things that don't yet compile
with gcc4 as follows (all on one line, obviously):

CC=gcc32 rpmbuild --define "optflags %{__global_cflags} -m32
-march=i686 -fasynchronous-unwind-tables" --rebuild
xine-lib-1.0.0-0.lvn.3.3.src.rpm

Make sure you have compat-gcc-32 installed; you'll also need a bunch
more "-devel" packages (e.g., ffmpeg-devel), which should come from
livna no problem. You need the "optflags" business because otherwise
rpmbuild tries to use a command-line flag "-mtune=pentium4", which
gcc32 doesn't know about; the above setting is just the default minus
that one flag.

Hope this helps!

MEF

-- 
__ Mary Ellen Foster __ http://homepages.inf.ed.ac.uk/mef/ __
"One of the main causes of the fall of the Roman Empire was that, 
lacking zero, they had no way to indicate successful termination 
of their C programs." (Robert Firth)


[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]