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: compile lame for win32 on linux (Read 3464 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

compile lame for win32 on linux

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

Thanks all.

compile lame for win32 on linux

Reply #1
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.

compile lame for win32 on linux

Reply #2
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?

compile lame for win32 on linux

Reply #3
Quote
Having a copy of ICL on your harddrive does not make you special.



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

compile lame for win32 on linux

Reply #4
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.

 

compile lame for win32 on linux

Reply #5
I've been trying with mingw (see this thread.  i've encountered problem

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.