LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Desktop (http://www.linuxquestions.org/questions/linux-desktop-74/)
-   -   Compiling software for Windows XP from Linux (http://www.linuxquestions.org/questions/linux-desktop-74/compiling-software-for-windows-xp-from-linux-607425/)

Exeis 12-17-2007 03:56 PM

Compiling software for Windows XP from Linux
 
Hello.

I cannot find a good DVD player (with a provided DVD decoder) for my Windows XP Desktop to play movies. I have compiled Xine from source successfully on a Linux machine, along with the necessary libs. Is it possible to compile binaries for a Windows machine under a Linux development environment? If true, how? My goal is to compile the Xine binaries for Windows.

Thanks.

Lenard 12-17-2007 04:13 PM

You may be interested in mplayer for Windows instead: http://www.mplayerhq.hu/design7/dload.html

Do not forget the codecs!

Exeis 12-17-2007 04:38 PM

Thanks a lot. I'll see if that'll work for me.

But would like to know how to compile binaries for other platforms (like Win32) on Linux. I've seen software ported from linux to windows, like MPlayer, Blender, and Inkscape. How is that done?

Lenard 12-18-2007 08:18 AM

As far as I know all the applications you mentioned were done by volunteers (like 95%+ of Linux). I do not know if Xine has been ported or not, but a quick google search turned up nothing.

reddazz 12-18-2007 08:45 AM

You can also use VLC on Windows.

Exeis 12-19-2007 04:20 PM

Yes, i know that some software were ported by volunteer work...but I would like to know how to compile source (under linux) for another OS with or without the same arch. Sometimes when compiling source, the configure script would say something like "Cross compiling ... no" as its checking the build environment before creating the files for the "make; make check; make install" command. Or does this mean I don't know what cross compiling means?

Besides, how come Mplayer doesn't display the menus in DVDs? (i.e. How do I access the special features of a DVD movie in Mplayer?)

brianL 12-19-2007 07:16 PM

I've seen something about using MinGW on Linux to cross-compile for Windows, Google for it.

reddazz 12-20-2007 06:50 AM

Quote:

Besides, how come Mplayer doesn't display the menus in DVDs? (i.e. How do I access the special features of a DVD movie in Mplayer?)
Thats probably a question for the mplayer devs. Apparently mplayer does not support dvd menus.

Exeis 04-09-2008 12:37 PM

hmm... the documentation mentioned dvdnav, but I don't mind the missing menus, just as long as I can watch movies.

...

I've been using MPlayer for a while on my WinXp PC, but I've noticed that it 'core dumps' a couple of times on playing certain commercial DVDs. However, if I use SMPlayer (it uses its own compiled MPlayer), it can play most of the DVDs that the MPlayer (the version downloaded from the main site for Windows) could not. Does anyone one know why? I've looked at the command line options that are passed to MPlayer in SMPlayer, but it doesn't help.

P.S. How come DVD players (the kind you buy at the store and connect to the TV) can play some damaged DVDs better than the PCs?

AceofSpades19 04-09-2008 07:57 PM

VLC can play just about anything and already has a windows version


All times are GMT -5. The time now is 05:46 AM.