HydrogenAudio

Lossy Audio Compression => Ogg Vorbis => Ogg Vorbis - Tech => Topic started by: galiyosha on 2007-01-15 10:56:55

Title: Which GCC flags are safe when compiling libvorbis?
Post by: galiyosha on 2007-01-15 10:56:55
I'm just wondering, which GCC flags are safe to use when compiling libvorbis? For example, is -march=pentium4 -O2 safe or is -O2 too much? What about -mfpmath=sse? Or is there no need for it, since anything that SSE is safe for is already using it?

Moreover, is the article Compiling aoTuV (http://wiki.hydrogenaudio.org/index.php?title=Compiling_aoTuV) still valid for aoTuV r1, which seems to be based on fixed libvorbis 1.1.2? I made two compiles -- one with -fno-strict-aliasing and one without -- and the encoded files looked more or less identical.

It would be great to have an article about all this in the wiki. (And the same goes for LAME.)