delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/09/11:21:48

From: Kai Dietrich <toepferei DOT dietrich AT t-online DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: gprof
Date: Sat, 09 Dec 2000 17:00:31 +0100
Organization: T-Online
Lines: 18
Message-ID: <3A32571F.634557AE@t-online.de>
Mime-Version: 1.0
X-Trace: news.t-online.com 976377788 03 16163 wyQaj4bSJAPHu 001209 16:03:08
X-Complaints-To: abuse AT t-online DOT com
X-Sender: 320009961467-0001 AT t-dialin DOT net
X-Mailer: Mozilla 4.6 [de]C-CCK-MCD QXW03200 (Win95; I)
X-Accept-Language: de,en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hi!

I wanted to profile my code. I read the DJGPP faq and then compiled my
prog with the following command line:
gcc menu.cpp -o menu.exe -lfgl -lmidas -lalleg -lkb -pg

I read that there won't be a gmon.out if there isn't the -pg switch, but
I used it (IMHO correct).

C:\tools\djgpp\sources>gprof menu.exe
gmon.out: No such file or directory (ENOENT)

what's wrong???

TIA
Bye
    Kai

- Raw text -


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