Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 10-12-2002, 07:31 PM   #1
[MistaT]
So Fucking Banned
 
Join Date: Jul 2002
Posts: 193
another nix question

so i got mandrake running..

i want to compile code, how do i do this?

i think ur menna use gcc but i cant figure it out

thanks
[MistaT] is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2002, 07:39 PM   #2
smashface
Confirmed User
 
Industry Role:
Join Date: Sep 2002
Location: San Francisco, California
Posts: 991
What are you trying to compile?
smashface is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2002, 07:39 PM   #3
Pete
Confirmed User
 
Pete's Avatar
 
Join Date: Jan 2001
Location: Mr. Rogers Neighborhood
Posts: 6,617
I cant figure it out either
__________________
Evoke Electronics
Pete is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2002, 07:46 PM   #4
[MistaT]
So Fucking Banned
 
Join Date: Jul 2002
Posts: 193
Quote:
Originally posted by smashface
What are you trying to compile?
anything
[MistaT] is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2002, 07:47 PM   #5
smashface
Confirmed User
 
Industry Role:
Join Date: Sep 2002
Location: San Francisco, California
Posts: 991
how about an actual example? Show us the actual file you are trying to compile.
smashface is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2002, 07:52 PM   #6
[MistaT]
So Fucking Banned
 
Join Date: Jul 2002
Posts: 193
wanna know what im trying to compile?

it is - hello

why the fuck do u want to know, if u know how just help us out



gcc hello.c -o hello world


why does this not work?
[MistaT] is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2002, 07:52 PM   #7
codemebaby
Registered User
 
Join Date: Oct 2002
Location: Spokane WA and Vancouver BC
Posts: 93
I dont think you want to compile just "anything"...heh

thats no fun :P

check out rpms, they're great for people who dont know what they're doing to atleast get started...
__________________
SIG TOO BIG! Maximum 120x60 button and no more than 3 text lines of DEFAULT SIZE and COLOR. Unless your sig is for a GFY top banner sponsor, then you may use a 624x80 instead of a 120x60.
codemebaby is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 10-12-2002, 08:11 PM   #8
Dragon Curve
Confirmed User
 
Join Date: Oct 2002
Posts: 252
Don't use RPMs. They're the root of all evil =)

To compile hello.c will require a simple:
gcc -o hello hello.c

Filenames can only be one word, unless you do something like gcc -o 'hello world' hello.c
Which is bad in general, avoid spaces in filenames.

Anything you download and want to compile will often come with a Makefile or a configure script. For example, say you want to compile MyProgram 1.0 - it would generally be something like

tar xzf myprogram-1.0.targz
cd myprogram-1.0
./configure
make
make install

You might want to read through some Linux HOWTOs or maybe even grab a nice book on Linux. Compiling stuff is the easy part, it gets harder from there on in :P

Oh and if you're running Mandrake, well, you shouldn't be :P But if you are, make SURE you chmod -s your linuxconf binary.

Type "which linuxconf" and find the path to the file and then simply "chmod -s /bin/linuxconf" or whatever the path to it is. Linuxconf has a huge local exploit on it and is +s for all Mandrake dists - very exploitable.
Dragon Curve is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.