Last update Wed Feb 28 11:26:53 2018

C and C++ News Digest

11/14/03 GLPK (GNU Linear Programming Kit) for DMC:

The GLPK (GNU Linear Programming Kit) has been ported to DMC. It is "intended for solving large-scale linear programming (LP), mixed integer linear programming (MIP), and other related problems. It is a set of routines written in ANSI C and organized in the form of a callable library."

See GLPK web page at http://www.gnu.org/software/glpk/glpk.html.

11/5/03 Matthew Wilson writes:

recls (http://recls.org) is a platform-independent recursive search library, written in C/C++, with a C interface. It includes mappings to C++ (wrapper classes), C++ (STL), COM (IEnumXXXX), COM (Automation Collections), C#, D, Java, Managed C++, Perl, Python and Ruby. It is the first exemplar for Matthew Wilson's "Positive Integration" column in C/C++ User's Journal, and also features in the D standard library from version 0.75 onwards.

Nov 2003 issue of C/C++ User's Journal:

Randy Meyers and Thomas Plum in the article "Low-Level I/O For Embedded Systems" write about using the Digital Mars C compiler to access device registers.

10/21/03 Christof Meerwald writes:

On Mon, 20 Oct 2003 22:40:07 +0200, Ingvaldur Sigurjonsson wrote:
> c) provide an alternative linker (see modified 'wlink' (OpenWatcom
> linker) at Meerwald's site http://cmeerw.org/prog/dm/)

My modified version of the Open Watcom linker (which can directly use Microsoft's COFF libraries) should be fully useable with DMC++. I have just updated the web page at http://cmeerw.org/prog/owtools/ (and uploaded new exe-files).

The only thing left to do is to better integrate it into DMC++ (maybe parse the sc.ini file and provide a modified dmc.exe/sc.exe that can also invoke wlink instead of DMC's optlink).

9/28/03 nyra writes:

This is zlib-1.1.4 's makefile for dmc 3.36. To install, just unzip it to zlib-1.1.4's folder and run:
smake -f dm.mak
You'll get dynamic lib(dll) 'zlib.dll' and import lib 'zlib.lib' also with static lib 'z.lib'. I know it's simple to compile zlib with dmc, but more easier more effective!

9/23/03 chris elliott writes:

Wxwindows 2.4.2 stable release is now on-line at http://biolpc22.york.ac.uk/pub/2.4.2/

(see also http://www.wxwindows.org/)

This has full support for compiling with d-mars compiler version 8.34 and later

known bug: reading jpegs doesn't work (code compiles, but does not link)

Feel free to report more bugs here, or on the wx-dev mailing list

9/19/03 Hugo Etchegoyen writes:

Thanks for making the excellent Digital Mars C compiler and tools freely available.

I have been involved in multitasking on DOS for quite a few years, both professionally and as a teacher, since I work with embedded systems and I teach Operating Systems in one of Buenos Aires universities. I once wrote a preemptive multitasker for real-mode DOS on Borland, mainly for teaching. As some of my professional embedded applications are getting too fat for the 640K memory limit, I recently started to consider porting the multitasker to protected mode. I tried DJGPP and DM, and after some pains to implement preemptions, I finally succeeded with DM.

This was my first experience with DM, and I must say it was delightful. The compiler is fast and produces tight code, and the in-line assembler is by far the best I've ever met in any compiler. Together with the __declspec(naked) feature, it makes writing .asm files totally unnecesary.

As a retribution to the DM community, I would like to place the multitasker in the public domain. Please find attached the makefiles, sources and documentation for the kernel and some test programs. You may publish them without any restrictions, mentioning their source. Of course I would like to get back any comments, suggestions, bug reports and improvements.