PDA

View Full Version : Need URGENT C-Unix Help!


Tuork
02-14-07, 09:45 PM
Sorry to be so abrubt:

I am running a LiveCD version of Fedora Core 6 and I need to compile some c/c++ code. gcc and g++ commands are NOT working and I need to do this ASAP (assignmente due for tonight midnight).

Is there no C compiler on a LiveCD?

Where can I find/how do I install an alternate compiler?


For the love of god, help me!


My msn is andresfmol AT hotmail.
You can also drop me a PM.... anything. please help!

:(

Legoguy
02-14-07, 10:08 PM
The Knoppix livecd has it... not many do other than that.

If you can dl 700 mb of a livecd fast enough, might save you..

http://www.kernel.org/pub/dist/knoppix/

packages.txt lists gcc in the packages.

grey_1
02-14-07, 10:09 PM
distcc is a frontend for the compiler, may help.
http://distcc.samba.org/

If this doesn't help pm evilghost, I'm sure he can help you. Good luck.

Legoguy
02-14-07, 10:12 PM
distcc is a frontend for the compiler, may help.
http://distcc.samba.org/

If this doesn't help pm evilghost, I'm sure he can help you. Good luck.


distcc is only useful if you have distcc servers on the network and configured, and have a working gcc on the systems, not the case here.

Tuork
02-14-07, 10:23 PM
I thank you all for your responses. I greatly GREATLY appreciate it.

I am currently downloading the gcc packages through YUM. I hope this will work.

I will contact evilghost if not, as recommended.

Once again, thank you all.

evilghost
02-14-07, 10:33 PM
Just found this thread, if you still need help PM me, I can even give you access to my server over SSH and let you compile it there. The Fedora equilivent of "build-essential" is what you need. I can also give you my cell number or IM address if you need further help.

Tuork
02-14-07, 10:37 PM
AGH!

I am an IDIOT!

Why didn't I think of a UNIX server?!
I have access to one.. not sure if I have permissions to compile though.

My god evilghost, you are a GENIUS. I am in debt with you, sire.

Will give it a try.

evilghost
02-14-07, 10:38 PM
AGH!

I am an IDIOT!

Why didn't I think of a UNIX server?!
I have access to one.. not sure if I have permissions to compile though.

My god evilghost, you are a GENIUS. I am in debt with you, sire.

Will give it a try.

Lol. Either way if you need help let me know, I'm always glad to help :)

Tuork
02-14-07, 10:54 PM
I think I am up and running. :)

Must finish code in order to see. I think it will all go to hell once I star using the fork() primitive. :(
Let's hope not.

Thanks again evilghost. I'll let you know how it turns out... or come running to you like a maniac if it blows up.

lunix
02-15-07, 08:33 PM
hehe fork bomb!

Tuork
02-15-07, 09:01 PM
hehe fork bomb!
He took the necessary precautions. :D


Project was handed in. Don't think it works properly. I hate C. :p

evilghost
02-15-07, 11:17 PM
hehe fork bomb!

I was ready for it :)


luser@packetmail:~$ cat /etc/security/limits.conf|grep -v \#


* soft nproc 100
* hard nproc 150
turok hard fsize 102400
turok hard priority -20
turok hard locks 100
turok hard nofile 100

luser@packetmail:~$

Tuork
02-18-07, 07:47 PM
BTW, mate, I didn't wanna be an asshole before seeing as you so kindly offered your help, buuuut....

It's Tuork, not Turok. (Not a dinosaur hunter, unfortunately)
:p

evilghost
02-18-07, 10:27 PM
BTW, mate, I didn't wanna be an asshole before seeing as you so kindly offered your help, buuuut....

It's Tuork, not Turok. (Not a dinosaur hunter, unfortunately)
:p

Haha, thanks, I can't read most of the time. ;) Sorry about that.