Compiling in Linux? :/

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
ayu
Staff
Staff
Posts: 8109
Joined: 27 Aug 2005, 16:00
18
Contact:

Compiling in Linux? :/

Post by ayu »

k...so i have a blablavla.c file.....how do i run it? :S
"The best place to hide a tree, is in a forest"

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »


User avatar
evileye
On the way to fame!
On the way to fame!
Posts: 40
Joined: 03 Sep 2006, 16:00
17
Contact:

Re: Compiling in Linux? :/

Post by evileye »

neo130 wrote:k...so i have a blablavla.c file.....how do i run it? :S
well simpli goto --- konsole or terminal i mean shell prompt then,

cc <file name.c> ---------compiles
./a.out --------- for getin o/p

need more just follow the link provided by ADMIN
:twisted:
Life is just nothing but a COMPETITION;
To be a CRIMINAL rater than a VICTIM.

User avatar
LaBlueGirl
Suckopithicus chickasaurus
Suckopithicus chickasaurus
Posts: 513
Joined: 22 Mar 2006, 17:00
18
Location: Brussel
Contact:

Just

Post by LaBlueGirl »

like you would compile any other file.

What does the README or INSTALL file say?

You either need to ./config it, makefile it, etc etc.

It's written in a C language, and I am assuming you have a C compiler;)
"Hey, Crash!
Ever tried walking with no legs?

It's real slow!"
~Crunch, Crash Bandicoot TTR

User avatar
LaBlueGirl
Suckopithicus chickasaurus
Suckopithicus chickasaurus
Posts: 513
Joined: 22 Mar 2006, 17:00
18
Location: Brussel
Contact:

Wait wait

Post by LaBlueGirl »

Is it compiling or running it you have the problem with?

Running progs in Linux is done with .bin files (AFAIK)
Compiling them is different.

But looking at the date of this post, I am assuming you figured it out already!
"Hey, Crash!
Ever tried walking with no legs?

It's real slow!"
~Crunch, Crash Bandicoot TTR

Post Reply