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
Hi,
the compiler does not have lame/mpglib in its list for include files. simple
fix: edit libmp3lame/mpglib_interface.c line 13 to #include ../mpglib/
interface.h
Maybe Alexander will fix the configure magic to support msys?
Ciao Robert
Am Samstag, 29. Januar 2005 12:52 schrieb Audio Phile:
From: Robert Hegemann [EMAIL PROTECTED]
Subject: Re: [mp3encoder] How to correctly compile lame with mingw
Date: Sat, 29 Jan 2005 13:29:26 +0100
the compiler does not have lame/mpglib in its list for include files. simple
fix: edit libmp3lame/mpglib_interface.c line 13 to #include ../mpglib/
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
Hi,
Am Samstag, 29. Januar 2005 19:26 schrieb Audio Phile:
5. I edited /lame-3.96.1/mpglib/MakeFile and changed:
NASM_FORMAT = -f elf
To this:
NASM_FORMAT = -f win32 -DWIN32
you have to make the change in the lame-3.96.1/libmp3lame/i386/Makefile
Ciao Robert