I've been trying to compile lame on mingw 3.2.0-rc3
and msys 1.0.11 on my win32 machine. I also added
nasmw.exe to my C:\MinGW\bin and renamed it to
nasm.exe. Anyway, here is the code I'be been using to
get an athlon xp optimized build of lame:
$ ./configure CFLAGS=-march=athlon-xp -Wall
1. Fresh tarball of lame source.
2. Edited /lame-3.96.1/libmp3/lame/mpglib_interface.c
Changed #include interface.h to #include
../mpglib/interface.h
3. Same for /lame-3.96.1/mpglib/interface.c
4.
$ ./configure --enable-nams CFLAGS=-march=athlon-xp
-Wall -fstrength-reduce -finline-functions