I would to execute a c file in the folder petalinux-dist/user/cgihtml/exemple of petalinux v010-rc1.
I have put my c file in this folder and add a line in the Makefile file to compile it, but after when I execute the Makefile, I have an executable file but without the extension .gdb and I have no binary file. It is the same when I make in petalinux-dist folder the command "make all". Sometimes I have the executable file with the extension .gdb and sometimes not.
It is the same problem with the other files as test.cgi or query-results.c.