LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-05-2004, 01:04 PM   #1
dave247
Member
 
Registered: May 2004
Posts: 204

Rep: Reputation: 30
Editing Maelstrom source code


I am trying to edit the source code to the linux game maelstrom so that I have like 3000 lives and unlimited shield...

After I find the correct file and figure out how to edit it....... I want to know how to compile the source code so I can run it. can someone tell me how to compile source code in linux?
 
Old 05-05-2004, 01:11 PM   #2
gazza
Member
 
Registered: Jun 2003
Distribution: Mandrake 10.1 Official
Posts: 157

Rep: Reputation: 30
gcc <filename.c> -o filename

I do beleive
 
Old 05-05-2004, 01:14 PM   #3
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
hmm... gcc doesnt seem to be a command.
 
Old 05-05-2004, 01:16 PM   #4
gazza
Member
 
Registered: Jun 2003
Distribution: Mandrake 10.1 Official
Posts: 157

Rep: Reputation: 30
try "man gcc"
 
Old 05-05-2004, 01:25 PM   #5
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
If gcc is not a command, then you've to install gcc
 
Old 05-05-2004, 01:28 PM   #6
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
yes! of course! I am using SuSE 9.0

Could you tell me more about gcc.. what is it?
 
Old 05-05-2004, 01:29 PM   #7
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
It's a c compiler. There should be available within your CD's. I've never used Suse, but maybe you could install it through YaST?
 
Old 05-05-2004, 01:29 PM   #8
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
oh.... the linux compiler.. good good.. I am learning.
 
Old 05-05-2004, 01:30 PM   #9
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
dude this forums ROCKS my SOCKS!

you guys are awesome.
 
Old 05-05-2004, 01:36 PM   #10
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
did it work? Congratulations
 
Old 05-05-2004, 01:41 PM   #11
dave247
Member
 
Registered: May 2004
Posts: 204

Original Poster
Rep: Reputation: 30
I didnt try it yet. I am not at home.... BUT I was saying that this forums is awesome cause I got like 10 replies in about 5 minutes.


I am staying here.

 
Old 05-05-2004, 01:48 PM   #12
Mega Man X
Guru
 
Registered: Apr 2003
Location: ~
Distribution: Ubuntu, FreeBSD, Solaris, DSL
Posts: 5,339

Rep: Reputation: 63
ghehe. You are in trouble now. I felt like this when I joined here, about one year ago, and I practically live here lol. Here, some reading for ya:

http://gcc.gnu.org/

still, install gcc from your CD's. Compiling the compiler is the worst experience I have ever had, pretty much as difficult to know which one came first: the chicken or the egg?
 
Old 10-26-2010, 09:56 AM   #13
van_Zeller
LQ Newbie
 
Registered: Sep 2010
Location: Lisbon, Portugal
Distribution: Ubuntu, Lubuntu
Posts: 16

Rep: Reputation: 0
Hello,

Sorry to bring this thread back from the dead, but where did you get the source code from? I can't seem to find it...
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to convert Assembly code to "C" source code ssg14j Programming 2 08-01-2005 12:48 PM
code editing software stefane321 Linux - Software 10 12-19-2004 05:18 PM
Editing buttons (quote, code etc.) add the code to the end vharishankar LQ Suggestions & Feedback 2 09-13-2004 09:32 AM
trouble editing source.list gonus Debian 8 08-04-2004 09:48 PM
slackware 8.1 and Maelstrom josh-67 Slackware 0 02-28-2003 11:58 PM


All times are GMT -5. The time now is 06:24 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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration