nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   General Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=27)
-   -   Need URGENT C-Unix Help! (http://www.nvnews.net/vbulletin/showthread.php?t=86347)

Tuork 02-14-07 07:45 PM

Need URGENT C-Unix Help!
 
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 08:08 PM

Re: Need URGENT C-Unix Help!
 
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 08:09 PM

Re: Need URGENT C-Unix Help!
 
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 08:12 PM

Re: Need URGENT C-Unix Help!
 
Quote:

Originally Posted by grey_1
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 08:23 PM

Re: Need URGENT C-Unix Help!
 
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 08:33 PM

Re: Need URGENT C-Unix Help!
 
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 08:37 PM

Re: Need URGENT C-Unix Help!
 
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 08:38 PM

Re: Need URGENT C-Unix Help!
 
Quote:

Originally Posted by Tuork
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 08:54 PM

Re: Need URGENT C-Unix Help!
 
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 06:33 PM

Re: Need URGENT C-Unix Help!
 
hehe fork bomb!

Tuork 02-15-07 07:01 PM

Re: Need URGENT C-Unix Help!
 
Quote:

Originally Posted by lunix
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 09:17 PM

Re: Need URGENT C-Unix Help!
 
Quote:

Originally Posted by lunix
hehe fork bomb!

I was ready for it :)

Code:

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:~$



All times are GMT -5. The time now is 05:43 PM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.