Compile without debug mode?

Do you need help? Ask here!

Bug reporting belongs here: http://developer.wz2100.net/newticket
zspace
Rookie
Rookie
Posts: 16
Joined: 31 Jan 2009, 09:12

Compile without debug mode?

Post by zspace »

I was just wondering if there's any way to compile warzone from source on Linux that would result in the program not compiling into a debug mode?
Every time I've compiled it, it always defaults to debug (I assume that there is a way to turn it off seeing as the windows version don't install as debug). I wanted to try the newest version of BP, but my processor just can't handle the debug and the BP processing at the same time.

Also I would like to say that if an .rpm for Fedora can be made, that a .deb for Ubuntu/Debian based distributions should also be made (yes I know I can use the .rpm on any distro, but given Ubuntu's popularity as a distribution I think having direct access to the game would be a big plus). As it stands the version in the Ubuntu universal repositories is version 2.1.3.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Compile without debug mode?

Post by Buginator »

zspace wrote:I was just wondering if there's any way to compile warzone from source on Linux that would result in the program not compiling into a debug mode?
Every time I've compiled it, it always defaults to debug (I assume that there is a way to turn it off seeing as the windows version don't install as debug). I wanted to try the newest version of BP, but my processor just can't handle the debug and the BP processing at the same time.

Also I would like to say that if an .rpm for Fedora can be made, that a .deb for Ubuntu/Debian based distributions should also be made (yes I know I can use the .rpm on any distro, but given Ubuntu's popularity as a distribution I think having direct access to the game would be a big plus). As it stands the version in the Ubuntu universal repositories is version 2.1.3.
./configure --enable-debug=no

As for the .deb, I guess that is going to be made sometime after the 19th.
and it ends here.
zspace
Rookie
Rookie
Posts: 16
Joined: 31 Jan 2009, 09:12

Re: Compile without debug mode?

Post by zspace »

ok thanks for the help with the debug thing. You really should add that to the compile instructions for Linux, there is no mention of that in there.
Good to know you guys are going to make one, saves me having to recompile the thing every time a new version comes out.
I was wondering after I saw the fedora packages.
User avatar
Zarel
Elite
Elite
Posts: 5770
Joined: 03 Jan 2008, 23:35
Location: Minnesota, USA

Re: Compile without debug mode?

Post by Zarel »

...I thought stable branches are supposed to have debug off by default? Someone should fix this.
User avatar
Buginator
Professional
Professional
Posts: 3285
Joined: 04 Nov 2007, 02:20

Re: Compile without debug mode?

Post by Buginator »

zspace wrote:ok thanks for the help with the debug thing. You really should add that to the compile instructions for Linux, there is no mention of that in there.
Good to know you guys are going to make one, saves me having to recompile the thing every time a new version comes out.
I was wondering after I saw the fedora packages.
That is a pretty common way to disable/enable debug mode on linux...if you want to edit the wiki, be my guest. :)

As far as the .deb, *we* don't make it, that is handled by a 3rd party, as are most of the other packages. The only one I know that we create are the fedora packages.
and it ends here.