PDA

View Full Version : n00bish question


Somenoob
May 8th, 2006, 08:50 AM
How do you turn a normal file(like Perl, C, Python etc) into a binary file?

thumper
May 8th, 2006, 09:05 AM
It depends...

perl and python files are interpreted, so they don't generally get turned into executables, but they do get executed...

C gets compiled into an executable using a compiler, usually gcc on linux.

Somenoob
May 10th, 2006, 03:58 PM
So is there no way to make Perl or Python files into Executables?

Wallakoala
May 10th, 2006, 06:08 PM
So is there no way to make Perl or Python files into Executables?

Yes...there is a way. For python, there is a script called "Freeze" that comes with the python distrobution. If you go onto the python website I am sure you can find the details on how to use it.

For perl...I have no clue. I am pretty sure that this is possible, but I do not know how.

snowjm
May 10th, 2006, 08:14 PM
How would you compile a C++ program into binary using gcc?

Jessehk
May 10th, 2006, 08:53 PM
How would you compile a C++ program into binary using gcc?

http://ubuntuforums.org/showthread.php?t=172540