Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Which GCC flags are safe when compiling libvorbis? (Read 3650 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

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.)