Date: Wed, 25 Sep 1996 06:15:23 -0500 From: Mila Data Message-Id: <199609251115.GAA00534@mach3.polbox.com.pl> To: djgpp AT delorie DOT com Subject: execl problem hallo everybody, The folowing little program shows my problem with execl (I've found something about execl in mail archive, but it's not clear enough). m1.c: #include #include int main(int argc, char *argv[]) { printf("hallo world!\n"); execl("m1.exe","m1.exe",NULL); return 0; } This program should never stop (and it does when compiled with Borland TC), when I compile it with gcc from djgpp v2 : gcc -o m1 m1.c and run it : m1.exe I get : hallo world! hallo world! hallo world! hallo world! hallo world! hallo world! hallo world! Exiting due to signal SIGSEGV