delorie.com/archives/browse.cgi | search |
From: | "galasso" <galasso AT home DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | gcc hello.c -o hello.exe 55 seconds to compile and link |
Lines: | 58 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Newsreader: | Microsoft Outlook Express 5.00.2615.200 |
X-MimeOLE: | Produced By Microsoft MimeOLE V5.00.2615.200 |
Message-ID: | <CgXk7.80838$K6.32243526@news2> |
Date: | Tue, 04 Sep 2001 02:46:58 GMT |
NNTP-Posting-Host: | 24.2.75.73 |
X-Complaints-To: | abuse AT home DOT net |
X-Trace: | news2 999571618 24.2.75.73 (Mon, 03 Sep 2001 19:46:58 PDT) |
NNTP-Posting-Date: | Mon, 03 Sep 2001 19:46:58 PDT |
Organization: | Excite AT Home - The Leader in Broadband http://home.com/faster |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
I am running a Pentium III with 128 megs of memory. I ran go32-v2 and it reports : DPMI memory available 129471kb DPMI swap space 0kb my config.sys file has the following entries: devicehigh=c:\dos\emm386.exe noems novcpi dos umb.high devicehigh=c:\dos\ansy.sys devicehigh=c:\aoatapi.sys /d:mscd000 loadhigh c:\dos\smartdrv.exe c+ d+ f+ 8192 buffers=15,0 files=40 lastdrive=z fcbs=40,0 autoexec.bat contains set path=c:\djgpp\bin; c:\dos set djgpp=c:\djgpp\djgpp.env It took gcc hello.c -o hello.exe 55 seconds to compile and link. This was a one line program. What am I missing ? (or is this normal ) Should I install himem and set up a ram disk for work files for gcc ? (how) Some General questions about DPMI server: I have been writng embedded applications under turbo c under dos where I handle the hardware interrupts from the keyboard, mouse serial ports and timer. One application that I would like to port has the following interrupts occuring continuously, I programmed the timer to interrupt 42,613 times per second. (in the isr I do direct i/o to the parrallel port) I am using wattcp to exchange tcp/ip packets with an I/O controller 100 times/second. I get 100 interrups/second from the dma engine that handles the AC97 link. serial data is being streamed out to a com port at 125kb. All of the above interuppts are being handled by my app. Am I barking up the wrong tree trying to port to DJGPP ? What is the difference between CWSDPR0 and CWSDPMI ? Thank you in advance for your response. Daniel Galasso.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |