Date: Wed, 10 Nov 93 09:30:16 -0500 From: DJ Delorie To: 90700465 AT vax1 DOT dcu DOT ie Cc: DJGPP AT sun DOT soe DOT clarkson DOT edu Subject: Re: > I obtained a copy of DJGPP via FSF and would like to join the > mailing list. See below. > 1. the code generated by DJGPP runs slowly (slower than the TC 3.0 > generated code) on my 40 MB RAM using HIMEM.SYS, possibly due to > swapping to disc. Run "mem" and make sure that you have *available* memory. Note that if you're using emm386 or qemm you must have available *expanded* memory, else it uses XMS or extended. > is there any systematic way of tuning my the system or is my > system simply too small. Run under debug32 and watch the information on the top line. The last two numbers are memory used and memory remaining. Swapping is indicated by the third to last number, if it appears. > 2. can I run the profiler? I do not seem to be able to generate a > mon.out/gmon.out file. use "gcc -pg prog". This will produce the gmon.out file. > 3. using streams, (), reading the last line does > not set the eof flag. There is a comment in IOstream.h concerning this. Is this > a bug or are differences in implementation between UNIX/DOS ? Chances are, it's a bug. The C++ classes are very old and I'm working on porting the latest version. -- There is a mailing list for djgpp. To subscribe to the list, send a mail message with the words "add djgpp" or "add djgpp-announce" in the body to listserv AT sun DOT soe DOT clarkson DOT edu. Submissions to the mailing list itself should be sent to djgpp AT sun DOT soe DOT clarkson DOT edu. If you have problems with this list, send mail to djgpp-request AT sun DOT soe DOT clarkson DOT edu. For information about using the listserv, send mail to listserv AT sun DOT soe DOT clarkson DOT edu with the word "help" as the body of the message.