delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/05/13/11:15:07

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: gprof with all zero execution times in version 2.03
Date: 13 May 2003 14:39:26 GMT
Organization: Ericsson Erisoft AB, Sweden
Lines: 34
Message-ID: <b9r02u$hio$1@antares.lu.erisoft.se>
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>
NNTP-Posting-Host: lws256.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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.

: cwsdpr0.exe as DPMI host to run the program.

What happens if you run with cwsdpmi.exe?

: Sections of the makefile are listed below:

...
: AS      = asm

What assembler is this?

...
: $(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,

						MartinS

- Raw text -


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