Help - Search - Members - Calendar
Full Version: compile lame for win32 on linux
Hydrogenaudio Forums > Lossy Audio Compression > MP3 > MP3 - Tech
bluesky
Like the topic says, I d/led the source, but I don't understand how one can do it and get out the win32 exe. Any help is welcomed smile.gif

Thanks all.
Dibrom
First of all, do you actually have a compiler?

Secondly, if you don't have a compiler, is there any specific reason that you feel you need to compile the source rather than downloading a premade binary? The reason I ask is that most of the binaries available for download use special high performance (ie, expensive and non-free, at least for win32) compilers. You're likely going to get worse performance with your own compile if you don't have these special tools.

Finally, if you want to know more, try using the search function... this topic has been covered a few times before on this board.
nebob
Having a copy of ICL on your harddrive does not make you special. It's free on linux, and on windows, you can get as many 30 day trials as you want.

That said, I don't think you can make win32 binaries under linux. Does anyone know otherwise?
Dibrom
QUOTE(nebob @ Mar 17 2003 - 07:21 PM)
Having a copy of ICL on your harddrive does not make you special.

rolleyes.gif

Did I say that? Uhmm.. no.

The point that I was trying to make is that it's not generally accessible for most people who just want to arbitrarily compile something and are not actively developing things.

I also alluded to the fact that this was not necessarily the case on Linux.

While a repeatable free 30-day trial will possible work, it's not a great solution, and one still needs a copy of MSVC (for which there are no free trials AFAIK).

QUOTE
That said, I don't think you can make win32 binaries under linux. Does anyone know otherwise?


I believe it is possible, but I don't remember the details, and I don't know if it's possible with ICL (I would seriously doubt it).
kjoonlee
Compiling for non-native platforms is called cross-compiling, and you need a cross-compiler for that.

Search around for tips on how to cross compile from linux to windows.

But there is a port of GNU GCC for windows, it's called MinGW. You can use it to build LAME natively on windows.
bluesky
I've been trying with mingw (see this thread. i've encountered problem smile.gif

To answer dibrom's question: I would like to learn how to compile my fav. open-source software (lame, mplayerc, xvid, etc.) myself because I find it interesting. I'm not a dev my any stretch of the imagination. I didn't realize I would need to install MSVC to get my 30-day trial of ICL to work... that sucks.

I'd be happy if I could get my mingw to build a processor-specific lame right now.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2008 Invision Power Services, Inc.