X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Date: Tue, 21 Nov 2006 12:49:33 +0000 From: Mark Carter User-Agent: Thunderbird 1.5.0.8 (Windows/20061025) MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Subject: make djgpp predefined variables, and some sundry questions Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Lines: 16 Message-ID: <4562f5df$0$49206$14726298@news.sunsite.dk> Organization: SunSITE.dk - Supporting Open source NNTP-Posting-Host: 195.11.82.139 X-Trace: news.sunsite.dk DXC=RcOabOhU2eeE`KPf6Y4mAkYSB=nbEKnkkoCW_eh^cDdkjL[>INFcKQfYgV8WBR]I\lNnCfUiZIN[m\4We8a3OZHmaVVEVHDK[dih11SnEG?S:l X-Complaints-To: staff AT sunsite DOT dk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com It's been some time since I've done any C programming (I have VC++ 4.0!), and I'd thought I'd dip my toe back in again. Deciding which compiler to use can be difficult, as they all have their frustrations. I decided to give DJGPP another go, and I have a fairly old version. I wanted to do try curses programming - and noticed a recent version compiled for DJGPP which does the trick. Great. It's no longer a pressing issue, but a question worth asking anyway: what DJGPP-relevant variables are predefined by make? I'm asking this so that I can detect the compiler being used. Also, a bit lazy, I know, but are there any libraries available for processing files one line at a time, and is there a date/time library for calculating the day of the week, and other such useful calendar functions?