Have you tried with Cygwin?
2008/4/4, Prof A Olowofoyeku (The African Chief) chiefsoft@bigfoot.com:
On 4 Apr 2008 at 14:10, Régis Cridlig wrote:
Thank you, I succeeded in installing the latest cygwin build: gpc-20070904.i686-pc-cygwin.tar.gz
[...]
What is going wrong?
I don't know. It works perfectly fine here:
bash-3.00 /f/gpc> cat crash.pas
program Crashes(input,output);
function B(l:integer):boolean; begin B:=true; end;
procedure Q(j:integer;function A(l:integer):boolean);
function E(l:integer):boolean; begin E := false end;
begin if A(j) then Q(200,E); end;
begin Q(100,B); end.
bash-3.00 /f/gpc> gpc crash.pas -Wall -g -o crash.exe bash-3.00 /f/gpc> gdb crash.exe GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special) Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-cygwin"... (gdb) run
Starting program: /f/gpc/crash.exe
Program exited normally. (gdb)
Best regards, The Chief
Prof. Abimbola A. Olowofoyeku (The African Chief) web: http://www.greatchief.plus.com/