• Welcome to Valhalla Legends Archive.
 

cron jobs

Started by Imperceptus, September 06, 2007, 04:33 PM

Previous topic - Next topic

Imperceptus

I have a website script that requires me to compile a source file for use as a cron later on. uhm. I'm a bit clueless how to compile this source. its extension is .c. so i figured it was just needing a c compiler. but I haven't had any luck. what do I do?
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.

Camel

#1

scott@blackdiamond ~ $ echo "int main() {}" > file.c
scott@blackdiamond ~ $ gcc file.c
scott@blackdiamond ~ $ ls
a.out  file.c
scott@blackdiamond ~ $ ./a.out
scott@blackdiamond ~ $

Imperceptus

alright i will try that, but where should file.c reside in relation to my cygwin folder?
Quote from: Hazard on August 07, 2003, 03:15 PM
Highlight your entire code. Press the delete key. Start over again using Cuphead's CSB tutorial and work your way from their rather than raping code from downloaded sources meant purely for learning purposes. If this does not fix the problem, uninstall Visual Basic and get a new hobby. I suggest Cricket.

Camel


Joe[x86]

Use a cd command to change directory to it's absolute path.
Quote from: brew on April 25, 2007, 07:33 PM
that made me feel like a total idiot. this entire thing was useless.