Compiling Source into an exe...

Everything todo with programming goes HERE.
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Compiling Source into an exe...

Post by Infa(mous) »

Ya... I was wondering how to compile the source into an exe... Sorta confusing to me... :/
User avatar
Z-Man
God & Project Admin
Posts: 11587
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

As usual, the good stuff is already on the wiki:
http://wiki.armagetronad.net/index.php? ... evelopment
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

Oh. Thanks Z-man, i was searching for the wrong names. :/
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

I decided to compile on one of my linux machines... There are a few option things that I need to know, though... How would you make a windows dedicated EXE w/ authentication? I know that --enable-authentication gives the auth, but that's pretty much all. It doesn't talk much about this on the wiki... :o
User avatar
Tank Program
Forum & Project Admin, PhD
Posts: 6711
Joined: Thu Dec 18, 2003 7:03 pm

Post by Tank Program »

--disable-glout makes it a dedicated server.
Image
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

or --enable-dedicated on a recent tree from 0.2.8 :)
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

k. How about making it into a windows dedicated, though?
User avatar
Z-Man
God & Project Admin
Posts: 11587
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

From Linux, that is simply not possible.

(Well, it is possible, you have to cross compile. But nobody has done that yet.)
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

:o I could be the first, but i've never cross-compiled b4... soo....

EDIT:
Perhaps I should use wxWidgets and MinGW? It really wouldn't require many changes at all to code... I don't think...
User avatar
Z-Man
God & Project Admin
Posts: 11587
Joined: Sun Jan 23, 2005 6:01 pm
Location: Cologne
Contact:

Post by Z-Man »

MingW definitely, it's great for cross compilation, but, umm, wxWidgets? Why?
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

because... umm... it makes windows binaries out of c++? I dunno really, it's just what came to mind. If you know of something better, i'd gladly accept it.

EDIT: Do i actually need wxWidgets or anything of the sort -> Can i get away with just minGW?
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

F! Infamous wrote:Do i actually need wxWidgets or anything of the sort
No, that's for GUIs.
F! Infamous wrote:Can i get away with just minGW?
Well yes, but nobody managed to pass the autohell step(./bootstrap && ./configure), so you'd have work to do to make it actually work.
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

oic... :o
Next weekend i'll work on it. Hopefully i'll make it work. :P
epsy
Adjust Outside Corner Grinder
Posts: 2003
Joined: Tue Nov 07, 2006 6:02 pm
Location: paris
Contact:

Post by epsy »

Good luck, and not in a good sense.
User avatar
Infa(mous)
Round Winner
Posts: 255
Joined: Thu Aug 14, 2008 11:27 pm

Post by Infa(mous) »

:?: :?: :?:
Post Reply