Friday, November 6, 2015

Re: Impossible to compile a C source program

Le vendredi 6 novembre 2015 09:57:42 UTC+1, aubertin.sylvain a écrit :
> THE WARNING I RECEIVE make: Dépendance circulaire ins <- ins.o abandonnée.
> gcc -c ins ins.o
> gcc: warning: ins: linker input file unused because linking not done
> gcc: warning: ins.o: linker input file unused because linking not done
> THE BOTTOM OF THE MAKEFILE
> tri.o: tri
> /bin/bash tri tri.o
> ins.o : ins
> gcc -c ins ins.o
> THE TOP OF MY SOURCE CODE
> ---- a/ins
> +++ b/ins
> #ins
> I changed many times the name of the compiler without any succss The. Error is either on the top of my code named « ins », or in the name of the compiler, at the bottom of the makefile.
> May I have some help. Thanks a lot

I changed the name of my source (ins.c instead of ins) and the first thing I see : all my program became coloured, and the compiler goes on. It is marvellous.Thank you very much.
However there is something I don't understand: he finds many errors. I copied that "insert sort" on the pages of a school. Maybe the compiler does not understand that language. Thanks again

--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: