Valhalla Legends Forums Archive | Web Development | cron jobs

AuthorMessageTime
ImperceptusI 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?September 06, 2007, 04:33 PM
Camel
Code:
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 ~ $
September 06, 2007, 04:48 PM
Imperceptusalright i will try that, but where should file.c reside in relation to my cygwin folder?September 06, 2007, 05:05 PM
Camel...
September 06, 2007, 08:38 PM
Joe[x86]Use a cd command to change directory to it's absolute path.September 09, 2007, 11:39 PM