delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/13/14:30:14

From: alrc AT task DOT com DOT br (Andre Chrcanovic)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gprof with all zero execution times in version 2.03
Date: 13 May 2003 11:24:59 -0700
Organization: http://groups.google.com/
Lines: 57
Message-ID: <5c9be5c2.0305131024.17e946@posting.google.com>
References: <200305121929 DOT h4CJTEN08938 AT delorie DOT com> <b9qgbu$ef9$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <5c9be5c2 DOT 0305130628 DOT 45188bfd AT posting DOT google DOT com> <b9r02u$hio$1 AT antares DOT lu DOT erisoft DOT se>
NNTP-Posting-Host: 200.165.11.92
X-Trace: posting.google.com 1052850300 28784 127.0.0.1 (13 May 2003 18:25:00 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: 13 May 2003 18:25:00 GMT
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Please find my comments below.

Thanks,

Andre.

eplmst AT lu DOT erisoft DOT se (Martin Stromberg) wrote in message news:<b9r02u$hio$1 AT antares DOT lu DOT erisoft DOT se>...
> Andre Chrcanovic (alrc AT task DOT com DOT br) wrote:
> : I got the output sample after running the program for approximately 45
> : minutes...
>  
> : The compiler run on an Windows NT machine, but I run the executable in
> : a machine with FreeDos (Kernel version 1.1.23 - Build 2023). I use
> 
> That's quite old a kernel. It might have been around that time DJGPP
> programs started to run in FreeDOS. Try upgrading it.
> 

OK. I will try that.

> : cwsdpr0.exe as DPMI host to run the program.
> 
> What happens if you run with cwsdpmi.exe?
> 

The program crashes (General Protection Fault)...

> : Sections of the makefile are listed below:
> 
> ...
> : AS      = asm
> 
> What assembler is this?
> 

Actually, none. It's a typo. I use 'nasm' in other makefiles when I
need the assembler, but this makefile does not call the assembler...

> ...
> : $(BINDIR)/$(BOOT).exe:   $(BOOTOBJ) $(BOOTLIB)
> : 	    $(LINKA) -pg -o $(BINDIR)/$(BOOT).exe $(BOOTOBJ) $(LNKOPTS)
> : -Wl,-Map,boot_bz.map
> 
> I'm slightly worried about that "BOOT" stuff. What you generate is an
> ordinary .EXE that you run from the command prompt or AUTOEXEC.BAT,
> right?
> 

Right. It is a .EXE called from AUTOEXEC.BAT. The program is called
'boot' for historical reasons... The original version of this program
is a binary (generated with Metaware HighC and PharLap) loaded from
flash in a system without DOS (or any other OS)...

> 
> Right,
> 
> 						MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019