Skip to main content

Topic: Which GCC flags are safe when compiling libvorbis? (Read 2623 times) previous topic - next topic

0 Members and 1 Guest are viewing this topic.
  • galiyosha
  • [*]
Which GCC flags are safe when compiling libvorbis?
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 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.)