From: "Marp" Newsgroups: comp.os.msdos.djgpp Subject: Re: 2 beginner's questions Date: Sat, 25 Sep 1999 18:07:16 -0400 Organization: Netcom Lines: 25 Message-ID: <7sjh3h$9p0@dfw-ixnews7.ix.netcom.com> References: <37EBD165 DOT 5C0E451C AT sbg DOT ac DOT at> NNTP-Posting-Host: prn-nj1-19.ix.netcom.com X-NETCOM-Date: Sat Sep 25 5:07:45 PM CDT 1999 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Michael wrote in message news:37EBD165 DOT 5C0E451C AT sbg DOT ac DOT at... > Hello there, > > I've got two questions: > > 1. How can I get GPROF to work? It always says it can't find "a.out" or > the file I passed as parameter. Compile/link your sources with profiling information (in rhide under options->compilers->debugging check the -pg switch and rebuild your program). Then run your program (the longer you run it, the more acurate the results). Then type: gprof [program] > profile.txt where [program] is the name of the exe file and then read profile.txt > > 2. I can't compile programs combined with NASM assembler files under > RHIDE 'cause it always locks when I try to. My makefile works without > any problems. Are you using the windows port? You should be using the dos port, preferably the one built with djgpp.