[newbie] debugging, compiling, building, and executing c files

2002-07-16 Thread Aru Sahni
After much trial and error on my md box, I gave up on emacs, and decided to use the 'gcc' and 'make' commands in the terminal window. I have successfully managed to use gcc to debug, but am not able to use 'make'. When I type: $ make /home/aru/prog/weekone/2-17.c The program returns:

Re: [newbie] debugging, compiling, building, and executing c files

2002-07-16 Thread Michael Viron
To start, please try not to send html text, as most people will tend to ignore it. Also, you don't need to have the font at 16 or 18 pt, as most people can see either 10 or 12 pt. Anyways, to use make you must create a makefile. If you don't have one, it will return make: nothing to be done

Re: [newbie] debugging, compiling, building, and executing c files

2002-07-16 Thread Damian G
to use the 'gcc' and 'make' commands in the terminal window. I have successfully managed to use gcc to debug, but am not able to use 'make'. based on the way you are trying to compile a single .c file, i' m not sure you really need make. to compile a .c file and get an executable just do a