LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Reply
 
Search this Thread
Old 12-17-2007, 02:56 PM   #1
Exeis
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2 + Slax 5.1.8 + Knoppix 5.0.1 + LFS 6.3
Posts: 24

Rep: Reputation: 15
Question 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.
 
Old 12-17-2007, 03:13 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

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

Do not forget the codecs!
 
Old 12-17-2007, 03:38 PM   #3
Exeis
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2 + Slax 5.1.8 + Knoppix 5.0.1 + LFS 6.3
Posts: 24

Original Poster
Rep: Reputation: 15
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?
 
Old 12-18-2007, 07:18 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 56
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.
 
Old 12-18-2007, 07:45 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
You can also use VLC on Windows.
 
Old 12-19-2007, 03:20 PM   #6
Exeis
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2 + Slax 5.1.8 + Knoppix 5.0.1 + LFS 6.3
Posts: 24

Original Poster
Rep: Reputation: 15
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?)
 
Old 12-19-2007, 06:16 PM   #7
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 6,857
Blog Entries: 51

Rep: Reputation: Disabled
I've seen something about using MinGW on Linux to cross-compile for Windows, Google for it.
 
Old 12-20-2007, 05:50 AM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 73
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.
 
Old 04-09-2008, 11:37 AM   #9
Exeis
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2 + Slax 5.1.8 + Knoppix 5.0.1 + LFS 6.3
Posts: 24

Original Poster
Rep: Reputation: 15
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?
 
Old 04-09-2008, 06:57 PM   #10
AceofSpades19
Senior Member
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: Slackware64 -current
Posts: 2,079

Rep: Reputation: 57
VLC can play just about anything and already has a windows version
 
  


Reply

Tags
compiling, crosscompile, crossplatform, development, windows xp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiling Linux software under Windows - your advice? midiox Programming 6 10-20-2005 07:49 AM
compiling FPGA chip design software designed for windows (visual c++) in linux gogettergary Programming 1 05-09-2005 08:45 AM


All times are GMT -5. The time now is 08:27 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration