[PlanetCCRMA] cinelerra on athlon/duron

Luc Tanguay lucus@sympatico.ca
Sat Aug 23 20:58:00 2003

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
kevin ernste a &eacute;crit:<br>
<blockquote type="cite"
  <pre wrap=""><!---->You can always rebuild your own rpms too ;&gt;  All you need to do is
specify the optimizations for your arch in /usr/lib/rpm/rpmrc
(optflags:).  Check out the gcc or even Gentoo pages for optimization
info, they tend to be very particular about this sort of thing and can
give you lots of insight.

Once this is set, for say "athlon", just uncomment the "rpm-src" line
for planet in your sources.list and do:

apt-get update
apt-get source $PACKAGE_NAME
rpmbuild --rebuild --target athlon $PACKAGE_NAME.src.rpm
rpm -ivh /usr/src/redhat/RPMS/athlon/$PACKAGE_NAME.athlon.rpm

Somone could easily script a complete athlon planet in this way :)

I just did what you proposed for cinelerra. &nbsp;I've updated rpmrc to
reflect the compile note found in&nbsp; cinelerra.html. &nbsp;Here's for example
the C flags used during the compilation:<br>
<small><tt># cd /usr/src/redhat/BUILD/cinelerra-1.1.7/cinelerra/i686/<br>
# cat c_flags<br>
-O3 -march=athlon -fmessage-length=0 -funroll-all-loops
-fomit-frame-pointer -falign-loops=2 -falign-jumps=2
-D_REENTRANT -I../guicast -I../quicktime -I../quicktime/libdv-0.99
-I../quicktime/libogg-1.0/include -I../quicktime/libvorbis-1.0/include
-I../libraw1394-0.9.0/src -I../tiff-v3.5.7/libtiff -I../uuid
-I../quicktime/libdv-0.99 -I../toolame-02l
-I../quicktime/lame-3.93.1/include -I../audiofile -I../libmpeg3
-I../libsndfile -I../libavc/common -I../libavc/libavc1394
-I../libavc/librom1394 -DHAVE_ESOUND -I../esound
-I/usr/include/glib-1.2 -I/usr/lib/glib/include<br>
Compile went fine. Install went fine.<br>
But I still have problem running cinelerra.<br>
I think I'll stick to 1.1.6 for now...<br>
Thanks for all your help.<br>