LinuxQuestions.org
Have you listened to LQ Radio?
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Desktop
User Name
Password
Linux - Desktop This forum is for the discussion of all Linux Software used in a desktop context.

Notices

Tags used in this thread
Popular LQ Tags , , , ,

Reply
 
Thread Tools
Old 12-17-2007, 03: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
Thanked: 0
Question Compiling software for Windows XP from Linux


[Log in to get rid of this advertisement]
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.
Exeis is offline  
Tag This Post , , , ,
Reply With Quote
Old 12-17-2007, 04: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
Thanked: 0
You may be interested in mplayer for Windows instead: http://www.mplayerhq.hu/design7/dload.html

Do not forget the codecs!
Lenard is offline     Reply With Quote
Old 12-17-2007, 04: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
Thanked: 0

Original Poster
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?
Exeis is offline     Reply With Quote
Old 12-18-2007, 08: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
Thanked: 0
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.
Lenard is offline     Reply With Quote
Old 12-18-2007, 08:45 AM   #5
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,294
Thanked: 13
You can also use VLC on Windows.
reddazz is offline     Reply With Quote
Old 12-19-2007, 04: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
Thanked: 0

Original Poster
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?)
Exeis is offline     Reply With Quote
Old 12-19-2007, 07:16 PM   #7
brianL
Senior Member
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Laptop: Slackware 13.0 // Desktop: ; Slackware64 13.0; Debian "lenny"
Posts: 2,933
Blog Entries: 20
Thanked: 128
I've seen something about using MinGW on Linux to cross-compile for Windows, Google for it.
brianL is online now     Reply With Quote
Old 12-20-2007, 06:50 AM   #8
reddazz
Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,294
Thanked: 13
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.
reddazz is offline     Reply With Quote
Old 04-09-2008, 12:37 PM   #9
Exeis
LQ Newbie
 
Registered: Jul 2005
Distribution: Slackware 10.2 + Slax 5.1.8 + Knoppix 5.0.1 + LFS 6.3
Posts: 24
Thanked: 0

Original Poster
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?
Exeis is offline     Reply With Quote
Old 04-09-2008, 07:57 PM   #10
AceofSpades19
Danshell Admin
 
Registered: Feb 2007
Location: Chilliwack,BC.Canada
Distribution: good ol' Slackware
Posts: 2,112
Thanked: 1
VLC can play just about anything and already has a windows version
AceofSpades19 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 08:49 AM
compiling FPGA chip design software designed for windows (visual c++) in linux gogettergary Programming 1 05-09-2005 09:45 AM


All times are GMT -5. The time now is 04:48 PM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration