Compiling aoTuV: Difference between revisions
(New article) |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
'''This information is older and requires a rewrite. It may or may not work on some of the newer AoTuV forks.''' | |||
Here are notes for compiling aoTuV under Linux in case you do not want to use the pre-compiled binaries. If for example you want to optimize for your CPU, want to link other programs, or if you don't use an Intel-compatible CPU henceforth (AMD64 architectures). | |||
# Get the patched ''libvorbis source code'' from the [http://www.geocities.jp/aoyoume/aotuv/ aoTuV website] | # Get the patched ''libvorbis source code'' from the [http://www.geocities.jp/aoyoume/aotuv/ aoTuV website] | ||
# unpack the tarball and change into to the | # unpack the tarball and change into a temporary directory then you can use to build the software. | ||
# If you want to overwrite your existing vorbis libraries: | # If you want to overwrite your existing vorbis libraries: | ||
:: <code>CFLAGS=-fno-strict-aliasing sh ./configure</code> | :: <code>CFLAGS=-fno-strict-aliasing sh ./configure</code> | ||
Line 14: | Line 16: | ||
:: <code>LD_PRELOAD=`echo /usr/local/lib/libvorbis*.so` oggenc -q4 foo.wav</code> | :: <code>LD_PRELOAD=`echo /usr/local/lib/libvorbis*.so` oggenc -q4 foo.wav</code> | ||
The flag <code>-fno-strict-aliasing</code> is necessary if you compile with gcc 4, see the [http://www.hydrogenaudio.org/forums/index.php?showtopic=36504 thread on HydrogenAudio]. | The flag <code>-fno-strict-aliasing</code> is necessary if you compile with gcc 4, see the [http://www.hydrogenaudio.org/forums/index.php?showtopic=36504 thread on HydrogenAudio]. | ||
[[Category:Guides]] |
Latest revision as of 16:50, 12 June 2010
This information is older and requires a rewrite. It may or may not work on some of the newer AoTuV forks.
Here are notes for compiling aoTuV under Linux in case you do not want to use the pre-compiled binaries. If for example you want to optimize for your CPU, want to link other programs, or if you don't use an Intel-compatible CPU henceforth (AMD64 architectures).
- Get the patched libvorbis source code from the aoTuV website
- unpack the tarball and change into a temporary directory then you can use to build the software.
- If you want to overwrite your existing vorbis libraries:
CFLAGS=-fno-strict-aliasing sh ./configure
make
make install
- If you want to keep your existing libraries:
CFLAGS=-fno-strict-aliasing sh ./configure --prefix=/usr/local
make
make install
- Call oggenc as
LD_PRELOAD=`echo /usr/local/lib/libvorbis*.so` oggenc -q4 foo.wav
The flag -fno-strict-aliasing
is necessary if you compile with gcc 4, see the thread on HydrogenAudio.