Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


How to compile a program

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk
View previous topic :: View next topic  
Author Message
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Fri Jun 13, 2014 11:11 am    Post subject: How to compile a program Reply with quote

Hello,programming language packages are often downloaded as source (makefile) in the format filename.tar.gz,how to compile them?I think that people use Mingw but I have no idea o, how to use it,it asks you to choose which of the packages to install,and it has no GUI to compile source code.
I'm trying to compile the following packages:
Ruby 2.1.2 https://www.ruby-lang.org/en/downloads/
Lua 5.3.0 (just to test) http://www.lua.org/work/
Thanks for the help.
Back to top
View user's profile Send private message
atom0s
Moderator
Reputation: 198

Joined: 25 Jan 2006
Posts: 8516
Location: 127.0.0.1

PostPosted: Fri Jun 13, 2014 1:42 pm    Post subject: Reply with quote

Most packages like these come with a README file that explains what you need to do to compile them. For example, Lua has its files all hosted online as well, their readme is found here:
http://www.lua.org/manual/5.2/readme.html

However if you are entirely new to compiling anything I would recommend that you read over some tutorials about the compiler you land up choosing to use.

_________________
- Retired.
Back to top
View user's profile Send private message Visit poster's website
Redouane
Master Cheater
Reputation: 3

Joined: 05 Sep 2013
Posts: 363
Location: Algeria

PostPosted: Fri Jun 13, 2014 5:19 pm    Post subject: Reply with quote

atom0s wrote:
Most packages like these come with a README file that explains what you need to do to compile them. For example, Lua has its files all hosted online as well, their readme is found here:
http://www.lua.org/manual/5.2/readme.html

However if you are entirely new to compiling anything I would recommend that you read over some tutorials about the compiler you land up choosing to use.


The build process confuses me a bit,what do they mean by 'Do "make" and see if your platform is listed.'?Do I have to do it in a command prompt?What is a 'Terminal'?
If it's just something like "compiler.exe" [parameter] "makefile_address" (usage like upx) then what compiler can I use (MinGW just asks you to choose what to install).
Thanks for taking the time to answer.
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 891

PostPosted: Fri Jun 13, 2014 5:40 pm    Post subject: Reply with quote

Redone wrote:
The build process confuses me a bit,what do they mean by 'Do "make" and see if your platform is listed.'?Do I have to do it in a command prompt?What is a 'Terminal'?
If it's just something like "compiler.exe" [parameter] "makefile_address" (usage like upx) then what compiler can I use (MinGW just asks you to choose what to install).
Thanks for taking the time to answer.


If you're building a lot of UNIX-style stuff, you will need the make tool and probably also autoconf/m4. Alternatively, you could download cmake and learn how to use it. It can build from build scripts into most other formats, and can also export project files for Visual Studio.

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
paupav
Master Cheater
Reputation: 13

Joined: 15 Apr 2011
Posts: 315
Location: P. Sherman 42, Wallaby Way, Sydney

PostPosted: Fri Aug 01, 2014 6:41 pm    Post subject: Re: How to compile a program Reply with quote

Redone wrote:
Hello,programming language packages are often downloaded as source (makefile) in the format filename.tar.gz,how to compile them?I think that people use Mingw but I have no idea o, how to use it,it asks you to choose which of the packages to install,and it has no GUI to compile source code.
I'm trying to compile the following packages:
Ruby 2.1.2 https://www.ruby-lang.org/en/downloads/
Lua 5.3.0 (just to test) http://www.lua.org/work/
Thanks for the help.

./configure
sudo make
sudo make install

You have to have make installed.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Computer Talk All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites