LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Games
User Name
Password
Linux - Games This forum is for all discussion relating to gaming in Linux.

Notices

Reply
 
LinkBack Search this Thread
Old 11-18-2009, 05:58 PM   #1
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 460

Rep: Reputation: 39
OpenTTD - Cross Compiling


And before anyone tells me to go ask at the TT-Forums, read this thread on them. It explains why I'm asking here.

That aside. Those who've read that thread know what I'm going to ask, for those who don't want to, here's the problem.
No one can figure out how to cross-compile Win32 builds of OpenTTD on linux anymore. There's a wiki page on the OpenTTD wiki, which is outdated, and I personally have had no success with.

So I'm hoping someone can help me/us/the OpenTTD community out with this, and explain how exactly to achieve it.
And if no one minds, I (or you can yourself, of course) will add the information to their wiki page for their easy referance.

(Note - I found a set of mingw packages in my Ubuntu repository that seem to be useful for making Win32 builds - but I haven't figured out how they work yet.)

Thanks in any case.
 
Old 11-20-2009, 09:17 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 8,581

Rep: Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209Reputation: 1209
Why do it ?

Versions are available for the most OS's :

http://www.openttd.org/en/download-stable

And where to get the source code ?
 
Old 11-20-2009, 09:23 AM   #3
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 460

Original Poster
Rep: Reputation: 39
Sigh...
The source code is available at the same page you linked to, which I already know about. If I could use that for what I want to do, I would.

The reason I would want to is because there are those who want to produce patched Win32 builds, or builds of the custom branches such as the Cargo Distribution branch, but don't have a Windows PC to do it on.
Patches work on source code. Not on already compiled binaries.

You can also check out the source code by grabbing your terminal, installing svn and then running:
svn co svn://svn.openttd.org/trunk

I do know how to compile on both Windows and Linux. The problem remains that I cannot compile for Windows on Linux.
I wouldn't be asking if just downloading the Windows binaries was enough.
 
Old 12-23-2009, 03:08 PM   #4
TheStarLion
Member
 
Registered: Nov 2009
Location: UK
Distribution: Gentoo
Posts: 460

Original Poster
Rep: Reputation: 39
Alright, I'm going to bump this a bit, because I'm still looking for some instructions that work.

Yes, I'm still working with the source code, so I can provide patched versions of OpenTTD, for other OS.
The two target OS are of course Windows, and Mac.

Windows, I've found all kinds of ideas for this or that option, none of which have provided and executable Windows binary.
Mac I'll freely admit I haven't gone looking for yet, because firstly, I'd like to know what I'd need, in order to provide a Mac build as it is, let alone actually compile one on Linux.
 
  


Reply


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Cross Compiling jayadhanesh Linux - Newbie 2 05-26-2009 12:48 AM
Cross-compiling v/s cross-building kushalkoolwal Programming 3 05-13-2009 06:49 AM
Cross compiling Mike Davies Linux - Kernel 4 04-04-2007 11:59 AM
Cross Compiling dosnlinux Programming 5 03-01-2006 12:12 PM
cross compiling cerin Linux - Software 1 02-11-2006 11:47 PM


All times are GMT -5. The time now is 07:05 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
Open Source Consulting | Domain Registration